Nagios + Debian edge CGI´s werden nicht gefunden

Apache, Lighttpd, nginx, Cherokee
makeat
Posts: 39
Joined: 2005-12-19 00:08

Nagios + Debian edge CGI´s werden nicht gefunden

Post by makeat »

Hallo ich finde den fehler nicht.

Habe Nagios mit apt-get installiert.

Die Html seite kann ich laden --> das zeug wo man dann auf die Perl Scripte clicken kann.

Wenn man das macht kam 404

jetzt You don't have permission to access /nagios on this server.

ich weiß nicht was ich hier falsch gemacht habe --

was muss ich tun ?

finde nichts ..

danke mark

das steht im error log

Code: Select all

[Sun Oct 01 00:06:39 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios
[Sun Oct 01 00:06:39 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios
[Sun Oct 01 00:06:39 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios
[Sun Oct 01 00:06:45 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:45 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:46 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:46 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:46 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:46 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/
[Sun Oct 01 00:06:51 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:53 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:53 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:53 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:53 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:54 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:57 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:58 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:59 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
[Sun Oct 01 00:06:59 2006] [error] [client 212.236.16.118] client denied by server configuration: /usr/share/nagios/htdocs/
das ist die apache config im /conf.d

Code: Select all

ScriptAlias /nagios/cgi-bin /usr/sbin/nagios

<Directory "/usr/sbin/nagios">
   AllowOverride AuthConfig
   Options +ExecCGI
   SetHandler cgi-script
   Order allow,deny
   Allow from localhost
</Directory>

Alias /nagios /usr/share/nagios
<Directory "/usr/share/nagios">
   Options None
   AllowOverride AuthConfig
   Order allow,deny
   Allow from localhost
</Directory>                 
makeat
Posts: 39
Joined: 2005-12-19 00:08

Re: Nagios + Debian edge CGI´s werden nicht gefunden

Post by makeat »

ok nun lauft der müll

bis auf diese fehlermeldung --> der kann die hosts und services nicht einlesen ...

was muss ich noch machen ?

It appears as though you do not have permission to view information for any of the hosts you requested...

If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin

Re: Nagios + Debian edge CGI´s werden nicht gefunden

Post by flo »

makeat wrote:If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
ich kann mich erinnern, daß sowohl in der Config als auch in den Nagios-FAQ dazu etwas steht - das ist übrigens nur eine wichtige Sicherheitseinstellung ...

flo.