Newer
Older
[PACKAGE]: ../../raw/master/mkp/ospf_neighbor-1.4.1-20230422.mkp "ospf_neighbor-1.4.1-20230422.mkp"
This check is based on [OSPF Neighbor State Check](https://exchange.checkmk.com/p/ospf-neighbor) by Thomas Wollner (tw[at]wollner-net[dot]de).
I changed the *item* from neighbor **ID** to neighbor **IP**, added events as perfdata (incl. metrics file),\
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.
* *service*: ithe check creates one service for each OSPF neighbor with the neighbor IP as item
* *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
* default monitoring state if neighbor not found in SNMP data
* configure monitoring state for the different OSPF neighbor states
* configure the monitoring state if the OSPF neighbor is not found in the SNMP data
* *perfdata*:
* OSPF neighbor events (count)
* Retransmission queue length (count)
**Note**: before you update to a newer version, always check the [CHANGELOG](CHANGELOG). There might be incompatible changes.
---
### Installation
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_)
Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing")
---