[mrtg] Corrupt Log files

Bradley W. McNamara BMcNamara at zama.net
Wed Jan 24 23:55:53 MET 2001


I seen to be having a problem with a particular section of my config
file.  I added this section:

Target[lab72c-f10.zama6.net_pkt]:
1.3.6.1.4.1.9.2.2.1.1.7&1.3.6.1.4.1.9.2.2.1.1.9:public at lab72c-f10.zama6.net:::::2

YLegend[lab72c-f10.zama6.net_pkt]: pkts/sec
ShortLegend[lab72c-f10.zama6.net_pkt]: pkts in
Legend1[lab72c-f10.zama6.net_pkt]: pkts in
Legend2[lab72c-f10.zama6.net_pkt]: pkts out
MaxBytes[lab72c-f10.zama6.net_pkt]: 12500000
Title[lab72c-f10.zama6.net_pkt]: lab72c.zama6.net
PageTop[lab72c-f10.zama6.net_pkt]: <H1>FastEthernet1/0 Pkts/Sec --
lab72c.zama6.net</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>lab72c.zama6.net</TD></TR>
   <TR><TD>Maintainer:</TD><TD>Brian Skeen</TD></TR>
   <TR><TD>IP: 203.142.143.65</TD><TD> (lab72c-f10.zama6.net)</TD></TR>
 </TABLE>

MRTG seems to be able to poll the router, which is a Cisco 7206vxr, but
after the initial run of MRTG I keep getting "corrupted log files", and
nothing ever gets updated.



Rateup ERROR: /usr/local/mrtg-2/bin/rateup found
lab72c-f10.zama6.net_pkt's log file was corrupt
          or not in sorted order:
time: 980372042.Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not
read the primary log file for lab72c-f10.zama6.net_pkt
Rateup ERROR: /usr/local/mrtg-2/bin/rateup found
lab72c-f10.zama6.net_pkt's log file was corrupt
          or not in sorted order:
time: 980372042.Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup
log file for lab72c-f10.zama6.net_pkt was invalid as well
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'lab72c-f10.zama6.net_pkt'
 Signal was 0, Returncode was 1



I searched the mail list archive, and have found references to this
error message.  There is only one instance of MRTG running and it's only
polling one router.  I even tried running MRTG as a daemon.  There must
be something wrong in my config.  Thankyou for the help.

Brad McNamara


--
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