We are trying to check the frequecy of critical and high alerts, hence we require the logs to check. Is there a way to pull only the critical and high alert logs of all the sensors that were up and down for 1 month in PRTG? Please advice
IS there a way to segregate all the 5 star and 4 star logs in PRTG and download them
Modified on 2025-06-10 22:51:39 +0200
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.
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.
Hello,
we appreciate your inquiry.
Unfortunately it is not possible to filter the Sensor's log by priority in the Log-entry list.
Over the API, there's a parameter called filter_priority (I.E.: ...&filter_priority=5) but that setting can't be used in content=messages API Calls.
The only alternative would be (over the API) to query the list of sensors with a specific priority and then perform individual calls to get the messages for those individual Sensor ID's.
The Sensors API call would be
To get the list of sensors with priority 3 ( * )
http://yourprtg/api/table.xml?content=sensors&output=xml&columns=objid&filter_priority=3
The Sensor's Messages API call would be:http://yourprtg/api/table.xml?content=messages&output=xml&columns=objid,datetime,status,message&id=SENSORID
Please also note that all API calls should contain the following for authentication:
&username=prtgadmin&password=prtgadmin
or, when using the passhash instead:&username=prtgadmin&passhash=123456789123456789
Sep, 2015 - Permalink