[mrtg] Re: Company Logo On Graph Pages

Eric Brander Eric_Mailing_List at rednarb.com
Wed Sep 8 21:11:41 MEST 2004


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



More information about the mrtg mailing list