Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
README.md 1.31 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
# SNMP uptime

thl-cmk's avatar
thl-cmk committed
This check is based on the snmp_uptime check form CMK 2.0. It adds the SNMP-FRAMEWORK-MIB::snmpEngineTime OID to the check. Its value is in seconds not ticks and therefore the Uptime can now be around 68 years before a rollover of the counter :-)

```
snmpEngineTime : The number of seconds since the value of the snmpEngineBoots object last changed. When
                 incrementing this object's value would cause it to exceed its maximum, snmpEngineBoots is
                 incremented as if a re-initialization had occurred, and this object's value consequently
                 reverts to zero.
```

thl-cmk's avatar
thl-cmk committed
**Note**: this is only a SNMP section that supersedes the original section "snmp_uptime". It will not touch the original check. You can control the usage of this section by disable/enable SNMP section "snmp_uptime_exetended"

**NOTE**: this plugin my have some side efects on checks that use the original section and expect the uptime not larger than 497 days. I.e the interface inventory plugin ecpects this to calculate the "not used" state.
thl-cmk's avatar
thl-cmk committed

Check Info:

* *service*: no change to the original check
* *state*: no change to the original check
* *wato*: no change to the original check
* *perfdata*: no change to the original check

Sample output

![sample output](/doc/sample.png?raw=true "sample [SHORT TITLE]")