NooB with Apache & Status Map Error

Austin Mann firemann816 at hotmail.com
Mon Jun 9 18:55:33 CEST 2003


Hello All -
First Thanks to Tom Welsh of Square Box for the demo .
(I had to have this tool after seeing your demo, and using it, THANKS !!!)
Secondly this list saved me a lot of grief, up front.
(I used the GNAME interface and searched on Redhat, lib, ld.so.conf
etc to learn how their rpm based system will impact my compiles.)

So I compiled nagios as so:
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin \
--with-htmurl=/nagios --with-nagios-user=nagios \
--with-gd-lib=/usr/lib --with-gd-inc=/usr/include \
--with-nagios-grp=nagios

I verified the paths first myself, and they're valid.

The compile went well, things look good.

However in the Status map view (standard not 3d)
When I click on a host I get the dreaded
"Internal server error" from Apache.
I researched this on the list and think my problem is different,
perhaps not, but it appeared to me it might be after
looking at /var/log/httpd/error.log:
[Mon Jun  9 05:55:05 2003] [error] [client 192.168.210.19]
script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi
[Mon Jun  9 06:30:16 2003] [error] [client 192.168.210.19]
Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi
[Mon Jun  9 06:30:24 2003] [error] [client 192.168.210.19]
Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi

(I have not bound apache and nagios into a similar group, and am willing to
if someone thinks this is it, but everything else seems to work)

Also my status map is "ugly" (although I'm glad I got this far, ;^))
by comparison to Tom Welsh's and the screen shots on the main page.
I downloaded the images (pretty icons) from Extras and got them config'd
but my background is "green engineering paper."
I'd prefer a pristine white, or something, any hints here are also
appreciatted.

Thanks to all since I've learned from reading of your experiences,
and a Double Thanks to anyone who will help me overcome the
statusmap / Apache Error thing
-Austin Mann
Marshall Medical Centers
austin <dot> mann <at> mmcenters <dot> com


supporting info follows:

[nagios at nagios bin]$ ./nagios -v ../etc/nagios.cfg
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
        Checked 4 services.
Checking hosts...
        Checked 4 hosts.
Checking host groups...
        Checked 4 host groups.
Checking contacts...
        Checked 3 contacts.
Checking contact groups...
        Checked 4 contact groups.
Checking service escalations...
        Checked 1 service escalations.
Checking host group escalations...
        Checked 2 host group escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 22 commands.
Checking time periods...
        Checked 4 time periods.
Checking for circular paths between hosts...
Checking for circular service execution dependencies...
Checking global event handlers...
Checking obsessive compulsive service processor command...
Checking misc settings...
Total Warnings: 0
Total Errors:   0
Things look okay - No serious problems were detected during the pre-flight
check

from :/var/log/httpd/error.log:
[Mon Jun  9 05:55:05 2003] [error] [client 192.168.210.19]
script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi
[Mon Jun  9 06:30:16 2003] [error] [client 192.168.210.19]
Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi
[Mon Jun  9 06:30:24 2003] [error] [client 192.168.210.19]
Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi


Apache/1.3.27 (Red-Hat/Linux) = Apache Server version
nagios 1.1 = nagios version
nagios-plugins-1.3.0 =plugin version
Red Hat Linux 7.3 =OS
nagios.mmcenters.com =hostname
2.4.18-3 i686 =Kernel





-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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