Images - cgi.cfg - nothing shows up

Aleksey Domorad Aleksey at loehmanns.com
Mon Feb 3 17:32:48 CET 2003


Bas,
 
I have following entry in cgi.cfg
 
hostextinfo[STS]=;aix.png;aix.png;aix.gd2;AIX STS Server;;;
 
images are viewable via http using direct URL 
still no show in nagios status pages.
 
Regards
 

-----Original Message-----
From: Bas van der Veen [mailto:bas.vanderveen at kahuna.nl] 
Sent: Monday, February 03, 2003 10:52 AM
To: Brendon Caligari; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Images - cgi.cfg - nothing shows up


Hi,
 
See http://nagios.sourceforge.net/docs/1_0/xeddefault.html
<http://nagios.sourceforge.net/docs/1_0/xeddefault.html> 
 
<gd2_image>
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 statusmap
<http://nagios.sourceforge.net/docs/1_0/cgis.html#statusmap_cgi>  CGI. GD2
images can be created from PNG images by using the pngtogd2 utility supplied
with Thomas Boutell's gd  <http://www.boutell.com/gd> library. The GD2
images should be created in uncompressed 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 logos/ subdirectory in your HTML images directory (i.e.
/usr/local/nagios/share/images/logos). 
 
Looks like the image *has* to be converted to gd2 format...
 
Bas

-----Original Message-----
From: Brendon Caligari [mailto:brendon at iwg.info]
Sent: maandag 3 februari 2003 14:37
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Images - cgi.cfg - nothing shows up




In /usr/local/nagios/etc/cgi.cfg I added lines like: 

hostextinfo[uranus]=;redhat.jpg;redhat.jpg;;RedHat 7.3;;; 

..in the hope that the status map would show my images instead of the ? 

The files have been placed in /usr/local/nagios/share/images/logos 

The access rights are correct, and if I http to: 
 <http://......./nagios/images/logos/redhat.jpg>
http://......./nagios/images/logos/redhat.jpg 
I can see the image 

The defaul t'?' shows up in the status map, and no errors crop up anywhere
(stopped/started nagios, checked all log files, etc).

Tks to all 

Brendon 







******************************************************************
This footnote also confirms that this email message has 
been swept by MIMEsweeper for the presence of 
computer viruses.
******************************************************************
http://www.kahuna.nl


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030203/5f2aaafb/attachment.html>


More information about the Users mailing list