icons

Jeremy J. Rossi j.rossi at xaos.it
Sun Jan 25 15:21:00 CET 2004


OK I think two things are happening here:

1. nagios isn't accepting my statusmap_image definition since it's still using the unkown.gd2 image...
2. my gd2 format has something wrong since I tried renaming one of my gd2 images to unkown.gd2 and all I get is a white rectangle instead of my image.

I tried (from ml archive search) pngtogd2 img.gif img.gd2 1 1 AND pngtogd2 img.gif img.gd2 0 1 AND pngtogd2 img.gif img.gd2 128 1, but nothing seems to work... permissions and ownerships are correct...

thanks to all,
Jeremy





Sunday, January 25, 2004, 2:58:53 PM, you wrote:


> Hey Bill,

> Partially solved my problem... I get images in the summary screens, but gd2
> images for the status map don't seem to work. I converted png to gd2 in win2k
> with chunks=1 and format=1 (raw) but I still get a question mark image
> (unknown.gd2).... any other suggestions?

> thanks a lot,
> Jeremy



> Saturday, January 24, 2004, 7:09:04 PM, you wrote:

 

>> -----Original Message-----
>> From: nagios-users-admin at lists.sourceforge.net
>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy J.
>> Rossi
>> Sent: Saturday, January 24, 2004 11:03 AM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] icons

>> Hi,

>> I can't seem to get icons to work on nagios 1.0. this is an abstract
>> from my cgi.cfg file:

>> hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif;
>> 3550-1;;;
>> hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif;
>> 3550-2;;;
>> hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;;
>> hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;;
>> hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;;
>> hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_manageme
>> nt;;;
>> hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-r
>> m1;;;
>> hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it
>> ;;;
>> hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;;
>> hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;;
>> hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;;
>> hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;;


>> icons are in /usr/local/share/nagios/images/logos/ and are all 644...

>> any suggestions?

>> ciao,
>> Jeremy




>> Jeremy,

>>   I did check...the cgis default to the template based which is the
>> suggestion I made for you

>> See:

>> http://nagios.sourceforge.net/docs/1_0/configextinfo.html

>> Bill




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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