[mrtg] Re: (solved) Re: rateup writing *.log file incorrectly - post 2

paul beard paulbeard at mac.com
Mon Feb 4 07:43:56 MET 2002


well, this is still a mystery: I updated the logfile by hand to 
reflect actual values after I got a corrupted file error.

Looked good for a couple of iterations. Then for some reason, the 
2nd and 4th data columns started recording something odd, 
expecially as that values exceeds the AbsMax setting (of 99183).

[/usr/local/etc/mrtg]# head /www/mrtg/red/red-root.log
1012804501 0   0
1012804501 99183 99183 99183 99183
1012804201 99183 99183 99183 99183
1012804200 99183 98986 99183 99183
1012803900 99183 40397 99183 40397 <- good up to here
1012803600 99183 40397 99183 40397
1012803300 99183 40397 99183 40397
1012803000 99183 40397 99183 40397
1012802700 0 66451 0 99183

these are the values that should be picked up each time.

Filesystem   1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a      99183    40399    50850    44%    /

here's the relevant bits of the cfg file:

Target[red-root]:`/usr/local/bin/snmpget -m all -Oqv red public 
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.1 
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.1`&`perl 
-e 'print time();'`&"red-root"
RouterUptime[red-root]:host.hrSystem.hrSystemUptime.0:public at red
MaxBytes[red-root]: 99183
PageTop[red-root]: <H1>/</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>red.PAULBEARD.ORG in my 
office</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>paulbeard at mac.com</TD></TR>
    <TR><TD>Description:</TD><TD>xl0  </TD></TR>
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD>     <TD></TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>192.168.2.7 
(red.paulbeard.org)</TD></TR>
  </TABLE>
#Unscaled[red-root]: ymwd
ShortLegend[red-root]: bytes
kMG[red-root]:k,M,G,T,P
YLegend[red-root]: bytes
Legend1[red-root]: Size
Legend2[red-root]: Used
Legend3[red-root]:
Legend4[red-root]:
LegendI[red-root]: Size
LegendO[red-root]: Used
Options[red-root]: growright,gauge


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