icons not displaying on Nagios 3.0.6 status map

Cherrington Stuart Stuart.Cherrington at rhul.ac.uk
Tue Jan 6 15:51:10 CET 2009


James,

I had this issue on a 3.0.x on Debian a while ago when I added custom
made png's. It could be the relation of the png files to were the
webserver expects it.

My Nagios apache config says 

DocumentRoot /usr/share/nagios2/htdocs, 

and my images are stored in
/usr/share/nagios2/htdocs/images/logos/stuart

in the extinfo.cfg I had to specify 

icon_image stuart/emc.png

so Ngaios map was drawn correctly.
 
Thanks,
 
Stuart Cherrington
Unix Systems Admin
Royal Holloway University
 
Mobile: 07756 857607
 

-----Original Message-----
From: Jon Angliss [mailto:jon at netdork.net] 
Sent: 02 January 2009 06:03
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status
map

On Wed, 31 Dec 2008 17:20:06 -0600, jmoseley at corp.xanadoo.com wrote:

>
>Been using Nagios 2.x for years and never had this problem.  Just
upgraded
>a test server to 3.0.6 via Dag RPM (from Dag 2.9 RPM) and everything
seems
>to work fine, except that icons do not display on the status map.  I
>basically get a blank square, regardless if I use .png, .jpg, .gd2,
etc.
>The icons display just fine in the host detail, hostgroup overview,
etc.
>Yes, per upgrade instructions, this extended host info has been moved
into
>the hosts config.  Sample looks like:
>
>        icon_image      firewall_router.png
>        vrml_image      firewall_router.png
>        statusmap_image firewall_router.gd2
>        2d_coords       100,200
>
>Attached is screen shot.  Anyone else seen this?

You probably don't have the related GD libraries installed that were
used to build the RPM.  All the other locations are simply links to
the image (html <img>), whilst the images in the status maps are
imported using the GD libraries if I remember correctly.

-- 
Jon Angliss


------------------------------------------------------------------------
------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list