status map

Tom Diehl tdiehl at rogueind.com
Wed Oct 22 13:36:59 CEST 2003


On Tue, 21 Oct 2003, David Olbersen wrote:

> David Olbersen wrote:
> 
> > I must be too close to the problem.
> > 
> > I've been trying for a while now to get the status map icons to show up
> > correctly. 
> > 
> > I've got my icons in /usr/local/share/nagios/images/logos.
> > I've got this in cgi.cfg:
> > 
> > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg
> > 
> > I've got this in /usr/local/etc/nagios/hostextinfo.cfg
> > 
> > # This definition is used as a template
> > define hostextinfo {
> >         name                    freebsd
> >         icon_image              freebsd40.jpg
> >         gd2_image               freebsd40.jpg

Just a couple of guesses. I am very new at this.
Doesn't the gd2_image need to be a gd2 image??

> >         statusmap_image         freebsd40.jpg
> >         register                0
> > }
> > 
> > define hostextinfo {
> >         use                     freebsd
> >         host_name               longboard
> >         icon_image_alt          Longboard

Do the above icons need to have an extension??

> >         register                1
> > }
> > 
> > define hostextinfo {
> >         use                     freebsd
> >         host_name               waverunner
> >         icon_image_alt          Waverunner

Same question as above.

> >         register                1
> > }
> > 
> > And when I look at the status map I see the right connections, the pop-up
> > info has the right icon, but the map itself has transparent rectangles
> > instead of the icons. Any ideas? Any other info needed? I tried searching the
> > source forge list archives but that thing is nearly useless (at least for
> > me).    

I had this problem and it was simple typos in the file that caused it.

HTH,


-- 
......Tom		Registered Linux User #14522	http://counter.li.org
tdiehl at rogueind.com	My current SpamTrap ------->	mtd123 at rogueind.com



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
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