<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2>Bas,</FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff size=2>I have
following entry in cgi.cfg</FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2><STRONG>hostextinfo[STS]=;aix.png;aix.png;aix.gd2;AIX STS
Server;;;</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff size=2>images
are viewable via http using direct URL </FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff size=2>still
no show in nagios status pages.</FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=562443316-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Bas van der Veen
[mailto:bas.vanderveen@kahuna.nl] <BR><B>Sent:</B> Monday, February 03, 2003
10:52 AM<BR><B>To:</B> Brendon Caligari;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
Images - cgi.cfg - nothing shows up<BR><BR></FONT></DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff size=2>See
<A
href="http://nagios.sourceforge.net/docs/1_0/xeddefault.html">http://nagios.sourceforge.net/docs/1_0/xeddefault.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2><gd2_image></FONT></SPAN></DIV>
<DIV><SPAN class=496315015-03022003>The name of a GD2 format image that should
be associated with this host. This image will be used in the image created by
the <A
href="http://nagios.sourceforge.net/docs/1_0/cgis.html#statusmap_cgi">statusmap</A>
CGI. GD2 images can be created from PNG images by using the <B>pngtogd2</B>
utility supplied with Thomas Boutell's <A href="http://www.boutell.com/gd">gd
library</A>. The GD2 images should be created in <I>uncompressed</I> format in
order to minimize CPU load when the statusmap CGI is generating the network
map image. The image will look best if it is 40x40 pixels in size. You can
leave these option blank if you are not using the statusmap CGI. Images for
hosts are assumed to be in the <B>logos/</B> subdirectory in your HTML images
directory (i.e. <I>/usr/local/nagios/share/images/logos</I>). </SPAN></DIV>
<DIV><SPAN class=496315015-03022003></SPAN> </DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2>Looks like the image *has* to be converted to gd2
format...</FONT></SPAN></DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=496315015-03022003><FONT face=Arial color=#0000ff
size=2>Bas</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Brendon Caligari
[mailto:brendon@iwg.info]<BR><B>Sent:</B> maandag 3 februari 2003
14:37<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] Images - cgi.cfg - nothing shows up<BR><BR></FONT></DIV><!-- Converted from text/rtf format --><BR>
<P><FONT face=Arial size=2>In /usr/local/nagios/etc/cgi.cfg I added lines
like:</FONT> </P>
<P><FONT face=Arial
size=2>hostextinfo[uranus]=;redhat.jpg;redhat.jpg;;RedHat 7.3;;;</FONT> </P>
<P><FONT face=Arial size=2>..in the hope that the status map would show my
images instead of the ?</FONT> </P>
<P><FONT face=Arial size=2>The files have been placed in
/usr/local/nagios/share/images/logos</FONT> </P>
<P><FONT face=Arial size=2>The access rights are correct, and if I http
to:</FONT> <BR><A
href="http://......./nagios/images/logos/redhat.jpg"><U><FONT face=Arial
color=#0000ff
size=2>http://......./nagios/images/logos/redhat.jpg</FONT></U></A>
<BR><FONT face=Arial size=2>I can see the image</FONT> </P>
<P><FONT face=Arial size=2>The defaul t'?' shows up in the status map, and
no errors crop up anywhere (stopped/started nagios, checked all log files,
etc).</FONT></P>
<P><FONT face=Arial size=2>Tks to all</FONT> </P>
<P><FONT face=Arial size=2>Brendon</FONT>
</P><BR><BR><BR><BR></BLOCKQUOTE><CODE><FONT
size=3><BR><BR>******************************************************************<BR>This
footnote also confirms that this email message has <BR>been swept by
MIMEsweeper for the presence of <BR>computer
viruses.<BR>******************************************************************<BR>http://www.kahuna.nl<BR></BLOCKQUOTE></FONT></CODE></BODY></HTML>