[mrtg] Re: MRTG: indexmaker pagetop error
Simon Watts
swatts at connect.com.au
Mon Jan 26 23:19:29 MET 2004
Daryl,
You have told indexmaker to use the description field as the graph
name on the index page, (with the --section=description option).
This option relies on the part of the PageTop field that looks like
this:
<TR><TD>Description:</TD><TD>FastEthernet1/0/0 blah blah blah </TD></TR>
Your configuration does not have this line, so indexmaker can
not use the description property for the graph title.
I also believe, but are not entirely sure, that you must provide the
interface name, followed by a space, then your description followed
by another space before the closing </TD></TR> tags, like shown
above.
Hope this helps,
Simon
On Fri, 23 Jan 2004, Buckman, Daryl NWO wrote:
>
> indexmaker dies with following error and target HTML file has 0 length
> MRTG version is 2.9.11
>
>
> C:\MRTG-2~1.11\CFG>perl ..\bin\indexmaker d_incl.cfg --sort=title
> --show=day
> --section=description --title=NWO_Traffic_Monitor 1>d_incl.htm
> Use of uninitialized value in pattern match (m//) at ..\bin\indexmaker line
> 369.
>
> ERROR: no Description: line PageTop property in dcs_1.1 section
>
>
> This is the target section referenced
> ==============================
>
> Target[DCS_1.1]:1:public\@slot_1.1 at 10.10.1.1
> Directory[DCS_1.1]: nwowan/dcs
> MaxBytes[DCS_1.1]:125000000
>
> #UnScaled[DCS_1.1]: d
> #WithPeak[DCS_1.1]: wm
> Options[DCS_1.1]: bits
> Title[DCS_1.1]:Data Center Switch -- 3COM
> PageTop[DCS_1.1]:<H1>Traffic Analysis for DCS 1st Floor, 1.1, NE</H1>
> <TABLE>
> <TR><TD>Interface Port: </TD>
> <TD> 1</TD></TR>
> <TR><TD>Link Speed: </TD>
> # <TD> 1 Gbites/sec & 125 MBytes/sec</TD></TR>
> <TD> 1 Gbites/sec</TD></TR>
> <TR><TD>Point of Contact: </TD>
> <TD> NWO-IM-S 402-221-3308/4009</TD></TR>
> </TABLE>
>
> ==============================
>
> The input file d_incl.cfg has multiple #include: filename entries in
> effect creating a 700+ section file. I have commented out various include
> files but the problem persists.
>
> --
> 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
>
>
>
----------------------------------------------------------------
Simon Watts Network Architect 180 Burnley St
swatts at connect.com.au Ph +61 3 8414 3126 Richmond
Connect Internet Sol. Fax +61 3 8414 3115 Vic, Aust, 3121
----------------------------------------------------------------
--
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