There is now a folder monitored. Sometimes a file will appear in this folder, this file causes problems. Can PRTG automatically delete this file as it appears in this folder?


Article Comments

Dear Joost

This is possible; though not in real time as the sensor interval is 60 seconds by default and should not be too narrow.

You can use a file sensor https://www.paessler.com/manuals/prtg/file_sensor.htm to detect if the file is there, and attach a notification which runs a program. That program could be a script written by you, deleting that file.


Sep, 2014 - Permalink

Hello Arne,

Thank you for the quick reaction. I have add the file sensor, do I must save the batch file in the Notifications/exe folder on my PRTG server? Or can I save the batch file on the server where the thumbs.db file will appear?


Sep, 2014 - Permalink

Dear Joost

The file must be in the Notifications\EXE subfolder. Of course, a file located there could start another script which is placed somewhere else (as long as the security context has the proper rights to access it.)


Sep, 2014 - Permalink

I have placed the file in de EXE folder. Now I must wait. Thank you for your help!


Sep, 2014 - Permalink