What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Monitoring file presence but changing directory path every hour.

Votes:

0

Hello,

I've looked for an answer to this but seems like I can only find cases to monitor for (lack of) presence of a file in a folder on a system. We have a Hadoop File System that has a new directory generated every hour and we need to detect if that directory doesn't get created on time.

What would be a good way to set up an alert that changes the monitored path each hour (or any other time interval)?

file hadoop hdfs

Created on Aug 24, 2021 3:05:34 AM



2 Replies

Votes:

0

Hello there,

Thanks for your post.

You are correct, our file content sensor monitors a specific file path.

If you have a dynamic folder, as a workaround, you need to create a sensor to monitor a specific file. In addition to that, you need to create a script to copy the file from the dynamic folders to replace that specific file.


With kind regards,
Chan Siau Hen
Technical Support Team, Paessler AG.

Created on Aug 24, 2021 4:19:03 AM by  Chan Siau Hen [Paessler Technical Support]



Votes:

0

Thank you for the quick reply! I figured we would need to work around this somehow.

Created on Aug 24, 2021 4:10:52 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.