[mrtg] Indexmaker woes

Robert Gahl bgahl at fireclick.com
Thu Apr 5 18:26:14 MEST 2001

Alas, another newbie question more than likely :(

I just started using MRTG and have been successful in getting mrtg to 
collect data on three of our routers, and when looking at the subsequent 
html pages it generates, they all look just fine. However, when I run 
indexmaker, all I get is the MRTG banner data and a page with basically no 

If I run the indexmaker command by hand, I get the following error:

/usr/local/mrtg-2/bin/indexmaker --columns=1 --filter title=~64.210.184 \
      --title="Global Center"                                            \
      --output=/home/fireclick/www/groups/noc/GlobalCenter.html          \
Use of uninitialized value at /usr/local/mrtg-2/bin/indexmaker line 174.
--base: Writing /home/fireclick/www/groups/noc/GlobalCenter.html

Inspecting the perl code in indexmaker, this is assigning some text to the 
variable $index (if memory serves). I have tried putting ECHO in single 
quote, double quotes, back quotes and even changing the ECHO tag to 
something else without success.

I have tried various --filter logic, have removed the --columns=1, changed 
--columns greater than 2, etc. I've scanned the FAQ for a remedy here, but 
haven't had a lot of luck.

The applicable bit from the mrtg.cfg file is:

### Interface 1 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip: 
0' | Eth: '00-01-96-d3-8e-e0' ###

Target[]: \FastEthernet0/0:public at
SetEnv[]: MRTG_INT_IP="" 
MaxBytes[]: 12500000
Title[]: FastEthernet0/0 External to Globalcenter
  -- cisco_3640_gblctr
PageTop[]: <H1>FastEthernet0/0 External to 
enter  -- cisco_3640_gblctr</H1>
    <TR><TD>System:</TD>     <TD>cisco_3640_gblctr in </TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD>FastEthernet0/0 External to Globalcenter 
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD>     <TD>Fa0/0</TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD> ()</TD></TR>

Any suggestions as to what I am doing wrong here?

Bob Gahl Bicycle (Ryan Vanguard) Mobile ||     @
   ARPA/Internet: bgahl at fireclick.com    ||  !_ \
     URL: http://www.fireclick.com/      ||  (*)-~--+--(*)
"If you're trying to be politically correct you're like a chameleon
in front of a mirror. What can you say that won't be offensive to
somebody?" Robin Williams

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