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

How can I pause a sensor from a batch file or script

Votes:

0

I'd like to pause a sensor from the client before a server is rebooted for maintenance without having to log into the console.

Is this possible?

batch pause prtg

Created on Feb 22, 2015 4:24:50 PM



1 Reply

Accepted Answer

Votes:

0

Hi,

You can use the API of PRTG to pause sensors and devices:

http(s)://PRTG-IP-Address/api/pauseobjectfor.htm?id=objectid&pausemsg=yourmessage&duration=x 

Simply replace the ID and enter a duration for the pause and the object will be paused.

Best Regards

Created on Feb 23, 2015 10:25:48 AM by  Felix Saure [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.