Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-06 Thread Cherrington Stuart

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:j...@netdork.net] 
Sent: 02 January 2009 06:03
To: nagios-users@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, jmose...@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 ), 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@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@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


Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-04 Thread jmoseley
FYI, compiled Nagios 3.0.6 from source against the GD libraries that are
available via the RHEL5/CentOS 5 repository.  This is GD releaes 2.0.33.  I
still have the same problem with images being displayed on the status map.
Wondering if this is a problem with GD packages, I complied GD 2.0.35 from
source and then recompiled Nagios against the new GD 2.0.35 libraries.
Still no dice.

There does not appear to be a problem with my Nagios configuration and this
worked flawlessly in Nagios 2.8 and 2.9.  The images also display correctly
when viewing the 3D status map.




James Moseley




   
 Jon Angliss   
  
To 
 01/02/2009 12:03  nagios-users@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, jmose...@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 ), 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@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


Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-02 Thread jmoseley
   
 Jon Angliss   
  
To 
 01/02/2009 01:12  nagios-users@lists.sourceforge.net  
 PM cc 
   
   Subject 
   Re: [Nagios-users] icons not
   displaying on Nagios 3.0.6 status   
   map 
   
   
   
   
   
   








On Fri, 2 Jan 2009 12:10:20 -0600, jmose...@corp.xanadoo.com wrote:

>

> Jon Angliss

> 

>To

> 01/02/2009 12:03  nagios-users@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, jmose...@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 ), 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

Thank's for the suggestions.  No missing libraries.  At this point, I am
assuming that the GD libraries the maintainer used when building the rpm
conflict with the latest GD library provided by CentOS.

James




--
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-02 Thread Jon Angliss
On Fri, 2 Jan 2009 12:10:20 -0600, jmose...@corp.xanadoo.com wrote:

>   
> Jon Angliss   
>  
>To 
> 01/02/2009 12:03  nagios-users@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, jmose...@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 ), 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@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


Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-02 Thread jmoseley
   
 Jon Angliss   
  
To 
 01/02/2009 12:03  nagios-users@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, jmose...@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 ), whilst the images in the status maps are
>imported using the GD libraries if I remember correctly.
>
>--
>Jon Angliss

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.

FYI, this is on a CentOS 5 system using the nagios-3.0.6-1.el5.rf DAG Apt
rpm.

Thanks,

James





--
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status map

2009-01-01 Thread Jon Angliss
On Wed, 31 Dec 2008 17:20:06 -0600, jmose...@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 ), 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@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