[mrtg] error message running perl mrtg

Dan Tran dantran5 at yahoo.com
Wed Jul 31 19:37:32 MEST 2002


C:\mrtg-2.9.18\bin>perl cfgmaker public at 172.16.12.92 --output x.txt
--base: Get Device Info on public at 172.16.12.92:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public at 172.16.12.92: Descr lo0 --> 1
--snpo: confcache public at 172.16.12.92: Descr hme0 --> 2
--snpo: confcache public at 172.16.12.92: Ip 127.0.0.1 --> 1
--snpo: confcache public at 172.16.12.92: Ip 172.16.12.92 --> 2
--snpo: confcache public at 172.16.12.92: Type 24 --> 1
--snpo: confcache public at 172.16.12.92: Type 6 --> 2
--snpo: confcache public at 172.16.12.92: Eth  --> 1
--snpo: confcache public at 172.16.12.92: Eth 08-00-20-ce-8a-8a --> 2
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifSpeed
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Writing x.txt


C:\MRTG-2~1.18\bin>perl mrtg x.txt
Use of uninitialized value in addition (+) at
C:/MRTG-2~1.18/bin\..\lib\mrtg2/BER.pm line 647.
substr outside of string at C:/MRTG-2~1.18/bin\..\lib\mrtg2/BER.pm line 649.
Use of uninitialized value in string eq at
C:/MRTG-2~1.18/bin\..\lib\mrtg2/BER.pm line 331.
substr outside of string at C:/MRTG-2~1.18/bin\..\lib\mrtg2/BER.pm line 613.
ERROR: Target[172.16.12.92_2][_OUT_] ' $$target[0]{$mode} ' did not eval
into defined data
Use of uninitialized value in pattern match (m//) at mrtg line 262.
Use of uninitialized value in numeric lt (<) at mrtg line 269.


Below is the output of x.txt file:

# Created by
# cfgmaker public at 172.16.12.92 --output x.txt


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
WorkDir: d:\inetpub\wwwroot\mrtg

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System: snetmgt2
# Description: SunOS snetmgt2 5.7 Generic_106541-17 sun4u
# Contact: IBG Network Engineering
# Location: IBG IDC
######################################################################


### Interface 1 >> Descr: 'lo0' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[172.16.12.92_1]: 1:public at 172.16.12.92:
# SetEnv[172.16.12.92_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo0"
# MaxBytes[172.16.12.92_1]: 1250000
# Title[172.16.12.92_1]: Traffic Analysis for 1 -- snetmgt2
# PageTop[172.16.12.92_1]: <H1>Traffic Analysis for 1 -- snetmgt2</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>snetmgt2 in IBG IDC</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>IBG Network Engineering </TD></TR>
#    <TR><TD>Description:</TD><TD>lo0  </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 (dtran)</TD></TR>
#  </TABLE>


### Interface 2 >> Descr: 'hme0' | Name: '' | Ip: '172.16.12.92' | Eth:
'08-00-20-ce-8a-8a' ###

Target[172.16.12.92_2]: 2:public at 172.16.12.92:
SetEnv[172.16.12.92_2]: MRTG_INT_IP="172.16.12.92" MRTG_INT_DESCR="hme0"
MaxBytes[172.16.12.92_2]: 12500000
Title[172.16.12.92_2]: Traffic Analysis for 2 -- snetmgt2
PageTop[172.16.12.92_2]: <H1>Traffic Analysis for 2 -- snetmgt2</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>snetmgt2 in IBG IDC</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>IBG Network Engineering </TD></TR>
   <TR><TD>Description:</TD><TD>hme0  </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.16.12.92
(snetmgt2.downeysavings.com)</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