Hello , is it possible to monitor a folder on a windows server (eg C:\temp) and to action a job (sent alert ; run batch file) when certain conditions are met (specific file arrives or folder gets to X meg size)?
Article Comments
Thanks , ive got it working.
In terms of an alert from the sensor , is it possible for the alert to tell you the name of the file that has been created in the folder?
The alert is working when a new file is added but it doesn't give the name of the file in the email alert?
Jun, 2014 - Permalink
Hello
This is not possible with PRTG. If you look for a specific file, you can use the PRTG file sensor. If you don't know the file name in advance, the only way is to write your own script which looks for new files and use that script with the Exe/Script sensor.
Jun, 2014 - Permalink
Hello
This is possible. You can use the Folder Sensor https://www.paessler.com/manuals/prtg/folder_sensor.htm and open the configuration of the according channel to set a limit and trigger a notification. See also the Paessler website: How to set up notifications via the PRTG web interface.
A notification can be configured to run a program or script.
Jun, 2014 - Permalink