hi , everyone, help!!!
I set up and configure mrtg on linux , and do these OK.
but when I visit
http://192.168.9.47/mrtg (my mrtg url) it shows a html, content is below:
Index of /mrtg
Name Last modified Size Description-------------------------------------------------------------------------------- Parent Directory -
cfgmaker.html 01- 9??-2004 14:40 53K
contrib.html 01- 9??-2004 14:40 3.4K
faq.html 01- 9??-2004 14:40 6.1K
forum.html 01- 9??-2004 14:40 4.8K
index.html 01- 9??-2004 14:40 21K
indexmaker.html 01- 9??-2004 14:40 9.9K
logfile.html 01- 9??-2004 14:40 4.2K
mibhelp.html 01- 9??-2004 14:40 7.7K
mrtg-l.gif 01- 9??-2004 14:40 343
mrtg-l.png 01- 9??-2004 14:40 538
mrtg-m.gif 01- 9??-2004 14:40 1.1K
mrtg-m.png 01- 9??-2004 14:40 414
mrtg-r.gif 01- 9??-2004 14:40 1.7K
mrtg-r.png 01- 9??-2004 14:40 1.7K
mrtg-rrd.html 01- 9??-2004 14:40 5.9K
mrtg-ti.gif 01- 9??-2004 14:40 4.6K
mrtg-ti.png 01- 9??-2004 14:40 4.2K
mrtg.html 01- 9??-2004 14:40 9.5K
mrtglib.html 01- 9??-2004 14:40 10K
nt-guide.html 01- 9??-2004 14:40 14K
reference.html 01- 9??-2004 14:40 57K
squid.html 01- 9??-2004 14:40 4.2K
unix-guide.html 01- 9??-2004 14:40 12K
webserver.html 01- 9??-2004 14:40 2.7K
but every pages I go into ,just find document content about introduction , no information useful about traffic at all
in my /etc/mrtg.cfg , I found all content was commented out, such as:
### Interface 3 >> Descr: 'eth1' | Name: '' | Ip: '' | Eth: '00-02-55-21-28-64' ###
### The following interface is commented out because:
### * --ifref=ip is not unique for this interface
#
# Target[192.168.9.47_3]: 3
ublic@192.168.9.47:
# SetEnv[192.168.9.47_3]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
# MaxBytes[192.168.9.47_3]: 1250000
# Title[192.168.9.47_3]: Traffic Analysis for 3 -- LinuxAS
# PageTop[192.168.9.47_3]: <H1>Traffic Analysis for 3 -- LinuxAS</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>LinuxAS in Unknown (edit /etc/snmp/snmpd.conf)</TD></TR>
# <TR><TD>Maintainer:</TD> <TD>Root <root@localhost> (configure /etc/snmp/snmp.local.conf)</TD></TR>
# <TR><TD>Description:</TD><TD>eth1 </TD></TR>
# <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>10.0 Mbits/s</TD></TR>
# </TABLE>
it says: ip is not unique for this interface
but it is factly unique in my network. and i run "ifconfig" it is unique too.
eth0 Link encap:Ethernet HWaddr 00:04:AC
8:A9:2A
inet addr:192.168.9.47 Bcast:192.168.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9260542 errors:0 dropped:0 overruns:0 frame:0
TX packets:357313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:438713310 (418.3 Mb) TX bytes:408502441 (389.5 Mb)
Interrupt:10 Base address:0xdc00 Memory:df201000-df201038
eth1 Link encap:Ethernet HWaddr 00:02:55:21:28:64
inet addr:61.146.42.26 Bcast:61.146.42.31 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:381058 errors:1 dropped:0 overruns:0 frame:1
TX packets:268843 errors:155 dropped:0 overruns:0 carrier:155
collisions:205964 txqueuelen:1000
RX bytes:403041995 (384.3 Mb) TX bytes:18284573 (17.4 Mb)
Interrupt:11 Base address:0xe000 Memory:df200000-df200038
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:981 errors:0 dropped:0 overruns:0 frame:0
TX packets:981 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:109345 (106.7 Kb) TX bytes:109345 (106.7 Kb)
why???
Hope your reply , thank you very much