StatusMap not displaying
manuCP9868 at netscape.net
manuCP9868 at netscape.net
Thu Jun 26 15:51:52 CEST 2003
Hello everyone,
I'm using Debian. I have nagios 1.0. And the statusmap does not want to display correctly. Actually, only the description of the devices are displayed when the cursor is over the device. But none of the devices are actually displayed.
I have installed the following debian packages :
- libpng2 (version 1.0.12-3) and libpng2-dev (version 1.0.12-3)
- libjpeg62 (version 6b-5) and libjpeg62-dev (version 6b-5)
- zlib1g (version 1.1.4-1) and zlib1g-dev (1.1.4-1)
- libgd2 (version 2.0.1-10) and libgd2-dev (2.0.1-10) and libgd-tools (same version)
I think i have installed all libraries i need to make work statusmap.
Then i compiled nagios (after "make devclean"). statusmap.cgi is been created correctly.
Here is the result "ldd statusmap" :
libgd.so.2 => /usr/lib/libgd.so.2 (0x40019000)
libz.so.1 => /usr/lib/libz.so.1 (0x4004f000)
libm.so.6 => /lib/libm.so.6 (0x4005f000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40080000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400ab000)
libc.so.6 => /lib/libc.so.6 (0x400ca000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401e7000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40226000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40234000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Looks like he can find everything he needs.
Here is the error i get in my apache log:
[Wed Jun 25 18:58:59 2003] [error] [client 10.0.0.2] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi
I put the hostextinfo.cfg path into cgi.cfg. I followed the syntax on the NAGIOS documentation, something like this :
define hostextinfo{
host_name linux1
icon_image openbsd.png
icon_image_alt CHUCK
vrml_image openbsd.png
statusmap_image openbsd.png
}
I read in some forum that i had to put the hostextinfo.cfg file path into the nagios.cfg file also.
If i do that, then i don't have the error above but i have the following message when i want to access the statusmap :
"You have not supplied any host drawing coordinates, so you cannot use this layout method"
This happens with any method specified in the web interface.
Then, if i configure coordinates in the cfg file, the same message occurs.
I really have no idea anymore how i could make the statusmap displaying !
I would greatly appreciate any help...
Thank you,
Emmanuel
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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