Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_junos_bgp_state.pl
Router must support the BGP4-V2-MIB-JUNIPER mib.
Following perl modules required:
Net::SNMP
Getopt::Long
Net::IP
Status for IPv6 peers should be supported.
Perfdata enabled for the amount of BGP peers.
Example syntax:
./check_junos_bgp_state.pl -H 10.10.10.10 -C public
Only SNMP version 2c supported for now
Checking an IPv6 only router might work with the -d parameter.
Example(not tested):
check_junos_bgp_state.pl -H -C public -d udp/ipv6
ps. Since it uses SNMP bulk requests I noticed there could be an issue at times with default value of 25 and to large packets. Need to reduce it to e.g. 15.
Following perl modules required:
Net::SNMP
Getopt::Long
Net::IP
Status for IPv6 peers should be supported.
Perfdata enabled for the amount of BGP peers.
Example syntax:
./check_junos_bgp_state.pl -H 10.10.10.10 -C public
Only SNMP version 2c supported for now
Checking an IPv6 only router might work with the -d parameter.
Example(not tested):
check_junos_bgp_state.pl -H
ps. Since it uses SNMP bulk requests I noticed there could be an issue at times with default value of 25 and to large packets. Need to reduce it to e.g. 15.
Reviews (1)
bygeorge.oniceag, September 20, 2016
Nice script ! Works on Junos MX104D out of the box. Thank you !