[mrtg] MRTG resets all graphs daily, why?
Adam Williams
awilliam at mdah.state.ms.us
Fri Jun 5 13:44:08 CEST 2009
Alex van den Bogaerdt wrote:
> 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.
>
>
>
Here is the output of date; ls -la:
[root at missioncontrol mrtg]# date; ls -al
Fri Jun 5 06:41:30 CDT 2009
total 296
drwxr-xr-x 2 root root 4096 2009-06-05 06:40 .
drwxr-xr-x 47 adam users 4096 2009-04-13 10:16 ..
-rw-r--r-- 1 root root 2296 2009-06-05 06:40 localhost_10.1.3.1-day.png
-rw-r--r-- 1 root root 8990 2009-06-05 06:40 localhost_10.1.3.1.html
-rw-r--r-- 1 root root 50323 2009-06-05 06:40 localhost_10.1.3.1.log
-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 50305 2009-06-05 06:40 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 2614 2009-06-05 06:40
localhost_68.209.223.242-day.png
-rw-r--r-- 1 root root 6808 2009-06-05 06:40
localhost_68.209.223.242.html
-rw-r--r-- 1 root root 50044 2009-06-05 06:40 localhost_68.209.223.242.log
-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 50026 2009-06-05 06:40 localhost_68.209.223.242.old
-rw-r--r-- 1 root root 1857 2009-06-05 06:35
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
Disk drive isn't full:
[root at missioncontrol mrtg]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 15G 3.4G 82% /
none 124M 12K 124M 1% /dev/shm
/dev/sdb1 19G 18G 374M 98% /mnt/hdb1
I had emailing to root disabled, my ISP blocks outbount port 25 so I
couldn't have it email this address. I've changed it to mail localhost,
so I'll let it run for a bit and see what happens. I also changed the
cron to add logging:
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
--logging /var/log/mrtg.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090605/2032c5e4/attachment.html
More information about the mrtg
mailing list