BGP-4

check_bgp_v4_v6

Description:

This will check if the bgp session is established
Since it parses the “show bgp summary” command to the router using expect, it worked only with devices that has already have plugin file.
I’ve only writen code for Juniper routers

Requirement:
yum íntall expect
yum install mysql phpmyadmin

Current Version

2.0

Last Release Date

2014-06-20

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner


Project Files
Project Photos
Project Notes
This will check if the bgp session is established Since it parses the "show bgp summary" command to the router using expect, it worked only with devices that has already have plugin file. I've only writen code for Juniper routers Requirement: yum íntall expect yum install mysql phpmyadmin Location: /Path-to-nagios/libexec/check_bgp /Path-to-nagios/libexec/plugins/get_bgp_Juniper Usage: Create a mysql database that have 4 field: id | group_BGP | name_BGP | peer_BGP Insert data into the database've created It should be: mysql> show tables; +----------------------+ | Tables_in_$DBname | +----------------------+ | $DBtable | +----------------------+ 2 rows in set (0.00 sec) mysql> select * from DBname.DBtables -> ; +----+-----------+----------------------+--------------------------------+ | id | group_BGP | name_BGP | peer_BGP | +----+-----------+----------------------+--------------------------------+ | 1 | iBGP | peer1 | 119.18.185.1 | | 2 | eBGP | peer2 | 119.18.185.102 | | 3 | iBGP | peer3 | 119.18.185.61 | ###################### copy files into their location
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
22,387