[mrtg] Rateup WARNINGs

Dan Tappin dan at wavefront.ca
Mon Nov 4 21:19:51 MET 2002


Here is my mrtg.cfg file (I am trying to log disk usage - I copied this from
the net-snmp site tutorial):

WorkDir: /Library/WebServer/WebSites/mrtg.wavefront.ca/disk/

LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt


Target[freya_disk]: .1.3.6.1.4.1.2021.9.1.9.1:public at freya.wavefront.ca
RouterUptime[freya_disk]: public at freya.wavefront.ca
MaxBytes[freya_disk]: 100
Title[freya_disk]: DISK USAGE
PageTop[freya_disk]: <H1>Disk Usage %</H1>
Unscaled[freya_disk]: ymwd
ShortLegend[freya_disk]: %
YLegend[freya_disk]: Disk Utilization
Legend1[freya_disk]: Root disk
Options[freya_disk]: growright,gauge,nopercent

I verified that SNMP is working:

[freya:/etc/mrtg] tappind# snmpget localhost public
.1.3.6.1.4.1.2021.9.1.9.1
enterprises.ucdavis.dskTable.dskEntry.dskPercent.1 = 17

And when I try to run MRTG:

[freya:/etc/mrtg] tappind# /Library/WebServer/tenon/mrtg-2/bin/mrtg
/etc/mrtg/disk.cfg
Rateup ERROR: /Library/WebServer/tenon/mrtg-2/bin/rateup found freya_disk's
log file was corrupt
          or not in sorted order:
time: 1036440300.Rateup WARNING: /Library/WebServer/tenon/mrtg-2/bin/rateup
could not read the primary log file for freya_disk
Rateup ERROR: /Library/WebServer/tenon/mrtg-2/bin/rateup found freya_disk's
log file was corrupt
          or not in sorted order:
time: 1036440675.Rateup WARNING: /Library/WebServer/tenon/mrtg-2/bin/rateup
The backup log file for freya_disk was invalid as wel
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'freya_disk'
 Signal was 0, Returncode was 1

I have a basic traffic MRTG script that runs fine and does not give errors.

I have cleared out the working directory and tried re-running it with no
luck.

Any ideas out there?

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