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)?
Article Comments
Thank you for the quick reply! I figured we would need to work around this somehow.
Aug, 2021 - Permalink
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.
Aug, 2021 - Permalink