BGP-4

check_junos_bgp_state.pl

Description:

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

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes
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.
Reviews (1) Add a Review
Works on MX104D
by george.oniceag, September 30, 2016

Nice script ! Works on Junos MX104D out of the box. Thank you !



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
4.5 (2)
Favorites
0
Views
41,470