I would like to graph the uptime for some of my devices.
Problem is, the oid for uptime (1.3.6.1.2.1.1.3.0) returns ‘timeticks’, which get interpreted as for example ‘5d 23:27:20.14’. Creating the probe as defined below works, but actually only graph the uptime in days. This is not detailed enough, a devices that reboots several times a day would always graph at ‘0’.
Is there a way to tell the Dude to actually graph the timeticks instead of the ‘interpreted’ days-minutes-hours-etc.'?
Function that graphs the days (should graph timeticks):
Type: Function
Available: if(oid(“1.3.6.1.2.1.1.3.0”)>0, 1, -1)
Error: “”
Value: oid(“1.3.6.1.2.1.1.3.0”)
Unit: uptime
Rate: none
If all works, for devices that restart/boot often this should lead to a kind of ‘saw-tooth’ graph that easily shows when the devices rebooted, how often this occurs, etc.