Hi, i've a PRTG console licensed, and with many probes installed. Now, what I'm looking for, is a solution for monitoring and reporting sensor number during probe life; I'm not interested on a mail notification if sensor number exceeds N sensors, but just a graph that show me that.

It's possible to do that, or I have to use API to do that?

Thank you!


Article Comments

Hi there,

That would be possible. Please follow these steps to achieve this:

  • Add a new device with the Connection Address set to the IP/DNS-Name of the Core Server
  • Add a new REST Custom Sensor to this device
  • Use the following URL and replace "<PROBEID>", "<USERNAME>" and "<PASSHASH>"
/api/table.json?content=sensorxref&noraw=1&filter_basetype=probe&columns=totalsens=textraw,upsens=textraw,downsens=textraw,partialdownsens=textraw,warnsens=textraw,pausedsens=textraw,unusualsens=textraw,undefinedsens=textraw,downacksens=textraw&username=<USERNAME>&passhash=<PASSHASH>&id=<PROBEID>
  • Select under "REST Configuration" the "prtg-sensor-stats.template"-Template

The "<PROBEID>" is the ID of the probe. This can be retrieved from the URL when the Probe-Group of a remote probe is opened. Example URL:

https://my-supercool-prtg/probenode.htm?id=12345&tabid=1

The Probe-ID here would be "123456".
The "<USERNAME>" and "<PASSHASH>" can be retrieved from a user or your own user under "Setup > Account Settings > My Account". There you find the username and with a click on "Show Passhash" you reveal the passhash.

Best regards.


Nov, 2018 - Permalink

Hi, thank you very much, is working. Just a information, how I can fix sensor description name? if I go inside sensor to have access to graphs, I see a list of sensor statistic with name similar to this one:

$["sensorxref"]["0"]["downacksens"]

There is a fix to show normally?

thank you


Nov, 2018 - Permalink

Hi there,

The channels should already have proper names. What version of PRTG are you using? Could you check the "prtg-sensor-stats.template"-file on the Core Server under "C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\rest\" to see if there is a ""channel": "Down (Acknowledged)"," in it?

Best regards.


Nov, 2018 - Permalink

Sorry, my mistake, I've check and during sensor installation I had not selected "prtg-sensor-stats.template". I've just deleted and configured again a sensor and now all its working

thank you very much

have a nice day


Nov, 2018 - Permalink