diff --git a/checkman/cisco_bgp_peer b/checkman/cisco_bgp_peer index 08ef898bcf6eb7a7979de60090d54f9719bbbc5b..678dec24e7e3ea6439aacc92018debc8a6ced32f 100644 --- a/checkman/cisco_bgp_peer +++ b/checkman/cisco_bgp_peer @@ -1,29 +1,22 @@ -title: Dummy check man page - used as template for new check manuals -agents: linux, windows, aix, solaris, hpux, vms, freebsd, snmp -catalog: see modules/catalog.py for possible values +title: Cisco BGP Peers +agents: snmp +catalog: hw/network/cisco license: GPL -distribution: check_mk +distribution: https://thl-cmk.hopto.org description: + Monitors the status of BGP peers. It has support for IPv4/IPv6, more then one + address family per BGP peer. + critical: + - if peer state is "idle" or adminstate is not "start" + warning: if peer state is not "established" or peer is not up long enough Describe here: (1) what the check actually does, (2) under which circumstances it goes warning/critical, (3) which devices are supported by the check, (4) if the check requires a separated plugin or tool or separate configuration on the target host. item: - Describe the syntax and meaning of the check's item here. Provide all - information one needs if coding a manual check with {checks +=} in {main.mk}. - Give an example. If the check uses {None} as sole item, - then leave out this section. - -examples: - # Give examples for configuration in {main.mk} here. If the check has - # configuration variable, then give example for them here. - - # set default levels to 40 and 60 percent: - foo_default_values = (40, 60) - - # another configuration variable here: - inventory_foo_filter = [ "superfoo", "superfoo2" ] + Is build from the Address family and IP address of the BGP peer. + For example "172.17.10.10 IPv4 Unicast" perfdata: Describe precisely the number and meaning of performance variables @@ -31,15 +24,5 @@ perfdata: section. inventory: - Describe how the inventory for the check works. Which items - will it find? Describe the influence of check specific - configuration parameters to the inventory. - -[parameters] -foofirst(int): describe the first parameter here (if parameters are grouped - as tuple) -fooother(string): describe another parameter here. - -[configuration] -foo_default_levels(int, int): Describe global configuration variable of - foo here. Important: also tell the user how they are preset. + Checks for "cisco" in sysDesc. If found the check creates one service for each + BGP peer and address family.