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 2.62 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
[PACKAGE]: ../../raw/master/mkp/huawei_entity_optical-0.0.4-20230603.mkp "huawei_entity_optical-0.0.4-20230603.mkp"
thl-cmk's avatar
thl-cmk committed
# Huawei optical modules
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
This check will monitor the *Temperature*, *Voltage*, *Electrical current* and *Optical signal power*  of optical modules (SFP).
thl-cmk's avatar
thl-cmk committed

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

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

**Note**: before you update to a newer version, always check the [CHANGELOG](CHANGELOG). There might be incompatible changes.
thl-cmk's avatar
thl-cmk committed

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 PACKAGENAME-VERSION.mkp
```
or beginning with CMK2.2.x
```
mkp add PACKAGENAME-VERSION.mkp
mkp enable PACKAGENAME VERSION
```
In the non RAW editions of CheckMK you can use the GUI to install the package (_Setup_ -> _Extension Packages_ -> _Upload package_)
thl-cmk's avatar
thl-cmk committed

---
### Want to contribute?

Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing")

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

* *service*: this check creates the service *Temperature* for each SFP with the interface name as the item
* *state*: **critical**/**warning** if outside the limits
* *wato*: upper and lower limits
* *perfdata*: 
    * Temperature in °C

thl-cmk's avatar
thl-cmk committed
![sample output](img/sample_temperature.png?raw=true "sample [SHORT TITLE]")
thl-cmk's avatar
thl-cmk committed

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

* *service*: this check creates the service *Current* for each SFP with the interface name as the item
thl-cmk's avatar
thl-cmk committed
* *state*: **critical**/**warning** if outside the limits
thl-cmk's avatar
thl-cmk committed
* *wato*: upper and lower limits
thl-cmk's avatar
thl-cmk committed
* *perfdata*:
    * Electrical current in Ampere

thl-cmk's avatar
thl-cmk committed
![sample output](img/sample_current.png?raw=true "sample [SHORT TITLE]")
thl-cmk's avatar
thl-cmk committed

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

* *service*: this check creates the service *DOM* for each SFP with the interface name as the item
* *state*: **critical**/**warning** if outside the limits
thl-cmk's avatar
thl-cmk committed
* *wato*: lower and upper levels for RX/TX signal power and levels for deviation.
thl-cmk's avatar
thl-cmk committed
* *perfdata*:
    * RX and TX signal power in dBm
thl-cmk's avatar
thl-cmk committed
    * RX and TX signal power deviation in dBm
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
Deviation extension is based on [CheckMK PR #211](https://github.com/tribe29/checkmk/pull/211) *Add deviation power to cisco_temperature.dom* by [*agabellini*](https://github.com/agabellini)
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
![sample output](img/sample_dom.png?raw=true "sample")
thl-cmk's avatar
thl-cmk committed

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

* *service*:  this check creates the service *Voltage* for each SFP with the interface name as the item
* *state*: **critical**/**warning** if outside the limits
* *wato*: upper and lower limits
* *perfdata*:
    * Voltage in Volt

thl-cmk's avatar
thl-cmk committed
![sample output](img/sample_voltage.png?raw=true "sample")