hi!
I need to find a solution for the following requirement:
We should monitor
- specific folders with the pattern: <servername>\AD\<location shortcut>\Import\
- in which daily at 01:30 am a file should be created
- with the following pattern: <location shortcut><date>.csv
- if this file isn't created till 02:30 am an email should be sent
<servername> is a FQDN and date format is: YYYYMMDD
Is this possible with PRTG and can someone help me with this challenge - as I'm not so skilled yet?
Thanks in advance!
Schitti
Article Comments
Hi Schitti,
While it is possible to configure a sensor to scan at certain points in time, I currently don't see how to fulfill all the requirements with the "standard" sensors. I mean you can sure use a Folder sensor for example to look for a specific file. It can be set to error when it does not find the file, but it cannot further make decisions like the file is not there at 01:30, that may be ok, but when it's not there an hour later, then it's an error.
The only way to handle this might be using a custom script that handles all the checks, comparisons etc. and in the end only passes along a result to an EXE/Script Sensor that runs the script, which then will reflect that all is fine or there is an error.
Kind regards,
Erhard
Aug, 2017 - Permalink
Hi Schitti,
While it is possible to configure a sensor to scan at certain points in time, I currently don't see how to fulfill all the requirements with the "standard" sensors. I mean you can sure use a Folder sensor for example to look for a specific file. It can be set to error when it does not find the file, but it cannot further make decisions like the file is not there at 01:30, that may be ok, but when it's not there an hour later, then it's an error.
The only way to handle this might be using a custom script that handles all the checks, comparisons etc. and in the end only passes along a result to an EXE/Script Sensor that runs the script, which then will reflect that all is fine or there is an error.
Kind regards,
Erhard
Aug, 2017 - Permalink