[mrtg] rrdtool help

José Antonio Calderón C. jcalderon at bankguay.com
Fri Mar 14 00:37:45 MET 2003


Hi, I was install rrdtool and modify the cfg file  as show, but several errors are display. The errors are at the end of the file...  Please tell what i do wrong


The cfg file is:


RunAsDaemon: Yes
Language: spanish
# Created by 
# cfgmaker public at 172.26.65.7 --Global 'WorkDir: e:\www\carlos' --output carlos.cfg

LogFormat: rrdtool

PathAdd: C:/mrtg-2.9.25/bin
PathAdd: C:/rrdtool-1.0/perl-shared
PathAdd: C:/rrdtool-1.0/perl-shared/t
PathAdd: C:/rrdtool-1.0/src/tool_release
LibAdd: C:/rrdtool-1.0/perl-shared/
LibAdd: C:/mrtg-2.9.25/bin


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


######################################################################
# System: CVC
# Description: Hardware: x86 Family 15 Model 2 Stepping 7 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[172.26.65.7_1]: 1:public at 172.26.65.7:
# SetEnv[172.26.65.7_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="MS TCP Loopback interface"
# MaxBytes[172.26.65.7_1]: 1250000
# Title[172.26.65.7_1]: Traffic Analysis for 1 -- CVC
# PageTop[172.26.65.7_1]: <H1>Traffic Analysis for 1 -- CVC</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>CVC 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 (jacc.tjdo.com)</TD></TR>
#  </TABLE>


### Interface 16777219 >> Descr: 'Intel 8255x-based Integrated Fast Ethernet' | Name: '' | Ip: '172.26.65.7' | Eth: '00-09-6b-61-3a-b5' ###

Target[172.26.65.7_16777219]: 16777219:public at 172.26.65.7:
SetEnv[172.26.65.7_16777219]: MRTG_INT_IP="172.26.65.7" MRTG_INT_DESCR="Intel 8255x-based Integrated Fast Ethernet"
MaxBytes[172.26.65.7_16777219]: 12500000
Title[172.26.65.7_16777219]: Traffic Analysis for 16777219 -- CVC
Options[_]: growright, bits
PageTop[172.26.65.7_16777219]: <H1>Traffic Analysis for 16777219 -- CVC</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>CVC in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Intel 8255x-based Integrated Fast Ethernet  </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>172.26.65.7 (CVC)</TD></TR>
 </TABLE>


WorkDir: e:\www\carlos


the errors are:


C:\mrtg-2.9.25\bin>perl carlos.cfg
Bareword found where operator expected at carlos.cfg line 7, near "/mrtg-2.9.25/
bin"
        (Missing operator before bin?)
Bareword found where operator expected at carlos.cfg line 8, near "/rrdtool-1.0/
perl"
        (Missing operator before perl?)
Bareword found where operator expected at carlos.cfg line 9, near "/rrdtool-1.0/
perl"
        (Missing operator before perl?)
Bareword found where operator expected at carlos.cfg line 10, near "/rrdtool-1.0
/src"
        (Missing operator before rc?)
Bareword found where operator expected at carlos.cfg line 11, near "/rrdtool-1.0
/perl"
        (Missing operator before perl?)
Bareword found where operator expected at carlos.cfg line 12, near "/mrtg-2.9.25
/bin"
        (Missing operator before bin?)
Array found where operator expected at carlos.cfg line 59, at end of line
Bareword found where operator expected at carlos.cfg line 60, near ""172.26.65.7
" MRTG_INT_DESCR"
        (Missing operator before MRTG_INT_DESCR?)
Semicolon seems to be missing at carlos.cfg line 60.
Semicolon seems to be missing at carlos.cfg line 61.
Bareword found where operator expected at carlos.cfg line 62, near "-- CVC"
        (Missing operator before CVC?)
Bareword found where operator expected at carlos.cfg line 64, near "<H1>Traffic"

        (Missing operator before Traffic?)
Bareword found where operator expected at carlos.cfg line 64, near "-- CVC"
        (Missing operator before CVC?)
Bareword found where operator expected at carlos.cfg line 66, near "<TR><TD>Syst
em:</TD"
  (Might be a runaway multi-line // string starting on line 64)
        (Missing operator before TD?)
Bareword found where operator expected at carlos.cfg line 66, near "<TD>CVC"
        (Missing operator before CVC?)
Bareword found where operator expected at carlos.cfg line 67, near "<TR><TD>Main
tainer:</TD"
  (Might be a runaway multi-line // string starting on line 66)
        (Missing operator before TD?)
Bareword found where operator expected at carlos.cfg line 67, near "/TD></TR"
        (Missing operator before TR?)
Number found where operator expected at carlos.cfg line 68, near "Intel 8255"
        (Do you need to predeclare Intel?)
Bareword found where operator expected at carlos.cfg line 69, near "<TR><TD>ifTy
pe:</TD"
  (Might be a runaway multi-line // string starting on line 68)
        (Missing operator before TD?)
Bareword found where operator expected at carlos.cfg line 69, near "<TD>ethernet
Csmacd"
        (Missing operator before ethernetCsmacd?)
Bareword found where operator expected at carlos.cfg line 69, near "/TD></TR"
        (Missing operator before TR?)
Bareword found where operator expected at carlos.cfg line 71, near "<TR><TD>Max
Speed:</TD"
  (Might be a runaway multi-line // string starting on line 70)
        (Missing operator before TD?)
Number found where operator expected at carlos.cfg line 71, near "<TD>12.5"
        (Missing operator before 12.5?)
Bareword found where operator expected at carlos.cfg line 71, near "12.5 MBytes"

        (Missing operator before MBytes?)
Bareword found where operator expected at carlos.cfg line 72, near "<TD>Ip"
        (Missing operator before Ip?)
Bareword found where operator expected at carlos.cfg line 72, near "/TD></TR"
        (Missing operator before TR?)
Semicolon seems to be missing at carlos.cfg line 75.
Backslash found where operator expected at carlos.cfg line 76, near "www\"
syntax error at carlos.cfg line 5, near "spanish
# Created by
# cfgmaker public at 172.26.65.7 --Global 'WorkDir: e:\www\carlos' --output carlos.
cfg

LogFormat:"
Execution of carlos.cfg aborted due to compilation errors.


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