Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me


2 votes
FileDescription version 0.2 version 0.3 version 0.4
check_bgp script that uses BGP4-MIB (ePN complient)
Requires Net::SNMP.

Usage: -H -C -p --help --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 (1)
byramiro.flores, March 17, 2017
Gives the following errors when executing:

root@server:/usr/local/nagios/libexec# ./ -H -C nvaiaJC4 -p
Use of uninitialized value in concatenation (.) or string at ./ line 191.
Illegal hexadecimal digit 'n' ignored at ./ line 198.
Argument "noSuchObject" isn't numeric in numeric gt (>) at ./ line 270.
Argument "noSuchObject" isn't numeric in numeric eq (==) at ./ line 213.
Argument "noSuchObject" isn't numeric in numeric eq (==) at ./ line 216.
CRITICAL - (ASnoSuchObject) state is . Last established noSuchObjects.