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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 13 October 2005 2:05 PM To: [EMAIL PROTECTED] 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. [EMAIL PROTECTED] ~]# 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:[EMAIL PROTECTED] RouterUptime[s1_0]:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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
