[mrtg] Re: Help with MRTG on WinXP box, dynamic IP

Evan Platt eplatt at 3wci.com
Fri Jan 3 23:35:42 MET 2003


I posted a while back a few issues I was having with MRTG on a XP box with 
a dynamic IP. Well, Scott Rochford has been helping back and forth, but 
still no luck, so I thought i'd post back here for maybe a second 
opinion...  I deleted ALL my mrtg files, i.e. .log, .old, the html files, 
etc. I recreated the .CFG from scratch. I've removed all the remmed lines 
to save space (except the top line). Any help again is appreciated. Thanks. )

Evan

# Created by
# cfgmaker public at 127.0.0.1 --global 'WorkDir F\www\mrtg' --output mrtg.cfg


### Interface 65539 >> Descr 'Linksys LNE100TX Fast Ethernet 
Adapter(LNE100TX v4) - Packet Scheduler Miniport' | Name '' | Ip 
'169.254.152.47' | Eth '00-03-6d-1a-14-92' ###

Target[127.0.0.1_65539] 65539public at 127.0.0.1
SetEnv[127.0.0.1_65539] MRTG_INT_IP="169.254.152.47" 
MRTG_INT_DESCR="Linksys LNE100TX Fast Ethernet Adapter(LNE100TX v4) - 
Packet Scheduler Miniport"
MaxBytes[127.0.0.1_65539] 12500000
Title[127.0.0.1_65539] Traffic Analysis for 65539 -- ESPPHOTO
PageTop[127.0.0.1_65539] <H1>Traffic Analysis for 65539 -- ESPPHOTO</H1>
  <TABLE>
    <TR><TD>System</TD>     <TD>ESPPHOTO in </TD></TR>
    <TR><TD>Maintainer</TD> <TD></TD></TR>
    <TR><TD>Description</TD><TD>Linksys LNE100TX Fast Ethernet 
Adapter(LNE100TX v4) - Packet Scheduler Miniport  </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>169.254.152.47 (ESPPHOTO)</TD></TR>
  </TABLE>


### Interface 131076 >> Descr 'WAN (PPP/SLIP) Interface' | Name '' | Ip 
'64.175.239.95' | Eth '00-53-45-00-00-00' ###

Target[127.0.0.1_131076] 131076public at 127.0.0.1
SetEnv[127.0.0.1_131076] MRTG_INT_IP="64.175.239.95" MRTG_INT_DESCR="WAN 
(PPP/SLIP) Interface"
MaxBytes[127.0.0.1_131076] 12500000
Title[127.0.0.1_131076] Traffic Analysis for 131076 -- ESPPHOTO
PageTop[127.0.0.1_131076] <H1>Traffic Analysis for 131076 -- ESPPHOTO</H1>
  <TABLE>
    <TR><TD>System</TD>     <TD>ESPPHOTO in </TD></TR>
    <TR><TD>Maintainer</TD> <TD></TD></TR>
    <TR><TD>Description</TD><TD>WAN (PPP/SLIP) Interface  </TD></TR>
    <TR><TD>ifType</TD>     <TD>ppp (23)</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>64.175.239.95 (espphoto)</TD></TR>
  </TABLE>


WorkDir F\www\mrtg

Upon running perl mrtg.cfg

Array found where operator expected at mrtg.cfg line 49, at end of line
Bareword found where operator expected at mrtg.cfg line 50, near 
""169.254.152.4
7" MRTG_INT_DESCR"
         (Missing operator before MRTG_INT_DESCR?)
Semicolon seems to be missing at mrtg.cfg line 50.
Semicolon seems to be missing at mrtg.cfg line 51.
Bareword found where operator expected at mrtg.cfg line 52, near "-- ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 53, near "<H1>Traffic"
         (Missing operator before Traffic?)
