[mrtg] Re: MRTG on RedHat Linux 9

Aklei G. Kessy aklei at habari.co.tz
Sat Aug 16 18:09:11 MEST 2003


Hi Cliff 
here is the copy of the mrtg.cfg file


# Created by 
# /usr/bin/cfgmaker --global 'WorkDir: /var/www/html/mrtg' --global 
'Option[_]: bits,growright' --output /home/mrtg/switch/mrtg.cfg 
xxxxxxx at abc.efg.hij.klm


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

WorkDir: /var/www/html/mrtg
Option[_]: bits,growright

######################################################################
# System: Switch
# Description: Cisco Internetwork Operating System Software 
#          IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, 
RELEASE SOFTWARE (fc1)
#          Copyright (c) 1986-2002 by cisco Systems, Inc.
#          Compiled Wed 28-Aug-02 10:25 by antonino
# Contact: 
# Location: 
######################################################################


### Interface 1 >> Descr: 'FastEthernet0/1' | Name: 'Fa0/1' | Ip: '' | Eth: 
'00-0b-5f-c9-af-01' ###
####
Target[abc.def.ghi.jkl_1]: 1:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_1]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/1"
MaxBytes[abc.def.ghi.jkl_1]: 1250000
Title[abc.def.ghi.jkl_1]: Traffic Analysis for Themi-Duluti
PageTop[abc.def.ghi.jkl_1]: <H1>Traffic Analysis for Themi-Duluti</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/1 Themi-Duluti </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/1</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
 </TABLE>


### Interface 2 >> Descr: 'FastEthernet0/2' | Name: 'Fa0/2' | Ip: '' | Eth: 
'00-0b-5f-c9-af-02' ###

Target[abc.def.ghi.jkl_2]: 2:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_2]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/2"
MaxBytes[abc.def.ghi.jkl_2]: 1250000
Title[abc.def.ghi.jkl_2]: Traffic Analysis for Themi-East
PageTop[abc.def.ghi.jkl_2]: <H1>Traffic Analysis for Themi-East</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/2 Themi-East </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/2</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
 </TABLE>


### Interface 3 >> Descr: 'FastEthernet0/3' | Name: 'Fa0/3' | Ip: '' | Eth: 
'00-0b-5f-c9-af-03' ###

Target[abc.def.ghi.jkl_3]: 3:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_3]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/3"
MaxBytes[abc.def.ghi.jkl_3]: 1250000
Title[abc.def.ghi.jkl_3]: Traffic Analysis for Themi-Pannel
PageTop[abc.def.ghi.jkl_3]: <H1>Traffic Analysis for Themi-Pannel</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/3 Themi-Pannel </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/3</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
 </TABLE>


### Interface 4 >> Descr: 'FastEthernet0/4' | Name: 'Fa0/4' | Ip: '' | Eth: 
'00-0b-5f-c9-af-04' ###

Target[abc.def.ghi.jkl_4]: 4:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_4]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/4"
MaxBytes[abc.def.ghi.jkl_4]: 1250000
Title[abc.def.ghi.jkl_4]: Traffic Analysis for Themi-Bridge
PageTop[abc.def.ghi.jkl_4]: <H1>Traffic Analysis for Themi-Bridge</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/4 Themi-Bridge </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/4</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
 </TABLE>


### Interface 5 >> Descr: 'FastEthernet0/5' | Name: 'Fa0/5' | Ip: '' | Eth: 
'00-0b-5f-c9-af-05' ###

Target[abc.def.ghi.jkl_5]: 5:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_5]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/5"
MaxBytes[abc.def.ghi.jkl_5]: 1250000
Title[abc.def.ghi.jkl_5]: Traffic Analysis for Themi-Town
PageTop[abc.def.ghi.jkl_5]: <H1>Traffic Analysis for Themi-Town</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/5 Themi-Town </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/5</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
 </TABLE>


### Interface 6 >> Descr: 'FastEthernet0/6' | Name: 'Fa0/6' | Ip: '' | Eth: 
'00-0b-5f-c9-af-06' ###

Target[abc.def.ghi.jkl_6]: 6:xxxxxxxxx at abc.def.ghi.jkl:
SetEnv[abc.def.ghi.jkl_6]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/6"
MaxBytes[abc.def.ghi.jkl_6]: 12500000
Title[abc.def.ghi.jkl_6]: Traffic Analysis for 3ComSwitch
PageTop[abc.def.ghi.jkl_6]: <H1>Traffic Analysis for 3ComSwitch</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet0/6  </TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/6</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
 </TABLE>





On Saturday 16 August 2003 06:54, Cliff wrote:
> Hello Aklei,
>
> Friday, August 15, 2003, 6:31:27 AM, you wrote:
>
> AGK> Hello everyone,
>
> AGK> I'm trying to run mrtg on RedHat Linux 9 and it gives me the following
> error AGK> when i run this command
>
> AGK> /usr/bin/mrtg  /home/mrtg/<device>/mrtg.cfg
>
> AGK> ERROR: CFG Error unknown Option "option" on line 34 or above
> AGK>                 check doc/reference.txt for help
>
> Post a copy of the actual config file.

-- 
========================================================= 
AKLEI G. KESSY 		|| Tell me and i'll forget, 
AFAM LTD. 		|| Show me and i may remember, 
P.O.BOX 1215 		|| Involve me and i'll understand. 
ARUSHA, TANZANIA 	|| Chinese proverb. 
 
Mobile: 255 744 273240 
 
Office tel: 255 27 2507508/2504220 
 
"If i have seen further is by standing on the shoulders of giants" 
Isaac Newton 
========================================================= 

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