i need some assistance about mrtg.
i had setup mrtg successfully to monitor few things in my home network (apparently i have a total of 7-8 devices connected in my network. can be up to 10)
it ran well without any issue.

but my problem is, if i restart httpd service, the mrtg cant be display correctly anymore.
if i view from web browser, it doesn't display any graph, seems like it's missing all the files associated with the mrtg page. i tried direct going to the specific host (i.e: http://localhost/graph/192.168.0.1_192.168.0.1.html) but it says files not exist although when i checked inside the directory, it's still there
QUOTE
[badrolsh@razor graph]$ ls -l
total 392
-rw-r--r-- 1 root root 2351 Apr 19 11:10 192.168.0.1_192.168.0.1-day.png
-rw-r--r-- 1 root root 6747 Apr 19 11:10 192.168.0.1_192.168.0.1.html
-rw-r--r-- 1 root root 50801 Apr 19 11:10 192.168.0.1_192.168.0.1.log
-rw-r--r-- 1 root root 1628 Apr 19 11:00 192.168.0.1_192.168.0.1-month.png
-rw-r--r-- 1 root root 50781 Apr 19 11:05 192.168.0.1_192.168.0.1.old
-rw-r--r-- 1 root root 1771 Apr 19 11:05 192.168.0.1_192.168.0.1-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:44 192.168.0.1_192.168.0.1-year.png
-rw-r--r-- 1 root root 3235 Apr 18 22:44 index.html
-rw-r--r-- 1 root root 2283 Apr 19 11:10 localhost_192.168.0.100-day.png
-rw-r--r-- 1 root root 6798 Apr 19 11:10 localhost_192.168.0.100.html
-rw-r--r-- 1 root root 50805 Apr 19 11:10 localhost_192.168.0.100.log
-rw-r--r-- 1 root root 1573 Apr 19 10:45 localhost_192.168.0.100-month.png
-rw-r--r-- 1 root root 50785 Apr 19 11:05 localhost_192.168.0.100.old
-rw-r--r-- 1 root root 1713 Apr 19 11:05 localhost_192.168.0.100-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:42 localhost_192.168.0.100-year.png
-rw-r--r-- 1 root root 1708 Apr 19 11:10 localhost_192.168.0.104-day.png
-rw-r--r-- 1 root root 6398 Apr 19 11:10 localhost_192.168.0.104.html
-rw-r--r-- 1 root root 48506 Apr 19 11:10 localhost_192.168.0.104.log
-rw-r--r-- 1 root root 1494 Apr 19 10:45 localhost_192.168.0.104-month.png
-rw-r--r-- 1 root root 48504 Apr 19 11:05 localhost_192.168.0.104.old
-rw-r--r-- 1 root root 1550 Apr 19 11:00 localhost_192.168.0.104-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:42 localhost_192.168.0.104-year.png
-rw-r--r-- 1 root root 538 Apr 18 22:42 mrtg-l.png
-rw-r--r-- 1 root root 414 Apr 18 22:42 mrtg-m.png
-rw-r--r-- 1 root root 1759 Apr 18 22:42 mrtg-r.png
total 392
-rw-r--r-- 1 root root 2351 Apr 19 11:10 192.168.0.1_192.168.0.1-day.png
-rw-r--r-- 1 root root 6747 Apr 19 11:10 192.168.0.1_192.168.0.1.html
-rw-r--r-- 1 root root 50801 Apr 19 11:10 192.168.0.1_192.168.0.1.log
-rw-r--r-- 1 root root 1628 Apr 19 11:00 192.168.0.1_192.168.0.1-month.png
-rw-r--r-- 1 root root 50781 Apr 19 11:05 192.168.0.1_192.168.0.1.old
-rw-r--r-- 1 root root 1771 Apr 19 11:05 192.168.0.1_192.168.0.1-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:44 192.168.0.1_192.168.0.1-year.png
-rw-r--r-- 1 root root 3235 Apr 18 22:44 index.html
-rw-r--r-- 1 root root 2283 Apr 19 11:10 localhost_192.168.0.100-day.png
-rw-r--r-- 1 root root 6798 Apr 19 11:10 localhost_192.168.0.100.html
-rw-r--r-- 1 root root 50805 Apr 19 11:10 localhost_192.168.0.100.log
-rw-r--r-- 1 root root 1573 Apr 19 10:45 localhost_192.168.0.100-month.png
-rw-r--r-- 1 root root 50785 Apr 19 11:05 localhost_192.168.0.100.old
-rw-r--r-- 1 root root 1713 Apr 19 11:05 localhost_192.168.0.100-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:42 localhost_192.168.0.100-year.png
-rw-r--r-- 1 root root 1708 Apr 19 11:10 localhost_192.168.0.104-day.png
-rw-r--r-- 1 root root 6398 Apr 19 11:10 localhost_192.168.0.104.html
-rw-r--r-- 1 root root 48506 Apr 19 11:10 localhost_192.168.0.104.log
-rw-r--r-- 1 root root 1494 Apr 19 10:45 localhost_192.168.0.104-month.png
-rw-r--r-- 1 root root 48504 Apr 19 11:05 localhost_192.168.0.104.old
-rw-r--r-- 1 root root 1550 Apr 19 11:00 localhost_192.168.0.104-week.png
-rw-r--r-- 1 root root 1698 Apr 18 22:42 localhost_192.168.0.104-year.png
-rw-r--r-- 1 root root 538 Apr 18 22:42 mrtg-l.png
-rw-r--r-- 1 root root 414 Apr 18 22:42 mrtg-m.png
-rw-r--r-- 1 root root 1759 Apr 18 22:42 mrtg-r.png
it will stays that way until i have to remove snmpd package as well as mrtg package. i even have to remove the mrtg folder and start from scratch. for the record, before i remove all the packages and files, i tried to restart snmpd service, but still no luck.
did i miss some steps? i do have to restart the httpd service because i modified httpd.conf. did i do anything wrongly?
Apr 19 2011, 11:16 AM
Quote
0.0353sec
0.28
7 queries
GZIP Disabled