Skip to content

SNMP uptime (snmp_uptime) ​

Reads how long the device has been running. It prefers the host's own uptime (hrSystemUptime), then the SNMP engine time (snmpEngineTime), then sysUpTime, which only counts since the agent started. A smaller value than at the previous poll, from the same source, means the device restarted.

Channels ​

KeyNameUnitDefault limits
uptime_sUptimesnone
restartedRestarted since the previous pollnonewarning above 0; value map 0 "No" (healthy), 1 "Yes" (Warning)

A restart gives a Warning, not an incident: it shows in the tree and the timeline and does not page unless a notification rule opts in to warnings.

Parameters ​

ParameterDefaultMeaning
port161UDP port of the SNMP agent.

Suggested interval: 300 seconds. Credential: SNMP. A restart is only detected between two readings from the same source, because the sources do not agree with each other.

On the target ​

SNMP with a read-only community or v3 user that can read at least sysUpTime.

Failures ​

MessageMeaning
the device returned none of hrSystemUptime, snmpEngineTime or sysUpTime (kind protocol)The device answers SNMP but offers no uptime object the sensor knows.
no SNMP answer, SNMPv3 authentication failed, missing credentialAs for snmp_interface.

AGPL-3.0-only