Statusmap logos, ignore hostextinfo.cfg
Bruce
bruce at webfarm.co.nz
Thu Oct 28 05:25:46 CEST 2004
Hi,
I dont know if you have solved this yet, but there are two things you
may want to check:
1. The logos are in the logos directory (obvious but can be overlooked)
I think they need the GD versions (correct me if im wrong) or they wont
display.
2. If you are authentication on the system you need to ensure that the
user viewing the status map has permission to view the hosts, we
encounted the exact same problem when we setup a local monitor to show
whats happening. Normally we login with a username and password which
says what access we have however the monitor couldnt handle this so we
removed it just for this machine and the logos disappeared. Our
simple fix for this was to set an option which said anyone not
authenticated has permission to see all hosts. (Theres an option in
cgi.cfg for this, cant remember what it is however (sorry))
Hope that helps a little,
--
+------------------------------------------+ \|||/
| Bruce at WebFarm.co.nz +64 06 7572881 | (o o)
| Systems Technician +---ooO-(_)-Ooo---+
| |
| WebFarm http://www.webfarm.co.nz |
| FreeParking http://www.freeparking.co.nz |
+------------------------------------------------------------+
... FreeParking - NZ's best value Domain, WebHosting and email accou
p.prins at chello.nl wrote:
>Hello all,
>
>Yet another question about the logos that won't show-up in the nagios statusmap. I have read almost the complete mailing-list archive, but it seems there is no 'real' way to fix it.
>
>OS: RH8, kernel 2.4
>Nagios: 1.2
>
>I recompiled nagios, I installed gd-lib, zlib, pnglib, jpeg lib etc. and when I exceute the command
>% ldd statusmap.cgi the library dependencies are all pointing to existing paths and files.
>
>This is my hosextinfo file (only 1 host for example)
>
>define hostextinfo{
> name windows-icons
> icon_image win40.png
> icon_image_alt Microsoft Windows 2000
> vrml_image win40.png
> statusmap_image win40.gd2
> register 0 # don"t register the template
> }
>
> define hostextinfo{
> use windows-icons
> host_name windows2k_srv01
> }
>
>also the xedtemplate_config_file variable is set propperly in the cgi.cfg file as the htmlpath and the logos do exist.
>I also renamed a win40.gd2 to unknown.gd2 to see if the format is supported, and yes it worked :)
>
>Who oh who can tell me what's going wrong here?
>
>Best regards,
>
>Peter
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
>Use IT products in your business? Tell us what you think of them. Give us
>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
>http://productguide.itmanagersjournal.com/guidepromo.tmpl
>_______________________________________________
>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
>
>
-------------------------------------------------------
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