still no icons in statusmap

Michael S. Kazmier mkazmier at sofast.net
Fri Apr 25 16:23:00 CEST 2003


I am not sure what your hostextinfo.cfg file looks like, but you need to
place the following line in your cgi.cfg file:

xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg

Beyond that, I have icons appearing for hosts that have a definition similar
to the following in my hostextinfo.cfg file:

define hostextinfo{
        host_name       HOSTNAMEHERE
	  notes_url		/nagios/cgi-bin/hostinfo.pl?HOSTNAME
        icon_image      router40.png
        icon_image_alt  Cisco 7507
        vrml_image      router40.png
        statusmap_image router40.gd2
        2d_coords       100,100
        }

Hope it helps.  I can't get the serviceextinfo.cfg to work.  All I can
figure out is that you CANT use both the hostextinfo and serviceextinfo at
the same time.... but for us, the serviceextinfo is really what we need.

Hope this helps...


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tj Webb
Sent: Thursday, April 24, 2003 5:37 PM
To: nagios users
Subject: [Nagios-users] still no icons in statusmap

  I have read through a good bit of the list looking for some definitive
answers as to why I cannot view icons on the statusmap. And I still have
not found a solution...

1) ./configure --with-template-extinfo

2)  No problems compiling with:

libjpeg-6.2.0-480
jpeg-6b-480
zlib-devel-1.1.4-50
zlib-1.1.4-41
libpng-1.2.4-31
libpng-devel-1.2.4-40
gd-1.8.4-382
gd-devel-1.8.4-400

3) also tried upgrading to gd-2.0.11 from boutell's site
   
used make clean and removed config.cache for good measure


3) xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg
   in cgi.cgf file

4) base images in /usr/local/nagios/share/images/logos

5) No permission issues

6) Tried every permutation of hostextinfo.cfg config I could come up
with from examples on the list and from the source sample dir.

7) No error messages from Apache or Nagios of any kind.

8) ldd ./statusmap.cgi

libgd.so.2 => /usr/lib/libgd.so.2 (0x4001f000)
libz.so.1 => /lib/libz.so.1 (0x40054000)
libm.so.6 => /lib/libm.so.6 (0x40063000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40086000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400b6000)
libc.so.6 => /lib/libc.so.6 (0x400d4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Can anyone clue me in on what I'm missing?  

-- 
Tj Webb
Systems Administrator
Information Services
Ohlone College
mail: twebb at ohlone.edu



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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