[mrtg] Re: this will work

HTB kerasakti at nusa.net.id
Tue Jul 22 09:28:05 MEST 2003


# export LANG=C
# /usr/local/mrtg-2/bin/mrtg /usr/local/httpd/htdocs/cfg/mrtg.cfg
ERROR: Line 18 (/usr/local/httpd/htdocs/mrtg) in CFG file (/usr/local/httpd/htdocs/cfg/mrtg.cfg)  does not make sense
line 18 (/usr/local/httpd/htdocs/mrtg)

#mrtg.cfg
# Created by
# /usr/local/mrtg-2/bin/cfgmaker --global /usr/local/httpd/htdocs/mrtg --global 'Options[_]: bits,growright' --output /usr/local/httpd/htdocs/cfg/mrtg.cfg public at 192.168.100.231


### 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

/usr/local/httpd/htdocs/mrtg  
Options[_]: bits,growright

######################################################################
# System: canang medan
# Description: KarlBridge/Router v4.31 SN-03UT14220241 V3.83
# Contact:
# Location: medan
######################################################################


### Interface 1 >> Descr: 'AMD-PCNetISA' | Name: '' | Ip: '192.168.100.231' | Eth: '00-02-2d-4d-7b-6e' ###
Target[192.168.100.231_1]: 1:public at 192.168.100.231:
SetEnv[192.168.100.231_1]: MRTG_INT_IP="192.168.100.231" MRTG_INT_DESCR="AMD-PCNetISA"
MaxBytes[192.168.100.231_1]: 1250000
Title[192.168.100.231_1]: Traffic Analysis for 1 -- canang medan
PageTop[192.168.100.231_1]: <H1>Traffic Analysis for 1 -- canang medan</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>canang medan in medan</TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>AMD-PCNetISA  </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>
   <TR><TD>Ip:</TD>         <TD>192.168.100.231 ()</TD></TR>
 </TABLE>


### Interface 2 >> Descr: 'WaveLAN/IEEE-STA-Var=2-Ver=7.52' | Name: '' | Ip: '192.168.253.253' | Eth: '00-02-2d-8f-e2-a4' ###

Target[192.168.100.231_2]: 2:public at 192.168.100.231:
SetEnv[192.168.100.231_2]: MRTG_INT_IP="192.168.253.253" MRTG_INT_DESCR="WaveLAN/IEEE-STA-Var=2-Ver=7.52"
MaxBytes[192.168.100.231_2]: 1375000
Title[192.168.100.231_2]: Traffic Analysis for 2 -- canang medan
PageTop[192.168.100.231_2]: <H1>Traffic Analysis for 2 -- canang medan</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>canang medan in medan</TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>WaveLAN/IEEE-STA-Var=2-Ver=7.52  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
<TR><TD>Max Speed:</TD>  <TD>11.0 Mbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.168.253.253 ()</TD></TR>
 </TABLE>


pls help me to configure

regards
HTB




  ----- Original Message ----- 
  From: Vinod 
  To: kerasakti at nusa.net.id 
  Sent: Monday, July 21, 2003 9:19 PM
  Subject: this will work


  #env LANG=C /usr/local/mrtg-2/bin/mrtg /usr/local/httpd/htdocs/cfg/mrtg.cfg


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list