Bareword found where operator expected at mrtg.cfg line 53, near "-- ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 55, near 
"<TR><TD>System
</TD"
   (Might be a runaway multi-line // string starting on line 53)
         (Missing operator before TD?)
Bareword found where operator expected at mrtg.cfg line 55, near "<TD>ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 56, near 
"<TR><TD>Mainta
iner</TD"
   (Might be a runaway multi-line // string starting on line 55)
         (Missing operator before TD?)
Bareword found where operator expected at mrtg.cfg line 56, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 57, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 58, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 60, near 
"<TR><TD>Max Sp
eed</TD"
   (Might be a runaway multi-line // string starting on line 59)
         (Missing operator before TD?)
Number found where operator expected at mrtg.cfg line 60, near "<TD>12.5"
         (Missing operator before 12.5?)
Bareword found where operator expected at mrtg.cfg line 60, near "12.5 MBytes"
         (Missing operator before MBytes?)
Bareword found where operator expected at mrtg.cfg line 61, near "<TD>Ip"
         (Missing operator before Ip?)
Bareword found where operator expected at mrtg.cfg line 61, near "/TD></TR"
         (Missing operator before TR?)
Semicolon seems to be missing at mrtg.cfg line 66.
Array found where operator expected at mrtg.cfg line 67, at end of line
Bareword found where operator expected at mrtg.cfg line 68, near 
""64.175.239.95
" MRTG_INT_DESCR"
         (Missing operator before MRTG_INT_DESCR?)
Semicolon seems to be missing at mrtg.cfg line 68.
Semicolon seems to be missing at mrtg.cfg line 69.
Bareword found where operator expected at mrtg.cfg line 70, near "-- ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 71, near "<H1>Traffic"
         (Missing operator before Traffic?)
Bareword found where operator expected at mrtg.cfg line 71, near "-- ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 73, near 
"<TR><TD>System
</TD"
   (Might be a runaway multi-line // string starting on line 71)
         (Missing operator before TD?)
Bareword found where operator expected at mrtg.cfg line 73, near "<TD>ESPPHOTO"
         (Missing operator before ESPPHOTO?)
Bareword found where operator expected at mrtg.cfg line 74, near 
"<TR><TD>Mainta
iner</TD"
   (Might be a runaway multi-line // string starting on line 73)
         (Missing operator before TD?)
Bareword found where operator expected at mrtg.cfg line 74, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 75, near ") Interface"
         (Missing operator before Interface?)
Bareword found where operator expected at mrtg.cfg line 75, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 76, near "/TD></TR"
         (Missing operator before TR?)
Bareword found where operator expected at mrtg.cfg line 78, near 
"<TR><TD>Max Sp
eed</TD"
   (Might be a runaway multi-line // string starting on line 77)
         (Missing operator before TD?)
Number found where operator expected at mrtg.cfg line 78, near "<TD>12.5"
         (Missing operator before 12.5?)
Bareword found where operator expected at mrtg.cfg line 78, near "12.5 MBytes"
         (Missing operator before MBytes?)
Bareword found where operator expected at mrtg.cfg line 79, near "<TD>Ip"
         (Missing operator before Ip?)
Bareword found where operator expected at mrtg.cfg line 79, near "/TD></TR"
         (Missing operator before TR?)
Semicolon seems to be missing at mrtg.cfg line 82.
Backslash found where operator expected at mrtg.cfg line 83, near "www\"
syntax error at mrtg.cfg line 49, near "Target["
Execution of mrtg.cfg aborted due to compilation errors.

CFG

# Created by
# cfgmaker public at 127.0.0.1 --global 'WorkDir F\www\mrtg' --output mrtg.cfg

### Interface 65539 >> Descr 'Linksys LNE100TX Fast Ethernet 
Adapter(LNE100TX v4) - Packet Scheduler Miniport' | Name '' | Ip 
'169.254.152.47' | Eth '00-03-6d-1a-14-92' ###

Target[127.0.0.1_65539] 65539public at 127.0.0.1
SetEnv[127.0.0.1_65539] MRTG_INT_IP="169.254.152.47" 
MRTG_INT_DESCR="Linksys LNE100TX Fast Ethernet Adapter(LNE100TX v4) - 
Packet Scheduler Miniport"
MaxBytes[127.0.0.1_65539] 12500000
Title[127.0.0.1_65539] Traffic Analysis for 65539 -- ESPPHOTO
PageTop[127.0.0.1_65539] <H1>Traffic Analysis for 65539 -- ESPPHOTO</H1>
  <TABLE>
    <TR><TD>System</TD>     <TD>ESPPHOTO in </TD></TR>
    <TR><TD>Maintainer</TD> <TD></TD></TR>
    <TR><TD>Description</TD><TD>Linksys LNE100TX Fast Ethernet 
Adapter(LNE100TX v4) - Packet Scheduler Miniport  </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>169.254.152.47 (ESPPHOTO)</TD></TR>
  </TABLE>


### Interface 131076 >> Descr 'WAN (PPP/SLIP) Interface' | Name '' | Ip 
'64.175.239.95' | Eth '00-53-45-00-00-00' ###

Target[127.0.0.1_131076] 131076public at 127.0.0.1
SetEnv[127.0.0.1_131076] MRTG_INT_IP="64.175.239.95" MRTG_INT_DESCR="WAN 
(PPP/SLIP) Interface"
MaxBytes[127.0.0.1_131076] 12500000
Title[127.0.0.1_131076] Traffic Analysis for 131076 -- ESPPHOTO
PageTop[127.0.0.1_131076] <H1>Traffic Analysis for 131076 -- ESPPHOTO</H1>
  <TABLE>
    <TR><TD>System</TD>     <TD>ESPPHOTO in </TD></TR>
    <TR><TD>Maintainer</TD> <TD></TD></TR>
    <TR><TD>Description</TD><TD>WAN (PPP/SLIP) Interface  </TD></TR>
    <TR><TD>ifType</TD>     <TD>ppp (23)</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>64.175.239.95 (espphoto)</TD></TR>
  </TABLE>

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