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.97 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. 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 :-)
thl-cmk's avatar
thl-cmk committed

```
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
thl-cmk's avatar
thl-cmk committed
                 reverts to zero. This is a 32 bit integer counter (0..2147483647).
thl-cmk's avatar
thl-cmk committed
```

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_**
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
**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 expects this to calculate the _not used_ state.
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
---
### Check Info
thl-cmk's avatar
thl-cmk committed

* *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

thl-cmk's avatar
thl-cmk committed
---
### Download
thl-cmk's avatar
thl-cmk committed

* [Download latest mkp file][PACKAGE]
thl-cmk's avatar
thl-cmk committed
                        
---
### Installation

thl-cmk's avatar
thl-cmk committed
You can install the package by uploading it to your CheckMK site and as site user run 
```
mkp install snmp_uptime-0.0.1-20230805.mkp
```
or beginning with CMK2.2.x
```
mkp add snmp_uptime-0.0.1-20230805.mkp
mkp enable snmp_uptime 0.0.1-20230805
```
thl-cmk's avatar
thl-cmk committed

In the Enterprise/Free edition of CheckMK you can use the GUI to install the package (_Setup_ -> _Extension Packages_ -> _Upload package_)

---
### Want to Contribute?
Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing")

---

thl-cmk's avatar
thl-cmk committed
Sample output

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