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

Need a Method to Remotely Disable Monitoring for a Device (or alerts from sensors)

Votes:

0

We have a process that automatically clones an oracle database into one of our existing environments. During this process we need to disable all of our oracle sensors, or alternatively monitoring for the device since it is only used for the database. IS there any way to automatically disable monitoring of a device or all notiifcations from sensors, perhaps with an http post command or something like that?

auto-discovery http-post monitoring

Created on Mar 20, 2017 8:12:45 PM



1 Reply

Votes:

0

Hi there,

To pause a device, sensor or group via the API use the following call:

/api/pause.htm?id=<OBJECT-ID>&pausemsg=<YOUR_MESSAGE>&action=0&username=<USER>&passhash=<PASSHASH>

Just don't forget to change the parameters accordingly. You can get the Passhash under "Setup > System Administration > User Accounts > USER > Show Passhash".

To resume the object again, use the following call. Again, please don't forget to change the parameters accordingly:

/api/pause.htm?id=<OBJECT-ID>&action=1&username=<USER>&passhash=<PASSHASH>

You can find the API-Documentation within your PRTG-Webinterface under "/api.htm?tabid=1".

Best regards.

Created on Mar 21, 2017 1:35:29 PM by  Dariusz Gorka [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.