[mrtg] MRTG resets all graphs daily, why?

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Fri Jun 5 16:04:25 CEST 2009


----- Original Message ----- 
From: "Adam Williams" <awilliam at mdah.state.ms.us>
To: "Alex van den Bogaerdt" <alex at vandenbogaerdt.nl>
Cc: <mrtg at lists.oetiker.ch>
Sent: Friday, June 05, 2009 3:42 PM
Subject: Re: [mrtg] MRTG resets all graphs daily, why?


> This is what I'm getting in emails from cron about mrtg.  It says rateup 
> can't rename log files.  Which is strange, mrtg is being ran as root in 
> cron, so there should be no problems with file permissions, and there's 
> plenty of free disk space from my last email (18% free).  Any ideas?
>
> Date: Fri,  5 Jun 2009 08:40:07 -0500 (CDT)
> From: Cron Daemon <root at missioncontrol.squeezer.net>
> To: root at missioncontrol.squeezer.net
> Subject: Cron <root at missioncontrol> env LANG=C /usr/bin/mrtg
>    /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log
>
> 2009-06-05 08:40:07, Rateup WARNING: /usr/bin/rateup could not read the
> primary log file for localhost_68.209.223.242
> 2009-06-05 08:40:07, Rateup WARNING: /usr/bin/rateup Can't remove
> localhost_68.209.223.242.old updating log file
> 2009-06-05 08:40:07, Rateup WARNING: /usr/bin/rateup Can't rename
> localhost_68.209.223.242.tmp to localhost_68.209.223.242.log updating log
> file


Looks like there is no result when mrtg runs, thus there is no new log file, 
thus it cannot be renamed next time, and so on.

You will need to find out why mrtg fails to do its stuff. Sorry, can't help 
here, someone else has to.



More information about the mrtg mailing list