Is it possible to automatically pause a "down" sensor?
Automatically pause a down sensor
Votes:
0
Best Answer
Votes:
4
Dear Gerard,
this should actually be possible using a work-around with two notifications:
- The first notification with a 'default' latency of for example 60s would be the 'normal' notification (email for instance).
- The second notification should have a larger latency and would be a HTTP-Action notification towards PRTG itself, to pause the sensor using PRTGs API (using the new placeholder %sensorid you should be able to insert the ID automatically):
Pause a sensor or object indefinitely:
/api/pause.htm?id=%sensorid&action=0
Best Regards.
Created on Mar 22, 2010 3:18:04 PM by
Torsten Lindner [Paessler Support]
Last change on Jun 30, 2010 3:06:17 PM by
Daniel Zobel [Product Manager]
6 Replies
Votes:
-2
no, that is not possible. You could pause the sensor by dependency, meaning that the sensor would get paused if another sensor goes into an error state.
If a sensor would get paused (not being monitored any more) once it goes into an error state, how should the software notice when it is up and running again.
Votes:
0
The idea was that the sensor should send it's notification and then go into a paused state. This would prevent a particular jittering sensor to send notifications every xx minutes.
After the problem is solved, the sensor should then be manually resumed.
Votes:
4
Dear Gerard,
this should actually be possible using a work-around with two notifications:
- The first notification with a 'default' latency of for example 60s would be the 'normal' notification (email for instance).
- The second notification should have a larger latency and would be a HTTP-Action notification towards PRTG itself, to pause the sensor using PRTGs API (using the new placeholder %sensorid you should be able to insert the ID automatically):
Pause a sensor or object indefinitely:
/api/pause.htm?id=%sensorid&action=0
Best Regards.
Created on Mar 22, 2010 3:18:04 PM by
Torsten Lindner [Paessler Support]
Last change on Jun 30, 2010 3:06:17 PM by
Daniel Zobel [Product Manager]
Votes:
0
Votes:
0
What would be the value to Pause a sensor indefinitely in this case. I am simply using insanely long duration to accomplish this. For example duration=1008000. Could you please give an example to pause the sensor indefinitely.
Votes:
0
To pause a sensor, please use
/api/pause.htm?id=objectid&pausemsg=yourmessage&action=0
To resume the sensor with an API call, please use
/api/pause.htm?id=objectid&pausemsg=yourmessage&action=1
Add comment