Current time: 10-02-2024, 04:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
nagios3
Author Message
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #1
nagios3
Hi zusammen,

konnte einer von euch schon das nagios3 problem lösen?

kiste debian lenny
ispcp 1.0
nagios3 via apt-get

hatte ursprünglich ein problem mit der suexec, da nagios über die normale debian installation nicht im docroot liegt. lässt sich lösen, wenn man die seite nach /var/www/ kopiert und apache.conf entsprechend anpasst.

allerdings bekomme ich jetzt folgende meldung im error.log vom apache:

Code:
getcgivars(): Unsupported REQUEST_METHOD -> ''

I'm guessing you're trying to execute the CGI from a command line.
In order to do that, you need to set the REQUEST_METHOD environment
variable to either "GET", "HEAD", or "POST".  When using the
GET and HEAD methods, arguments can be passed to the CGI
by setting the "QUERY_STRING" environment variable.  If you're
using the POST method, data is read from standard input.  Also of
note: if you've enabled authentication in the CGIs, you must set the
"REMOTE_USER" environment variable to be the name of the user you're
"authenticated" as.

[Fri Jul 31 12:18:19 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Fri Jul 31 12:18:19 2009] [error] [client 217.194.34.103] Premature end of script headers: status.cgi, referer: http://h1611396.stratoserver.net/nagios3/side.html
[Fri Jul 31 12:18:25 2009] [notice] mod_fcgid: process /var/www/nagios3/cgi-bin/status.cgi(6005) exit(communication error), terminated by calling exit(), return code: 1

meine nagios3.conf schaut so aus:

Code:
ScriptAlias /cgi-bin/nagios3 /var/www/nagios3/cgi-bin
ScriptAlias /nagios3/cgi-bin /var/www/nagios3/cgi-bin
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
Alias /nagios3 /var/www/nagios3/htdocs
<DirectoryMatch (/var/www/nagios3/htdocs|/var/www/nagios3/cgi-bin)>

        Options FollowSymLinks +ExecCGI

        DirectoryIndex index.html

        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All

        AuthName "Nagios Access"
        AuthType Basic
        AuthUserFile /etc/nagios3/htpasswd.users
        # nagios 1.x:
        #AuthUserFile /etc/nagios/htpasswd.users
        require valid-user
</DirectoryMatch>

und der browser zeigt mir dann natürlich einen internal server error an.

die cgi files sind dem user vu2000 und gruppe vu2000 zugeordnet und haben alle ein +x.

das nagios2 howto unter dokumentation greift leider nicht Sad
bin ratlos...

*help*

grüße,
H
07-31-2009 08:22 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
nagios3 - Hammy - 07-31-2009 08:22 PM
RE: nagios3 - TheCry - 07-31-2009, 10:33 PM
RE: nagios3 - Hammy - 07-31-2009, 10:42 PM
RE: nagios3 - TheCry - 07-31-2009, 11:08 PM
RE: nagios3 - Hammy - 07-31-2009, 11:14 PM
RE: nagios3 - TheCry - 08-01-2009, 12:11 AM
RE: nagios3 - BeNe - 07-31-2009, 11:37 PM
RE: nagios3 - scysys - 01-22-2010, 08:56 PM
RE: nagios3 - tango - 01-23-2010, 05:40 AM
RE: nagios3 - ZooL - 01-23-2010, 06:14 AM
RE: nagios3 - scysys - 02-02-2010, 09:59 AM

Forum Jump:


User(s) browsing this thread: 18 Guest(s)