Hi all,

is there an easy way to have the max sensor errors count per day?


Article Comments

Dear AndreaM,

errors per day cannot be easily counted, I am sorry. PRTG rather counts the downtime of each single sensor and shows it as percentage.

You could try to use the logs table with status changes to error: Logs / Status Changes / Down, then use the Filter options to limit the table to a particular date and then count the entries.


Aug, 2018 - Permalink

How I can achieve this? Is there a particular sensor to scan the logs table and filter it?


Aug, 2018 - Permalink

Dear AndreaM,

such sensor does not exist, or at least is not part of PRTG's build-in sensors. You could do this:

  • Open the logs table in the web interface
  • Check the URL
  • Use / adapt the URL for further use

In order to make counting easier, you can employ the PRTG API via /api/tables.xml or /api/table.csv. An example ULR could look like

http://127.0.0.1/api/table.xml?content=messages&filter_status=620&filter_status=608&columns=datetime,parent,type,name,status,message&count=*&filter_drel=yesterday

Aug, 2018 - Permalink

I created an XML sensor that count all the <item> tags in the XML returned by the URL suggested, I hope it can work!


Aug, 2018 - Permalink