Commit graph

11 commits

Author SHA1 Message Date
Rico Glöckner 57f3eba575 check_junos_bgp: another typo 2013-02-28 08:34:35 +01:00
Rico Glöckner be62f38997 check_junos_bgp: adding some sanity after last commit 2013-02-28 08:21:49 +01:00
Rico Glöckner 6f07e55372 check_junos_bgp.pl: added parms for logical-router and instance 2013-02-28 08:13:13 +01:00
Sebastian Harl 18b043428c check_junos_bgp: Fixed typo. 2012-10-01 11:34:44 +02:00
Sebastian Harl deffe2eebe check_junos_bgp: Increased verbosity level for debugging message. 2012-10-01 11:32:18 +02:00
Sebastian Harl 20214655e0 check_junos_bgp: Fixed check for non-existing attributes. 2012-10-01 11:29:24 +02:00
Sebastian Harl 2912192f3d check_junos_bgp: Improved error handling when failing to retrieve attributes. 2012-10-01 10:23:28 +02:00
Sebastian Harl bc30719a44 JUNOS plugins: Dump response if verbose >= 5. 2012-10-01 09:41:03 +02:00
Sebastian Harl f4d9395adc Ensure that the terminal is reset correctly after prompting for a password.
Thanks to Jonathan for reporting this!
Fixes #84
2012-07-19 08:54:47 +02:00
Sebastian Harl 0aff58d0cc check_junos_bgp.pl: Suppress 'wide character in print' warnings. 2011-06-30 11:41:18 +02:00
Sebastian Harl ff970c8dc6 Added initial version of check_junos_bgp.pl.
The plugin connects to a Juniper Router and queries BGP routing information
using the 'show bgp neighbor' command. It then executes any of the following
checks:

 * peers_count: Total number of peers.
 * prefix_count: Number of active prefixes of single peers.

Each check may consider a subset of peers only. This is done by specifying a
"target" which may either be an IPv4/IPv6 address, a regex or a string. In the
latter two cases, the regex/string is compared with the peer description.

Warning and critical ranges may be specified for each single check.

The format for specifying checks is:
checkname[,target[,warning[,critical]]]
2011-06-30 11:28:28 +02:00