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.21 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
**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**
- **perfdate: names changed**


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)
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
    * **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
    * **MonitoringState**: 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).
thl-cmk's avatar
thl-cmk committed
* *perfdata*: 
    * Prefixes accepted (count)
    * Prefixes denied (/s)
    * Prefixes advertised (/s)
    * Prefixes withdrawn (/s)
    * Prefixes suppressed (/s)
    * Updates received (/s)
    * Updates send (/s)
    * Total messages send (/s)
    * FMS transitions (count)
    * FMS last change (s)
    * Last update received (s)

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]")