BGP-4

check_bgp

Description:

check_bgp script that uses BGP4-MIB (ePN complient)

Current Version

Last Release Date

June 23, 2009

Compatible With


Project Files
Project Notes
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
Reviews (2) Add a Review
doesn't seem to work with fortigates
by GWAMPO, May 31, 2017

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.



Error
by ramiro.flores, March 31, 2017

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.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
1.8 (5)
Favorites
0
Views
188,236