Hard to tell from the information given. looks like a workdir problem.

Because you are just starting to work with MRTG I would highly recommend that 
you reinstall it and use rrdtools and routers.cgi in place of the standard log 
lives.  life will be better for you with this setup.





________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Emily
Sent: Tuesday, January 05, 2010 12:53 PM
To: [email protected]
Subject: [mrtg] adding second device not generating data - advice needed

Hello, I have added a 2nd device to my mrtg but it's not capturing any data :-( 
 I'm pretty to new to linux and just started working with mrtg

so on my index page, I have 6 graphs, 3 from one router (which are showing nice 
traffic - 65.205.26.196) and 3 from newly added router (65.205.26.197)which has 
no traffic showing.
I am running Fedora 9, mrtg-2...I stopped mrtg and restarted it and I stopped & 
started httpd

these are my commands... any help would be greatly appreciated.

[r...@dns mrtg]# cd /usr/local/mrtg-2/bin
[r...@dns bin]# ./cfgmaker --output=/home/mrtg/cfg/rtr2.cfg \
> --global "workdir: /var/www/html" \
> --global 'options[_]: growright,bits' \
> [email protected]<mailto:[email protected]>
[r...@dns bin]# env LANG=C ./mrtg /home/mrtg/cfg/mrtg.cfg 
/home/mrtg/cfg/rtr2.cfg
Daemonizing MRTG ...
[r...@dns bin]# pwd
/usr/local/mrtg-2/bin
[r...@dns bin]# ./indexmaker --output=/var/www/html/index.html \
> /home/mrtg/cfg/mrtg.cfg /home/mrtg/cfg/rtr2.cfg
[r...@dns bin]#
[r...@dns html]# cd /usr/local/mrtg-2/bin
[r...@dns bin]# env LANG=C ./mrtg /home/mrtg/cfg/rtr2.cfg
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not 
read the primary log file for 65.205.26.197_3
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup 
log file for 65.205.26.197_3 was invalid as well
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove 
65.205.26.197_3.old updating log file
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't rename 
65.205.26.197_3.log to 65.205.26.197_3.old updating log file
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not 
read the primary log file for 65.205.26.197_5
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup 
log file for 65.205.26.197_5 was invalid as well
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove 
65.205.26.197_5.old updating log file
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't rename 
65.205.26.197_5.log to 65.205.26.197_5.old updating log file
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not 
read the primary log file for 65.205.26.197_6
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup 
log file for 65.205.26.197_6 was invalid as well
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove 
65.205.26.197_6.old updating log file
2010-01-05 09:39:22, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't rename 
65.205.26.197_6.log to 65.205.26.197_6.old updating log file
[r...@dns bin]# cd /var/www/html
[r...@dns html]# ls -lat
total 752
drwxr-xr-x 3 root root  4096 2010-01-05 09:39 .
-rw-r--r-- 1 root root  2125 2010-01-05 09:39 65.205.26.196_3-day.png
-rw-r--r-- 1 root root  6800 2010-01-05 09:39 65.205.26.196_3.html
-rw-r--r-- 1 root root 58701 2010-01-05 09:39 65.205.26.196_3.log
-rw-r--r-- 1 root root  4390 2010-01-05 09:39 65.205.26.196_5-day.png
-rw-r--r-- 1 root root  6903 2010-01-05 09:39 65.205.26.196_5.html
-rw-r--r-- 1 root root 71755 2010-01-05 09:39 65.205.26.196_5.log
-rw-r--r-- 1 root root  2398 2010-01-05 09:39 65.205.26.196_6-day.png
-rw-r--r-- 1 root root  6859 2010-01-05 09:39 65.205.26.196_6.html
-rw-r--r-- 1 root root 67985 2010-01-05 09:39 65.205.26.196_6.log
-rw-r--r-- 1 root root  2925 2010-01-05 09:39 65.205.26.196_6-week.png
-rw-r--r-- 1 root root  1414 2010-01-05 09:39 65.205.26.197_3-day.png
-rw-r--r-- 1 root root  6508 2010-01-05 09:39 65.205.26.197_3.html
-rw-r--r-- 1 root root 48179 2010-01-05 09:39 65.205.26.197_3.log
-rw-r--r-- 1 root root  1345 2010-01-05 09:39 65.205.26.197_3-month.png
-rw-r--r-- 1 root root  1380 2010-01-05 09:39 65.205.26.197_3-week.png
-rw-r--r-- 1 root root  1674 2010-01-05 09:39 65.205.26.197_3-year.png
-rw-r--r-- 1 root root  1414 2010-01-05 09:39 65.205.26.197_5-day.png
-rw-r--r-- 1 root root  6456 2010-01-05 09:39 65.205.26.197_5.html
-rw-r--r-- 1 root root 48178 2010-01-05 09:39 65.205.26.197_5.log
-rw-r--r-- 1 root root  1345 2010-01-05 09:39 65.205.26.197_5-month.png
-rw-r--r-- 1 root root  1380 2010-01-05 09:39 65.205.26.197_5-week.png
-rw-r--r-- 1 root root  1674 2010-01-05 09:39 65.205.26.197_5-year.png
-rw-r--r-- 1 root root  1414 2010-01-05 09:39 65.205.26.197_6-day.png
-rw-r--r-- 1 root root  6456 2010-01-05 09:39 65.205.26.197_6.html
-rw-r--r-- 1 root root 48177 2010-01-05 09:39 65.205.26.197_6.log
-rw-r--r-- 1 root root  1345 2010-01-05 09:39 65.205.26.197_6-month.png
-rw-r--r-- 1 root root  1380 2010-01-05 09:39 65.205.26.197_6-week.png
-rw-r--r-- 1 root root  1674 2010-01-05 09:39 65.205.26.197_6-year.png
-rw-r--r-- 1 root root  3972 2010-01-05 09:35 index.html
-rw-r--r-- 1 root root 58701 2010-01-05 09:34 65.205.26.196_3.old
-rw-r--r-- 1 root root 71755 2010-01-05 09:34 65.205.26.196_5.old
-rw-r--r-- 1 root root 67985 2010-01-05 09:34 65.205.26.196_6.old
drwxr-xr-x 2 root root  4096 2010-01-05 09:29 mrtg
-rw-r--r-- 1 root root  2439 2010-01-05 09:21 65.205.26.196_3-week.png
-rw-r--r-- 1 root root  4741 2010-01-05 09:21 65.205.26.196_5-week.png
-rw-r--r-- 1 root root  3397 2010-01-05 09:21 65.205.26.196_6-month.png
-rw-r--r-- 1 root root  2748 2010-01-05 08:46 65.205.26.196_3-month.png
-rw-r--r-- 1 root root  4146 2010-01-05 08:01 65.205.26.196_5-month.png
-rw-r--r-- 1 root root  2052 2010-01-04 10:14 65.205.26.196_3-year.png
-rw-r--r-- 1 root root  2273 2010-01-04 10:14 65.205.26.196_5-year.png
-rw-r--r-- 1 root root  2119 2010-01-04 10:14 65.205.26.196_6-year.png
-rw-r--r-- 1 root root   538 2009-12-15 10:00 mrtg-l.png
-rw-r--r-- 1 root root   414 2009-12-15 10:00 mrtg-m.png
-rw-r--r-- 1 root root  1759 2009-12-15 10:00 mrtg-r.png
drwxr-xr-x 8 root root  4096 2009-12-14 15:01 ..
[r...@dns html]#
EnableIPv6: no
WorkDir: /var/www/html
Options[_]: bits,growright
RunasDaemon: Yes
######################################################################
# System: Core-RTR1-MiddleT.experis.com<http://Core-RTR1-MiddleT.experis.com>
[r...@dns cfg]# vi rtr2.cfg
[r...@dns cfg]#

________________________________
Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively,
this 'Email') are intended only for the confidential use of
the recipient(s) named above. If the reader of this message
is not the intended recipient named above or an agent
responsible for delivering it to the intended recipient
named above, you have received this Email in error.
Please notify the sender immediately and permanently delete
this Email and any copies thereof.
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to