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

IS there a way to segregate all the 5 star and 4 star logs in PRTG and download them

Votes:

0

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

logs prtg search

Created on Sep 21, 2015 8:44:50 PM



1 Reply

Accepted Answer

Votes:

0

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

Created on Sep 22, 2015 9:10:40 AM by  Luciano Lingnau [Paessler]




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.