icons not displaying on Nagios 3.0.6 status map
Jon Angliss
jon at netdork.net
Fri Jan 2 20:12:47 CET 2009
On Fri, 2 Jan 2009 12:10:20 -0600, jmoseley at corp.xanadoo.com wrote:
>
> Jon Angliss
> <jon at netdork.net>
> To
> 01/02/2009 12:03 nagios-users at lists.sourceforge.net
> AM cc
>
> 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.
>I thought of this myself. The odd thing is that the status map function in
>the 2.9 Nagios package produced by the same repository maintainer worked
>just fine with the current installed GD library, which is 2.0.33. That GD
>library was not upgraded prior to the Nagios upgrade. If no one else has
>seen this same problem, then I'll contact the repository maintainer.
You could see what's different in the statusmap.cgi file using ldd to
see what it's mapped against?
ldd statusmap.cgi
You may find a missing library. Also, you may not have upgraded your
GD libraries, but if the package maintainer did for some reason, there
might be conflicts there.
--
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
More information about the Users
mailing list