What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Manual: EXE/Script Sensor

Votes:

0

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

exe-script robocopy script sensor

Created on Mar 10, 2016 8:20:23 PM



2 Replies

Votes:

0

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

Created on Mar 11, 2016 12:05:02 PM



Votes:

0

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.

Created on Mar 14, 2016 11:34:07 AM by  Erhard Mikulik [Paessler Support]

Last change on Mar 15, 2016 9:25:15 AM by  Erhard Mikulik [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.