[mrtg] Re: Company Logo On Graph Pages

Britt Tabor Britt_Tabor at Jabil.com
Wed Sep 8 21:17:08 MEST 2004


Just FYI for all. You can place pretty much any html tag there however, you
can't manipulate them to much. Meaning for the description line:

    <TR><TD>Description:</TD>    <TD>Workflow Server</TD></TR>

that is fine but this:

    <TR><TD align="right">Description:</TD>    <TD>Workflow Server</TD></TR>

will return an error when running indexmaker. It will tell say you don't
have a description line. I looked at the code and it does not include
wildcards and expects the description line to be <TR><TD>Description ...



Britt Tabor
I.T. Infrastructure Engineer



-----Original Message-----
From: Eric Brander [mailto:Eric_Mailing_List at rednarb.com] 
Sent: Wednesday, September 08, 2004 3:12 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Company Logo On Graph Pages

mrtg wrote:

> Howdy,
> 
> 	Just setup mrtg-2.10.14 on FreeBSD and configured 4 different .cfg
> files, and have graphs displaying activity. My question is = can I put the
> company logo on the graph pages? I tried to change the .html files as well
> as the .cfg with img <src="xxx.xxx"> with error =
> 
>  ERROR: Line 77 (<img src="logo.png">) in CFG file
> (/usr/local/etc/mrtg/ENHLT1.cfg)  does not make sense

Not sure what that means, but I bet you have the tag in the wrong place. 
  It has to go under PageTop, and if it extends below the first line it 
must be indented.  Here is an example of what I use:

Pagetop[wrfx_diskC]: <H1>WRFX Disk Space on C</H1>
  <TABLE>
    <TR><TD>System:</TD>         <TD>WRFX, Windows 2000 Server</TD></TR>
    <TR><TD>Description:</TD>    <TD>Workflow Server</TD></TR>
    <TR><TD>Size of Disk C:</TD> <TD>12 GigaBytes</TD></TR>
  </TABLE>

Yous should be able to put any HTML tags in there.

> 
> 	 I looked on the config,setup, and FAQ pages but didn't find
> anything other than making adjustments to correct .png graph images. Is it
> possible to have 'our' company logo displayed on the top of the graphs
> pages?
> 

More details can be found here:
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html

Check the "PageTop" optional per-target keyword.

> Thanks in advance -
> 
> Dave

Good luck,

Eric Brander

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


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