[mrtg] two questions
Chong Hiu Pun
hp-chong at gemstar.com.hk
Wed Feb 19 09:01:33 MET 2003
Dear all,
I am a new mrtg user and want to ask about the following questions:
1.) I want to do a self monitoring. If the monitoring machine is up, it will return 1; otherwise (e.g no network, reboot, power off) it will return 0. I try to do this by monitoring the operational status of loopback interface ( .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus ). However, it always return 1. Which thing should I monitor so as to fulfil my purpose?
2.) I use Linux to monitor a few routers' traffic. I found something strange: e.g If my linux is down for about 30 minutes, and then up again, I found that the traffic value will have a surge and then back to normal again :
Inside my log file
1045689900 91 47 96 50
1045689600 113 54 122 58
1045689300 39 51997 122 76440 <---a surge in traffic
1045689000 0 24460 0 76440 <-- a surge in traffic
1045688700 0 0 0 0
1045688400 0 0 0 0
1045688100 0 0 0 0
1045687800 0 0 0 0
1045687500 0 0 0 0
which shows incorrect data on the graph. How can I fix this problem ?
Thank you very much!
ps below is part of my cfg file:
Title[cis1601_trfs0]: Cisco 1601 Serial0 Traffic Rate
PageTop[cis1601_trfs0]: <H1>Cisco 1601 Serial0 Traffic Rate</H1>
Target[cis1601_trfs0]:.1.3.6.1.2.1.2.2.1.10.2&.1.3.6.1.2.1.2.2.1.16.2:public at 10.0.0.1
MaxBytes[cis1601_trfs0]: 193000
WithPeak[cis1601_trfs0]: ymw
Options[cis1601_trfs0]: growright, unknaszero,bits,nopercent
YLegend[cis1601_trfs0]: Bits per second
ShortLegend[cis1601_trfs0]:
Legend1[cis1601_trfs0]:
Legend2[cis1601_trfs0]:
Legend3[cis1601_trfs0]:
Legend4[cis1601_trfs0]:
LegendI[cis1601_trfs0]: In: 
LegendO[cis1601_trfs0]: Out: 
--
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