I am trying to find a way to monitor bgp sessions under a VRF on my router.
Any one out there doing this?
Monitoring BGP status of VRF
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring BGP status of VRF
Hey there benningtonr!
Are any of these an option for you?
http://exchange.nagios.org/index.php?op ... chword=bgp
Are any of these an option for you?
http://exchange.nagios.org/index.php?op ... chword=bgp
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Monitoring BGP status of VRF
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.
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.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring BGP status of VRF
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.
Last edited by slansing on Fri Feb 15, 2013 11:52 am, edited 1 time in total.
Reason: Please see the post below mine.
Reason: Please see the post below mine.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Monitoring BGP status of VRF
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Monitoring BGP status of VRF
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.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring BGP status of VRF
Cool, let us know if you need help, I know we're all glad to be bothered.
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Monitoring BGP status of VRF
I will go look at that right now, thanks