statusmap logos problem

Andreas Ericsson ae at op5.se
Tue Apr 6 16:44:51 CEST 2004


Richard Gillman wrote:
> There is no information in apache's log files.

That's not too odd, since the cgi's check to see if the file exist 
before they link to it.

> 
> My extended host information file is
> 
> 197 rgi at corrib>cat xed1.cfg
> define hostextinfo{
>         host_name       shannon
>         notes_url 
> http://webserver.localhost.localdomain/hostinfo.pl?host=netware1
>         icon_image      sun40.png
>         icon_image_alt  sun40.png
>         vrml_image      sun40.png
>         statusmap_image sun40.gif

sun40.png vs sun40.gif.

> Can anyone see what I am doing wrong?
> 
libgif is a separate software package (part of neither gd nor png). You 
probably haven't installed libgif properly, which is why you don't see 
the images.
Change sun40.gif to sun40.png and all should be well.
To automate this, you can run the following two commands;
mv hostextinfo.cfg hostextinfo.old
sed s/\\.gif/\\.png/g hostextinfo.old > hostextinfo.cfg

> thanks in advance for any input...
> 
You're welcome.

> Dick
> 

-- 
Mvh / Best Regards
Sourcerer / Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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