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


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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 !
Helpful? Yes  No 
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,444