[mrtg] Cannot plot the graph, even get the correct value

tipaporn.p at psu.ac.th tipaporn.p at psu.ac.th
Thu Oct 13 06:05:03 MEST 2005


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]:&nbsp;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



More information about the mrtg mailing list