I want to monitor our PRTG installation to confirm that it is up and running (monitor the monitoring server :). Ideally I'd like to use Pingdom to do this. What's the best way to run a health check against PRTG to confirm it's up and running properly?


Article Comments

Dear Max Clark

You can use a freeware version of PRTG to monitor the productive PRTG. For a simple check, ping the productive PRTG server. For an actual health check, please use the API to request the current status of the server health sensor, and the probe health sensor.

There are several options to get sensor data. To get a full list of channels and current data, use

/api/table.xml?id=<ID>&content=channels&columns=objid,name,lastvalue&count=*

Replace <ID> with 1001 for system health, 1002 for core health and 1003 for probe health.

Another option is to use the call

/api/getsensordetails.xml?id=<ID>

To find out how a complete API call looks like, please open the PRTG webinterface, menu Setup / PRTG API, tab "HTTP API".

You can use a custom script to either evaluate the output, or the HTTP XML/REST sensor to just check if there is any response at all.


Feb, 2015 - Permalink

Thanks!


Feb, 2015 - Permalink