“I don’t think anything should use snmpEngineTime for
uptime reporting. Restarting the SNMP service on a device would then
leave you with an uptime that’s much shorter than the system’s actual
uptime.”
Quoted from UBNT forums regarding an issue I’ve opened linked to bad uptime display on librenms for their equipments.
The displayed uptime error in our code is based on the fact that there is a difference between sysUpTime and snmpEngineTime, and choose to use the later.
should we remove the usage of snmpEngineTime from device uptime display?
What we have is different again now so it’s changed along the way. Basically snmpEngineTime is the fallback because it can cope with uptimes over 4xx days where as sysUpTime can’t afaik.