Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Perl script that via SNMP queries a Juniper router(JunOS) for BGP peer/neighbor status. Triggers CRITICAL alarm if peer is not in established state and is enabled.
Current Version
0.1
Last Release Date
2013-05-01
Owner
Bjorn Frostberg
License
GPL
Compatible With
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 <ipv6 address> -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.
Nice script ! Works on Junos MX104D out of the box. Thank you !
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!