[mrtg] Re: bgp mointoring with mrtg

Pete Templin petelists at templin.org
Mon Jun 21 18:21:01 MEST 2004


avinash phogat wrote:

> I want to monitor all about bgp which is possible through mrtg can anyone 
> help me out .. if anyone have the configuration file pls mail me

This is the output of a configuration generator that I built.  It gives 
me the number of updates per interval, the number of updates less 500 
per interval, the status of the session, and the number of transitions 
to Established state in the interval.  The threshold script on the 
status seems to work great, but the FSM transitions is still fighting me 
(but I only wrote it Saturday night...).

(Alex, if you're reading this, just ignore the message.  I'm using MRTG 
in a way that you don't approve of, but it works great for me and I 
haven't found a better tool to achieve my goals, so just let me limp 
along like this.  I won't ask you any questions about it.)

Target[core1.bgp.10.0.0.2.1]: 
1.3.6.1.2.1.15.3.1.10.10.0.0.2&1.3.6.1.2.1.15.3.1.11.10.0.0.2:COMM at ROUTER 
* 300
AbsMax[core1.bgp.10.0.0.2.1]: 150000
MaxBytes[core1.bgp.10.0.0.2.1]: 150000
Title[core1.bgp.10.0.0.2.1]: BGP Updates
PageTop[core1.bgp.10.0.0.2.1]: <H1>BGP Updates for 10.0.0.2 (AS 56789)</H1>
Options[core1.bgp.10.0.0.2.1]: unknaszero, withzeroes, growright
WithPeak[core1.bgp.10.0.0.2.1]: wmy
YLegend[core1.bgp.10.0.0.2.1]: Updates
#---------------------------------------------------
Target[core1.bgp.10.0.0.2.2]: 
1.3.6.1.2.1.15.3.1.10.10.0.0.2&1.3.6.1.2.1.15.3.1.11.10.0.0.2:COMM at ROUTER 
* 300
AbsMax[core1.bgp.10.0.0.2.2]: 500
MaxBytes[core1.bgp.10.0.0.2.2]: 250
Title[core1.bgp.10.0.0.2.2]: Low-Level BGP Updates
PageTop[core1.bgp.10.0.0.2.2]: <H1>Low-Level BGP Updates for 10.0.0.2 
(AS 56789)</H1>
Options[core1.bgp.10.0.0.2.2]: unknaszero, withzeroes, growright
WithPeak[core1.bgp.10.0.0.2.2]: wmy
YLegend[core1.bgp.10.0.0.2.2]: Updates
#---------------------------------------------------
Target[core1.bgp.10.0.0.2.3]: 
1.3.6.1.2.1.15.3.1.2.10.0.0.2&1.3.6.1.2.1.15.3.1.2.10.0.0.2:SNMP at ROUTER
AbsMax[core1.bgp.10.0.0.2.3]: 12
MaxBytes[core1.bgp.10.0.0.2.3]: 6
Title[core1.bgp.10.0.0.2.3]: Peer State
PageTop[core1.bgp.10.0.0.2.3]: <H1>Peer State for Peer 10.0.0.2 (AS 
56789)</H1>
Options[core1.bgp.10.0.0.2.3]: gauge, growright
WithPeak[core1.bgp.10.0.0.2.3]: wmy
YLegend[core1.bgp.10.0.0.2.3]: State
ThreshMinI[core1.bgp.10.0.0.2.3]: 0
ThreshMaxI[core1.bgp.10.0.0.2.3]: 5
ThreshProgI[core1.bgp.10.0.0.2.3]: /usr/local/bin/bgpstateclear
ThreshProgOKI[core1.bgp.10.0.0.2.3]: /usr/local/bin/bgpstatealarm
ThreshMinO[core1.bgp.10.0.0.2.3]: 0
ThreshMaxO[core1.bgp.10.0.0.2.3]: 5
ThreshProgO[core1.bgp.10.0.0.2.3]: /usr/local/bin/threshnull
ThreshProgOKO[core1.bgp.10.0.0.2.3]: /usr/local/bin/threshnull
#---------------------------------------------------
Target[core1.bgp.10.0.0.2.4]: 
1.3.6.1.2.1.15.3.1.15.10.0.0.2&1.3.6.1.2.1.15.3.1.15.10.0.0.2:SNMP at ROUTER 
* 300
AbsMax[core1.bgp.10.0.0.2.4]: 50000
MaxBytes[core1.bgp.10.0.0.2.4]: 10000
Title[core1.bgp.10.0.0.2.4]: FSM Transitions
PageTop[core1.bgp.10.0.0.2.4]: <H1>FSM Transitions for Peer 10.0.0.2 (AS 
56789)</H1>
Options[core1.bgp.10.0.0.2.4]: growright
WithPeak[core1.bgp.10.0.0.2.4]: wmy
YLegend[core1.bgp.10.0.0.2.4]: Activity
ThreshMinI[core1.bgp.10.0.0.2.4]: 0
ThreshMaxI[core1.bgp.10.0.0.2.4]: 0.1
ThreshProgI[core1.bgp.10.0.0.2.4]: /usr/local/bin/fsmstatealarm
ThreshProgOKI[core1.bgp.10.0.0.2.4]: /usr/local/bin/fsmstateclear
ThreshMinO[core1.bgp.10.0.0.2.4]: 0
ThreshMaxO[core1.bgp.10.0.0.2.4]: 1
ThreshProgO[core1.bgp.10.0.0.2.4]: /usr/local/bin/threshnull
ThreshProgOKO[core1.bgp.10.0.0.2.4]: /usr/local/bin/threshnull
#---------------------------------------------------

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list