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.73 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
# Huawei optical modules
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
Monitors the status of optical modules. This check will monitor the *Temperature*, *Voltage* and *optical signal power*
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
**NOTE**: This check requires the *huawei_switch* check package from CMK1.6.x FP2 to be installed.\
thl-cmk's avatar
thl-cmk committed
You also need to change the scan function in *huawei_switch.include* from
thl-cmk's avatar
thl-cmk committed

```
def huawei_switch_scan_function(oid):
thl-cmk's avatar
thl-cmk committed
    return ".1.3.6.1.4.1.2011.2.23" in oid(".1.3.6.1.2.1.1.2.0")
```

to

```
def huawei_switch_scan_function(oid):
    return ".1.3.6.1.4.1.2011" in oid(".1.3.6.1.2.1.1.2.0")
thl-cmk's avatar
thl-cmk committed
```


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


thl-cmk's avatar
thl-cmk committed
## Check Info *huawei_entity_optical*
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


Sample output

thl-cmk's avatar
thl-cmk committed
![sample output](/doc/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.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


Sample output

thl-cmk's avatar
thl-cmk committed
![sample output](/doc/sample_dom.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.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


Sample output

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