Is there a way how to set up a time limit for a notification state trigger bigger than 99,999s ? I need to set a notification When sensor is down for at least 10 and more days. Thank you
Article Comments
Hi Jiri,
This is possible using the API
/api/table.xml?content=sensors&output=xml&columns=downtimesince&id=xxxx
Will give you information on how long the sensor with id xxxx is down.
<?xml version="1.0" encoding="UTF-8"?> <sensors> <prtg-version>12.4.7.3475</prtg-version> <item> <downtimesince>4 d 5 h 59 m</downtimesince> <downtimesince_raw>000000000367160</downtimesince_raw> </item> </sensors>
Using a Custom Sensor, you can return the number of days the given sensor is down and set a notification on that value.
Regards,
Dec, 2012 - Permalink
I'm afraid that isn't possible. The limit is hard-coded and there are no current plans to change the same. Sorry.
Dec, 2012 - Permalink