[mrtg] mrtg graphs/stats are always 0

Khurram Farhan Hassan khassan at aster.com.pk
Tue Aug 10 23:20:58 MEST 1999


Hi,

I am trying to graph mailstats on my mail server. If I snmget the OIDs, I
get some values. But mrtg always graphs them as 0 (both in the graph and in
the stats). My cfg file is as follows:

<snip>
Target[mailserver]:
.1.3.6.1.4.1.311.1.1.3.1.1.30.18.0&.1.3.6.1.4.1.311.1.1.3.1.1.30.19.0:public
@mailserver.com
RouterUptime[mailserver]:  public at mailserver.com
Directory[mailserver]: mailserver
MaxBytes[mailserver]: 1250000
PageTop[vega.aster.com.pk.5]: <H1>Mailserver Inbound/Outbound Mail
Trafffic</H1>
Background[mailserver]: #D7F4FF
Title[mailserver]: Mailserver Inbound/Outbound Stats
WithPeak[mailserver]:ymwd
ShortLegend[mailserver]: KBytes
YLegend[mailserver]: KBytes
Legend1[mailserver]: Inbound Volume
Legend2[mailserver]: Outbound volume
Legend3[mailserver]:
Legend4[mailserver]:
LegendI[mailserver]: &nbsp; Inbound :
LegendO[mailserver]: &nbsp; Outbound :
Options[mailserver]: nopercent
<snip>

I have used a large number for maxbytes because I don't care about percents.
My log file for this targe is also strange. The top few lines are:

934320128 7550 1196
934320128 0 0 0 0
934319812 0 0 0 0
934319700 0 0 0 0
934319400 0 0 0 0
934319100 0 0 0 0
934318800 0 0 0 0
934318500 0 0 0 0
934318200 0 0 0 0
934317900 0 0 0 0
934317600 0 0 0 0
934317300 0 0 0 0
934317000 0 0 0 0
934316700 0 0 0 0
934316400 0 0 0 0
934316100 0 0 0 0
934315800 0 0 0 0
934315500 0 0 0 0
934315200 0 0 0 0
934314900 0 0 0 0
934314600 0 0 0 0
934314300 0 0 0 0
<snip>

It seems that the current value returned by the OIDs is placed in the log
file and the old one is zeroed out. What could be wrong?

Thanks.


Khurram,
khassan at aster.com.pk

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list