Cisco

Check Cisco BGP peer

Description:

Check BGP peer status, established time, prefixes.

Current Version

0.1

Last Release Date

2015-07-01

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
  • Nagios Fusion
  • Nagios Reactor
  • Nagios Network Analyzer
  • Nagios Log Server

License

GPL


Project Files
Project Notes
Checks the OSPF status of a BGP peer and reports back with uptime, remote AS and number of prefixes. # ./check_snmp_cisco_bgp.pl -H 192.168.1.1 -C public -P 10.10.10.10 BGP state: established - Established for: 29 days, 13 hours, 48 minutes, 16 seconds, Remote AS: 64512, Number of prefixes: 538796 : OK Can also be used with theshold for upper and lower limit threshold for number of prefixes, and warning and critical in hours for established time. # ./check_snmp_cisco_bgp.pl -H 192.168.1.1 -C public -P 10.10.10.10 --lower 500000 --upper 600000 -w 48 -c 24 BGP state: established - Established for: 29 days, 13 hours, 48 minutes, 16 seconds, Remote AS: 64512, Number of prefixes: 538796 : OK
Reviews (1) Add a Review
Good plugin but a bug with nosuchinstance
by fledorze, May 31, 2017

The plugin is developped in a standard way with usual V3 authentication. But when SNMP request gives NosuchInstance, it answers BPG OK. I propose , line 430 : undef $peer_state if ($peer_state =~ /nosuchinstance/i); so that the result will be UNKNOWN.



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 (1)
Favorites
0
Views
12,541