MRTG ....這個 Interface 不順序去



贊助商連結


凸九龍皇!權!凸
2003-09-11, 01:14 AM
:( :( :(

為甚麼Interface 會顯示 16777219 呢??而不是順序去呢?? e.g Interface 1 , Interface 2..........

我代碼 :

# Created by
# cfgmaker public@192.168.0.1


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System: AMD
# Description: Hardware: x86 Family 6 Model 6 Stepping 2 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Uniprocessor Free)
# Contact:
# Location:
######################################################################


### Interface 1 >> Descr: 'MS-TCP-Loopback-interface' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[192.168.0.1_1]: 1:public@192.168.0.1:
# SetEnv[192.168.0.1_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="MS-TCP-Loopback-interface"
# MaxBytes[192.168.0.1_1]: 1250000
# Title[192.168.0.1_1]: Traffic Analysis for 1 -- AMD
# PageTop[192.168.0.1_1]: <H1>Traffic Analysis for 1 -- AMD</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>AMD in </TD></TR>
# <TR><TD>Maintainer:</TD> <TD></TD></TR>
# <TR><TD>Description:</TD><TD>MS-TCP-Loopback-interface </TD></TR>
# <TR><TD>ifType:</TD> <TD>softwareLoopback (24)</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
# <TR><TD>Ip:</TD> <TD>127.0.0.1 (amd)</TD></TR>
# </TABLE>


### Interface 16777219 >> Descr: '' | Name: '' | Ip: '61.238.145.1' | Eth: '00-50-fc-4c-e5-24' ###

Target[192.168.0.1_16777219]: 16777219:public@192.168.0.1:
SetEnv[192.168.0.1_16777219]: MRTG_INT_IP="61.238.145.1" MRTG_INT_DESCR=""
MaxBytes[192.168.0.1_16777219]: 1250000
Title[192.168.0.1_16777219]: Traffic Analysis for 16777219 -- AMD
PageTop[192.168.0.1_16777219]: <H1>Traffic Analysis for 16777219 -- AMD</H1>
<TABLE>
<TR><TD>System:</TD> <TD>AMD in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD> </TD></TR>
<TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
<TR><TD>ifName:</TD> <TD></TD></TR>
<TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>61.238.145.1 (061238145001.ctinets.com)</TD></TR>
</TABLE>


### Interface 16777220 >> Descr: '' | Name: '' | Ip: '192.168.0.1' | Eth: '00-50-fc-44-39-2a' ###

Target[192.168.0.1_16777220]: 16777220:public@192.168.0.1:
SetEnv[192.168.0.1_16777220]: MRTG_INT_IP="192.168.0.1" MRTG_INT_DESCR=""
MaxBytes[192.168.0.1_16777220]: 12500000
Title[192.168.0.1_16777220]: Traffic Analysis for 16777220 -- AMD
PageTop[192.168.0.1_16777220]: <H1>Traffic Analysis for 16777220 -- AMD</H1>
<TABLE>
<TR><TD>System:</TD> <TD>AMD in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD> </TD></TR>
<TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
<TR><TD>ifName:</TD> <TD></TD></TR>
<TR><TD>Max Speed:</TD> <TD>12.5 MBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.0.1 (amd)</TD></TR>
</TABLE>

贊助商連結


ahome
2003-09-11, 01:18 AM
# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

用UNIX的把# WorkDir: /home/http/mrtg前面的#拿掉 若是用NT的就拿掉NT下面的那個#

凸九龍皇!權!凸
2003-09-11, 01:26 AM
最初由 ahome 發表
# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

用UNIX的把# WorkDir: /home/http/mrtg前面的#拿掉 若是用NT的就拿掉NT下面的那個#

這個是建立目錄 , 我不是這個意思:(

凸九龍皇!權!凸
2003-09-11, 10:26 AM
我有搜尋過..........

有人和我一樣倩形

http://www.pczone.com.tw/showthread.php?t=29017