[Nagiosplug-help] Logos don't display on status map or in host status views

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Wed Dec 13 14:29:40 CET 2006


Hello,

though this is more or less a cosmetic issue
it would be nice if someone could help me with my impaired
display of *gd2 logos.

>From nagiosexchange I downloaded logos-v1.1.tar.gz
and untarred them into NAGIOS_ROOT/share/images/logos

In my *hosts.cfg files I added hostextinfo definitions for some
hosts
which look like 

define hostextinfo {
    host_name                           somehost
    icon_image                          hp.gd2
    icon_image_alt                      9000/800/rp7420 DEH******
    statusmap_image                     hp.gd2
}


The graphic binaries are world-readable, so also for the
webserver children

$ ll /opt/sw/nagios/share/images/logos/{hp,redhat}.gd2
-rw-r--r--   1 nagios   nagios      2730 Nov 17 2004
/opt/sw/nagios/share/images/logos/hp.gd2
-rw-r--r--   1 nagios   nagios      2649 Nov 17 2004
/opt/sw/nagios/share/images/logos/redhat.gd2

However, when I invoke the site map I cannot see any images but
the uninspiring question marks.
When I visit a host's status view I only get the browser's broken
image representation next to the hostname.

>From the webserver's nagios virtual host access log I see that
the GET was serviced with a 200 OK state

123.123.123.123 - nagiosadmin [13/Dec/2006:14:03:07 +0100] "GET
/images/logos/hp.gd2 HTTP/1.1" 200 2730


Does it mean that my browser needs some plug-in to be able to
display those *gd2 files?
I use a Firefox 1.5.0.8 that only has the usual Acrobat reader
and JRE plugins (about:plugins)

Well I made a swift substitution %s/gd2/png/ and restarted
nagios.
Now the *png icons get displayed.
So what's so special about the gd2 icons?

Regards
Ralph






More information about the Help mailing list