Page 1 of 1
Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 8:25 am
by benningtonr
I am trying to find a way to monitor bgp sessions under a VRF on my router.
Any one out there doing this?
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 10:21 am
by slansing
Hey there benningtonr!
Are any of these an option for you?
http://exchange.nagios.org/index.php?op ... chword=bgp
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:34 am
by benningtonr
Nope, they all seem to have the same problem.
I need to change the "sho ip bgp summ" to "Sho ip bgp vrf Internet2 summ"
But these statements are not blantently obvious in the script, so I do not know what to change to make it work.
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:51 am
by slansing
Hmmff, I have not been able to locate any already created plugins this specific for you. Perhaps you could also try and contact one of those plugin's developers and ask where you could edit in your requirements whilst we keep hunting around for you.
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:52 am
by sreinhardt
If you look at the plugin
check_bgp_ipv6, on line 50 you can directly modify the sho command that is being run to suit your needs. I believe this should work for you since the script seems to just execute the command and take results from that, however it may need some changes between 125-171 to filter output correctly.
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:53 am
by benningtonr
That is what i was thinking, i have a mib capture i am going through now to see if I can find a way to accomplish this without bothering anyone.
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:54 am
by slansing
Cool, let us know if you need help, I know we're all glad to be bothered.
Re: Monitoring BGP status of VRF
Posted: Fri Feb 15, 2013 11:56 am
by benningtonr
I will go look at that right now, thanks