Commit graph

4 commits

Author SHA1 Message Date
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