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.34 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
# OSPF neighbors [(Download the MKP package)](/../../../-/raw/master/ospf_neighbor.mkp "Download MKP package")

 **Note: this package is for CheckMK version 2.x. For other versions see the corresponding branch.**
thl-cmk's avatar
thl-cmk committed

Monitors status of OSPF neighbors.

thl-cmk's avatar
thl-cmk committed
**NOTE**: This check is originaly from Thomas Wollner (tw[at]wollner-net[dot]de).
thl-cmk's avatar
thl-cmk committed

I changed *item* from neighbor **ID** to neighbor **IP**, added events as perfdata (incl. metrics file),\
thl-cmk's avatar
thl-cmk committed
moved part of the output to long output and done a little code cleanup to better match coding guide lines.\
Added WATO for Alias name, map check states to OSPF Neighbor state, state if neighbour not found in SNMP data.
thl-cmk's avatar
thl-cmk committed

Check Info:

thl-cmk's avatar
thl-cmk committed
* *service*: ithe check creates one service for each OSPF neighbor with the neighbor IP as item
thl-cmk's avatar
thl-cmk committed
* *state*: 
    * **critical** if the neighbor state is *down*
    * **warning** if the neighbor is not in *full* or *2-way* state
    * **unknown** if the agent output is invalid
thl-cmk's avatar
thl-cmk committed
* *wato*: 
thl-cmk's avatar
thl-cmk committed
    * configure monitoring state for the different OSPF neighbor states, 
thl-cmk's avatar
thl-cmk committed
    * configure a alias for each OSPF neighbor
thl-cmk's avatar
thl-cmk committed
    * configure the monitoring state if the OSPF neighbor is not found in the SNMP data (default is UNKNOWN)
thl-cmk's avatar
thl-cmk committed
* *perfdata*: OSPF neighbor events (count)

Sample output

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

WATO options
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
![WATO options](/doc/wato.png?raw=true "WATO options")