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.71 KiB
Newer Older
thl-cmk's avatar
thl-cmk committed
# Cisco BGP Peers [(Download the MKP package)](/../../../-/raw/master/cisco_bgp_peer.mkp "Download MKP package")
thl-cmk's avatar
thl-cmk committed

thl-cmk's avatar
thl-cmk committed
**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 Cisco BGP peers
thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed
**Incompatible changes form the last version (for CMK 1.6.x)**
- **minuptime: changed from warn to warn/crit**
- **check output: remove details changed to add details**
thl-cmk's avatar
thl-cmk committed
- **perfdata: names changed**
thl-cmk's avatar
thl-cmk committed
---
thl-cmk's avatar
thl-cmk committed
Check Info:

* *service*: this check creates one service for each peer/address family  (IPv4 and IPv6)
thl-cmk's avatar
thl-cmk committed
* *state*: \
    **critical**: if Peer state is idle or if acceptedprefixed >= prefixadminlimit\
thl-cmk's avatar
thl-cmk committed
    **warning**: if Peer state is not idle or not established, if acceptedprefixed >= warnthreshold, if Admin state is not admin start\
    **critical**/**warning**: if Peer uptime below the configured levels (see WATO)\
    **critical**: if Peer not found in SNMP data (configurable via WATO)
thl-cmk's avatar
thl-cmk committed
* *wato*: 
thl-cmk's avatar
thl-cmk committed
    * **min uptime**: minimum time levels before a bgp peer connection is consinderd as stable, default 7200/3600 (warn/crit) seconds
thl-cmk's avatar
thl-cmk committed
    * **Local AS**: use AS as local AS, if SNMP *cbgpPeer2LocalAs* is not valid
    * **HTML output**: enable HTML Output for long output of check plugin (multiline)
    * **Infotext values**: select which information is shown in the check output
thl-cmk's avatar
thl-cmk committed
    + **prefix limit/warnthreshold not set**: set monitoring state if prefix limit/warnthreshold is not configured on the device
    * **peer not found**: set default monitoring state if the peer is not found in the SNMP data
thl-cmk's avatar
thl-cmk committed
    * Values per BGP Peer
        * **BGP Peer item name**: The configured value must match a BGP peer reported by the monitored device. For example: "10.194.115.98 IPv4 Unicast"
        * **BGP Peer Alias**: You can configure an individual alias here for the BGP peer matching the text configured in the "BGP Peer item name" field. This alias will be shown in the infotext
        * **Monitoring State**: You can configure an individual state if the BGP peer matching the text configured in the "BGP Peer item name" field is not found (default is critical).
* *perfdata (if avilable)*: 
thl-cmk's avatar
thl-cmk committed
    * Prefixes accepted (count)
    * Prefixes advertised (/s)
thl-cmk's avatar
thl-cmk committed
    * Prefixes denied (/s)
thl-cmk's avatar
thl-cmk committed
    * Prefixes suppressed (/s)
thl-cmk's avatar
thl-cmk committed
    * Prefixes withdrawn (/s)
thl-cmk's avatar
thl-cmk committed
    * Updates received (/s)
    * Updates send (/s)
thl-cmk's avatar
thl-cmk committed
    * Total messages received (/s)
thl-cmk's avatar
thl-cmk committed
    * Total messages send (/s)
    * FMS transitions (count)
    * FMS last change (s)
    * Last update received (s)
thl-cmk's avatar
thl-cmk committed
---
#### 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]")

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

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