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
| Key | Name | Unit | Default limits |
|---|---|---|---|
uptime_s | Uptime | s | none |
restarted | Restarted since the previous poll | none | warning 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
| Parameter | Default | Meaning |
|---|---|---|
port | 161 | UDP 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
| Message | Meaning |
|---|---|
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 credential | As for snmp_interface. |