[rrd-users] Problem when changing from mrtg to rrdtool

Michael Jürgens info at hunnenburg.de
Thu Nov 18 09:21:59 MET 2004


Hello,

I have a problem when changing from the log-format to the rrd-format.
After I have inserted the LogFormat setting in mrtg.cfg I get only nan
values in the rrd.file.

My tagregt looks like::

> Target[warning]: `/etc/mrtg/warnings.mrtg 
> /usr/local/jboss/server/default/log/mrtgwarn.log`
> MaxBytes[warning]: 1000000
> Title[warning]: Warnings Log Sauvage
> PageTop[warning]: <H1>Warnings Log Sauvage</H1>
> Options[warning]: nopercent,noinfo,unknaszero,growright,perhour,withzeroes
> XSize[warning]: 600
> ShortLegend[warning]: Events/h
> YLegend[warning]: Warnings per Hour
> LegendI[warning]: Warnings
> LegendO[warning]: Errors

And here a small clip from warning.log

> 1100765701 13 0
> 1100765701 12 0 12 0
> 1100765400 0 0 0 0
> 1100765100 1 0 5 0
> 1100764800 5 0 5 0
> 1100764500 5 0 5 0
> 1100764200 0 0 5 0
> 1100763900 0 0 0 0
> 1100763600 0 0 0 0
> 1100763300 0 0 0 0
> 1100763000 0 0 0 0
> 1100762700 0 0 0 0
> 1100762400 0 0 0 0
> 1100762100 0 0 0 0
> 1100761800 0 0 0 0
> 1100761500 0 0 0 0
> 1100761200 0 0 0 0

/usr/local/rrdtool-1.0.49/bin/rrdtool fetch warning.rrd AVERAGE  gives:

> 1100761200:  nan  nan
> 1100761500:  nan  nan
> 1100761800:  nan  nan
> 1100762100:  nan  nan
> 1100762400:  nan  nan
> 1100762700:  nan  nan
> 1100763000:  nan  nan
> 1100763300:  0.0000000000e+00  0.0000000000e+00
> 1100763600:  0.0000000000e+00  0.0000000000e+00
> 1100763900:  0.0000000000e+00  0.0000000000e+00
> 1100764200:  nan  nan
> 1100764500:  nan  nan
> 1100764800:  nan  nan
> 1100765100:  0.0000000000e+00  0.0000000000e+00
> 1100765400:  nan  nan
> 1100765700:  nan  nan

I have no idea whats going wrong

Regards,

Michael



--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list