[mrtg] Logfile entries reset to zeroes after a few hours

Louis van Dyk louis at qdcec.co.za
Fri Apr 23 20:46:47 CEST 2010


Hi

I have been running mrtg for many years on many different Linux boxes
and have always had no problem with it.  But now I am in desperate need
of assistance. 

I am running Fedora 12 and installed mrtg from the Fedora repository:
mrtg-2.16.2-4.fc12.x86_64

I am only monitoring ONE device and have set the following entry in
root's crontab file:
*/5 * * * *  env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg

There are a number of interfaces being monitored on the device.  The CFG
file was configured with cfgmaker.

THE PROBLEM:  Every few hours the logfile entries are reset to ZEROS
through out the file, a few hours into the log file.  It is apparently
random, in that if I look at the graphs they all cut off at different
times over the last 24 hours.  So the graphs have only a few hours on
each of them before flattening to zero.

The log of each process is mailed to root.  They have varying entries
looking like this:
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_4.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_5.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_9.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup could not read the
primary log file for 196.211.186.105_14
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_14.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't rename
196.211.186.105_15.tmp to 196.211.186.105_15.log updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup could not read the
primary log file for 196.211.186.105_16
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_16.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't rename
196.211.186.105_16.log to 196.211.186.105_16.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup could not read the
primary log file for 196.211.186.105_17
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_17.old updating log file
2010-04-23 20:30:01, Rateup WARNING: /usr/bin/rateup Can't rename
196.211.186.105_17.tmp to 196.211.186.105_17.log updating log file

Unforunately EVERY poll has some of these errors, and they are not
necessarily always the same sub-interfaces giving the errors.

Then I found a disturbing entry reading as follows:
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_5.old updating log file
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_9.old updating log file
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_10.old updating log file
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_12.old updating log file
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_15.old updating log file
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_16.old updating log file
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
2010-04-23 19:40:02, Rateup WARNING: /usr/bin/rateup Can't remove
196.211.186.105_17.old updating log file
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1401.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.
Use of uninitialized value in concatenation (.) or string
at /usr/bin/mrtg line 1410.

There is PLENTY of disk space, and the box is not at all busy.  

Any ideas??


MANY thanks,
Louis van Dyk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100423/00b3f256/attachment-0001.htm 


More information about the mrtg mailing list