We often encounter issues where we have to pause for an unknown amount of time sesnors due to many reasons. Like ISP outage/Customer is doing something for long periods of time. In these instances I would like to make alerting on sensors in paused status. Such as in the notification if the sensor is paused for 2 weeks + email someone for a follow up. That would be really helpfull.


Article Comments

Using the PRTG API you can get the data you are looking for.
Presenting this as an email however will require some extra programming at your end.

The API call below provides you with an overview of all paused sensors:

/api/table.xml?content=sensors&output=xml&columns=objid,probe,group,device,sensor,status,message,lastvalue&filter_status=7&filter_status=8&filter_status=9

XML node <message_raw> holds the date & time the sensor was paused

<message_raw>[[ Paused at 01-03-2019 10:05:24 by PRTG System Administrator ]]: Paused by user</message_raw>

Sensors | Multi Channel Sensors | Tools | Notifications

Kind regards,

[[http://prtgtoolsfamily.com]] PRTGToolsFamily


Mar, 2019 - Permalink

Thanks for chiming in! :)


PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Mar, 2019 - Permalink