Knowledge Base

Changing existing PRTG custom sensors from Delta to Gauge (and vice-versa)

Diese Seite steht leider noch nicht auf Deutsch zur Verfügung. Wir bitten um Ihr Verständnis!
When defining custom sensors for PRTG one is faced with the option to define the sensor either as a Delta counter (difference per period) or a Gauge counter (absolute value).

Basically, when using Delta counters, the difference between the previously scanned value and the new value is computed and the resultant is handled as the monitoring value, i.e. if the first scan returns a value of "4" and the second scan a value of "6", the actual resultant value recorded for the sensor in case would be "2". This resultant is calculated for each scanning interval.

On the other hand, when using Gauge counters the value returned by the monitored device is actually used as the monitoring value. As such if the device returns a value of "2000" this value is logged as the actual sensor value.

After defining custom sensors, it is still possible to change the sensor type from Delta to Gauge and vice-versa by editing the .PRTG configuration file. Basically, you would need to search for the entries within the mode brackets for each relevant sensor. These entries stand for the following: 
<mode>
vmDiff
</mode>

This is the mode setting for "Delta" sensors. 
<mode>
vmAbsolute
</mode>

This is the mode setting for Gauge sensors.


All you would need to do is change the entry value in order to define the alternative method used by the respective sensor and then recalculate the historic data (under "Extras -> Options -> System") in order to adjust the historic data to the new sensor mode.

By Category

PRTG Traffic Grapher V6

Related Articles