Thx for the reply m8!
But when i run the commands. It just override the "mrtg.cfg" i clear it comepletly.
I can see that the mrtg.cfg (after I have recreated the file) have the possibility to analyse more interfaces.
### Interface 1 >> Descr: 'sis0' | Name: '' | Ip: '10.0.0.3' | Eth: '' ###
Target[127.0.0.1_1]: 1
ublic@127.0.0.1:
SetEnv[127.0.0.1_1]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="sis0"
MaxBytes[127.0.0.1_1]: 1250000
Title[127.0.0.1_1]: Traffic Analysis for 1 -- dfbserver.zoq.dk
PageTop[127.0.0.1_1]: <H1>Traffic Analysis for 1 -- dfbserver.zoq.dk</H1>
<TABLE>
<TR><TD>System:</TD> <TD>dfbserver.zoq.dk in DK</TD></TR>
<TR><TD>Maintainer:</TD> <TD>webmaster@zoq.dk</TD></TR>
<TR><TD>Description:</TD><TD>sis0 </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>10.0.0.3 (dfbserver.zoq.dk)</TD></TR>
</TABLE>
### Interface 2 >> Descr: 'lp0' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is administratively DOWN
### * it is operationally DOWN
### * has a speed of 0 which makes no sense
#
# Target[127.0.0.1_2]: 2
ublic@127.0.0.1:
# SetEnv[127.0.0.1_2]: MRTG_INT_IP="" MRTG_INT_DESCR="lp0"
# MaxBytes[127.0.0.1_2]: 0
# Title[127.0.0.1_2]: Traffic Analysis for 2 -- dfbserver.zoq.dk
# PageTop[127.0.0.1_2]: <H1>Traffic Analysis for 2 -- dfbserver.zoq.dk</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>dfbserver.zoq.dk in DK</TD></TR>
# <TR><TD>Maintainer:</TD> <TD>webmaster@zoq.dk</TD></TR>
# <TR><TD>Description:</TD><TD>lp0 </TD></TR>
# <TR><TD>ifType:</TD> <TD>para (34)</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR>
</TABLE>
--------------------------------------------------------------------------------------------------------------
but I cant get it to work without override the original mrtg-config file.