[mrtg] MRTG resets all graphs daily, why?
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Fri Jun 5 13:30:11 CEST 2009
----- Original Message -----
From: "Adam Williams" <awilliam at mdah.state.ms.us>
To: "Steve Shipway" <s.shipway at auckland.ac.nz>
Cc: <mrtg at lists.oetiker.ch>
Sent: Friday, June 05, 2009 1:17 PM
Subject: Re: [mrtg] MRTG resets all graphs daily, why?
> I'm using native mode. There is the default Fedora cron script that
> cleans up /var/log, but I don't have any program that goes and deletes
> .log files in /home/adam/public_html/mrtg. Here is a listing of the
> directory:
>
> [root at missioncontrol mrtg]# ls -l
> total 176
> -rw-r--r-- 1 root root 2207 2009-06-05 06:15 localhost_10.1.3.1-day.png
> -rw-r--r-- 1 root root 8993 2009-06-05 06:15 localhost_10.1.3.1.html
> -rw-r--r-- 1 root root 1633 2009-06-05 05:25 localhost_10.1.3.1-month.png
> -rw-r--r-- 1 root root 50202 2009-06-05 06:15 localhost_10.1.3.1.old
> -rw-r--r-- 1 root root 1779 2009-06-05 06:10 localhost_10.1.3.1-week.png
> -rw-r--r-- 1 root root 1991 2009-06-04 18:10 localhost_10.1.3.1-year.png
> -rw-r--r-- 1 root root 2534 2009-06-05 06:15
> localhost_68.209.223.242-day.png
> -rw-r--r-- 1 root root 6808 2009-06-05 06:15
> localhost_68.209.223.242.html
> -rw-r--r-- 1 root root 1588 2009-06-05 05:40
> localhost_68.209.223.242-month.png
> -rw-r--r-- 1 root root 49936 2009-06-05 06:15 localhost_68.209.223.242.old
> -rw-r--r-- 1 root root 1874 2009-06-05 06:00
> localhost_68.209.223.242-week.png
> -rw-r--r-- 1 root root 1748 2009-06-04 18:10
> localhost_68.209.223.242-year.png
> -rw-r--r-- 1 root root 538 2009-04-30 15:18 mrtg-l.png
> -rw-r--r-- 1 root root 414 2009-04-30 15:18 mrtg-m.png
> -rw-r--r-- 1 root root 1759 2009-04-30 15:18 mrtg-r.png
No .log files. Something happened, either at 06:15 or between 06:15 and
06:20.
1: next time, show "date; ls -la". This adds current local time, and last
directory change.
2: look at "df", perhaps you have disk full
3: look at your mail. Errors and warnings should arrive there. No, "mrtg
>/dev/null 2>&1" in your crontab is not a good idea.
More information about the mrtg
mailing list