[mrtg] Re: Cannot plot the graph, even get the correct value
Dowling, Steve
Steve.Dowling at det.nsw.edu.au
Thu Oct 13 06:52:59 MEST 2005
Ti,
mrtg logs rates. What you're plotting is the number of errors *PER
SECOND* - I'd hope that would be zero!
Try using:
Options[s1_0]:perminute
or tou may like to use the perhour option instead.
I don't try to log errors, there's not enough of them to log unless
you've got a really bad line.
Steve
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of tipaporn.p at psu.ac.th
Sent: Thursday, 13 October 2005 2:05 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Cannot plot the graph, even get the correct value
Hello,
I'm a newbie for mrtg. I use mrtg to get ifInErrors value from Cisco
7206 router. Everything seems good but I always get the zero values in
the
log file.
However, I can use snmpwalk to get this value as shown below.
[root at myserver ~]# snmpwalk -v 2c -c public myrouter ifInErrors.5
IF-MIB::ifInErrors.5 = Counter32: 12980
Below is raw MRTG data coming out of the network interface I would like
to
plot the graph.
1129175401 12981 12981
1129175401 0 0 0 0
1129175102 0 0 0 0
1129175100 0 0 0 0
1129174800 0 0 0 0
1129174500 0 0 0 0
1129174200 0 0 0 0
1129173900 0 0 0 0
1129173600 0 0 0 0
1129173300 0 0 0 0
...
As shown above, the first row are the correct values but the other rows
are always zero. Why?
My configuration file is shown as following:
EnableIPv6: no
options[_]: growright, nopercent
workdir:/var/www/mrtg/test
### S1/0 Input Error ###
Target[s1_0]: ifInErrors.5&ifInErrors.5:public at myrouter
RouterUptime[s1_0]:public at myrouter
MaxBytes[s1_0]: 1000000
Title[s1_0]: New Input Error at the interface s1/0
PageTop[s1_0]: <H1>New Input Error at s1/0 </H1>
Unscaled[s1_0]:ym
ShortLegend[s1_0]:packets
YLegend[s1_0]:Input Error
Legend2[s1_0]:S1/0 Input Error
LegendI[s1_0]:
LegendO[s1_0]: Error
Can Anyone help me? I would appreciate it very much if anyone gives me
some suggestions. I've tried to change all parameters as I know but it
doesn't work. I don't know how to solve this problem.
Thank you very much.
Ti
-----------------------------------------
This email was sent using SquirrelMail.
https://front.psu.ac.th/
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list