Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Thanh
Compatible With
The main file, located at /PATH_to_NAGIOS/libexec/
This file parse the "show bgp summary" command into the expected router. Should be located at /PATH_to_NAGIOS/libexec/plugins/
This file parse the "show ip bgp summary" command into the expected router. Should be located at /PATH_to_NAGIOS/libexec/plugins/
Logical system, This file parse the "show bgp summary" command into the expected router. Should be located at /PATH_to_NAGIOS/libexec/plugins/
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
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!