[mrtg] Re: .png configuration

Rippe, Mark (CCI-Warwick) Mark.Rippe at cox.com
Tue Jun 13 20:58:27 MEST 2000


edit indexmaker in $home/mrtg-x.x.x/run

find the following lines. 
they are located about 3/4 of the way down the file.

--- snip ---

$TableStart
 <P><A HREF="$rdir$router.html"><B>$Title</B></A></P> 
 <P><SMALL><!--#flastmod file="$rdir$router.html" --></SMALL></P>
ECHO
    if ($graphs) {
 print FOUT <<ECHO;
	<A HREF="$rdir$router.html"><IMG ALT="$router Trafic Graph" BORDER=0
WIDTH=$WIDTH HEIGHT=$HEIGHT 
SRC="$rdir$router-$view.gif"></A>
ECHO

--- snip ---

in the above section, change--

SRC="$rdir$router-$view.gif"></A>

to--

SRC="$rdir$router-$view.png"></A>

rerun cfgmaker and all should be well.


mark.rippe at cox.com

"The ships hung in the sky in
much the same way that bricks don't"

The Hitchhikers Guide To The Galaxy
Douglas Adams

> -----Original Message-----
> From:	Atish Nigam [SMTP:atnigam at cisco.com]
> Sent:	Friday, June 09, 2000 7:33 PM
> To:	mrtg at list.ee.ethz.ch
> Subject:	[mrtg] .png configuration
> 
> Hi,
> 
> I seem to be having some trouble configuring MRTG to output PNG images.  I
> 
> have set up the newest version of the gd library (along with the zlib and 
> libpng libraries) and while configuring MRTG I directed the links to the 
> correct directories, however MRTGcontinues to produce .gif images.  I was 
> wondering why this was and if there was any way for it to produce .png 
> images.  Thank you for your time and sorry to clutter your mailboxes.
> 
> Atish Nigam
> atnigam at cisco.com 
> 
> 
> --
> 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

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



More information about the mrtg mailing list