Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_bgp script that uses BGP4-MIB (ePN complient)
Current Version
Last Release Date
June 23, 2009
Owner
Nagios Exchange
Requires Net::SNMP.
Usage: check_bgp.pl -H -C -p check_bgp.pl --help check_bgp.pl --version
-H (--hostname) Hostname to query - (required) -C (--community) SNMP read community or v3 auth (defaults to public)
(v3 specified as username:authpassword:... ) username = SNMPv3 security name authpassword = SNMPv3 authentication pass phrase (or hexidecimal key) authprotocol = SNMPv3 authentication protocol (md5 (default) or sha) privpassword = SNMPv3 privacy pass phrase (or hexidecmal key) privprotocol = SNMPv3 privacy protocol (des (default) or aes)
-v (--snmp_version) 1 for SNMP v1
2 for SNMP v2c (default) 3 for SNMP v3
-p {--peer} IP of BGP Peer -V (--version) Plugin version -h (--help) usage help
Primary MIB reference - BGP4-MIB
Version 0.4 added snmpv3 support Version 0.3 $snmp was not checked for being defined - fixed Version 0.2 conformed with ePN
received the same error as the previous comment ./check_bgp.0.4.pl -H 10.255.255.1 -C EElum1n8orox -p 169.254.255.97 Use of uninitialized value in concatenation (.) or string at ./check_bgp.0.4.pl line 191. Illegal hexadecimal digit 'n' ignored at ./check_bgp.0.4.pl line 198. Argument "noSuchObject" isn't numeric in numeric gt (>) at ./check_bgp.0.4.pl line 270. Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_bgp.0.4.pl line 213. Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_bgp.0.4.pl line 216. CRITICAL - 169.254.255.97 (ASnoSuchObject) state is . Last established noSuchObjects.
Gives the following errors when executing: root@server:/usr/local/nagios/libexec# ./check_bgp.pl -H 10.70.71.62 -C nvaiaJC4 -p 81.46.16.1 Use of uninitialized value in concatenation (.) or string at ./check_bgp.pl line 191. Illegal hexadecimal digit 'n' ignored at ./check_bgp.pl line 198. Argument "noSuchObject" isn't numeric in numeric gt (>) at ./check_bgp.pl line 270. Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_bgp.pl line 213. Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_bgp.pl line 216. CRITICAL - 81.46.16.1 (ASnoSuchObject) state is . Last established noSuchObjects.
You must be logged in to submit a review.
To:
From: