Hi All ! I am new here and my english is not very well. I have one Windows Server 2012, I run script backup (robocopy) every day. Can I use thist sensor "EXE/Script Sensor" for run and monitoring the results?

Thanks Luiz


Article Comments

I tried:

Copy C:\Program Files (x86)\PRTG Network Monitor\Sensor System\LogfileReader.exe to the C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE directory. Create a new EXE/Script sensor using the LogfileReader.exe. Set the parameters like this: -f="C:\logs\robocopy*.log" -s="asn1telinitialisatiebevestiging" -id=%sensorid -t Make sure the path to the logfile is correct and save the sensor Click the small gear in the value channel, enable limites, and set them like this:

Upper warning limit: 0 Upper error limit: 1


Mar, 2016 - Permalink

What you tried is from this thread I guess. How is that working for you? What it basically does is analyzing Robocopy's logfile, which is what I also would recommend and leave the execution of the backup task to be done by the host itself, instead of triggering the backup through the sensor. The reason for this is you want a sensor to perform an action that will come up with an "immediate result". Executing a backup job may take some time, so it's better to have it run by the host and let the sensor only take a look at the results from that job.

Kind regards.


Mar, 2016 - Permalink