We're currently moving to PRTG from Zabbix and we're setting up and testing disk psace notifications.

We would like to have the size of the disk in question along with how much space is being used, however, I can't find any placeholder that gives this information. Am I right in thinking the placeholders are generalised to work with the variety of sensors available and so there is no way to have specific information about sensors in notifications?

Thanks


Article Comments

Dear SkeedR

Please use the comment field of the sensor to enter specific information. The according placeholder is %commentssensor


Jan, 2015 - Permalink

Is there a way for PRTG to automatically populate the comment field with this data?


Jan, 2015 - Permalink

Dear SkeedR

It is not officially supported. However, it is possible to set a comment using an API call. The core part of that API call is:

/api/setobjectproperty.htm?id=2123&name=comments&value=Test+A+B+C

The id 2123 is just an example. Please use the sensor ID of your sensor.

The + results in a space.

To execute this call, you must put your PRTG server address in front of it, and also provide user credentials to authorize this call. Please read the documentation integrated in the PRTG webinterface, menu Setup / PRTG API, tab "HTTP API" to learn more about how to use the API.


Jan, 2015 - Permalink