Nagios-1.2, images and frustration...

Jerry mrcool at stupidgamerz.com
Wed Nov 3 03:55:09 CET 2004


I solved the problem!!  (or at least I think I know what the specific
solution is!!)

here is my old hostextinfo.cfg:

define hostextinfo{
        host_name               IndyRtr
        notes_url
        icon_image              cisco2600p.gif
        icon_image_alt          RiverStone RS-3000
        vrml_image              cisco2600p.gif
        statusmap_image         cisco2600p.gif
        2d_coords               100,450
        3d_coords
        }
<<snip>>

All entries were similar to that...

Here is what works (conviently created by nagiosmap.pl, mostly...):

define hostextinfo {
        host_name       IndyRtr
        icon_image      cisco2600p.gif
        gd2_image       cisco2600p.gd2
        icon_image_alt  RiverStone RS-3000
        2d_coords       235,830
}
<<<snip>>>

I had to manually enter the gd2 file name (nagiosmap.pl left the field
blank) for each host.  :(

The difference is that the sample config (and the documentation)  use
'statusmap_image' as the field name, when aparently it MUST be a gd2 file,
and the field should be called simply 'gd2_image'  (without any quotes, of
course).  Well at least this has made mine display the images properly in
the statusmap display.

Thanks all for their help...  I hope this helps everyone else.  BTW  im
using 1.2 self-compiled, suse9.0, linux 2.4.21

Good luck!!

Jerryf



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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