Question Locked

Nagios Help

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi Friends,
I am not able to apply CGI Authentication in our Nagios. Without CGI it is working fine. Here is my nagios entry in httpd.conf ..

# BEGIN FOR NAGIOS

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

Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
# AuthName "Nagios Access"
# AuthType Basic
# AuthUserFile /usr/local/nagios/etc/htpasswd.users
# Require nagiosadmin

Alias /nagios /usr/local/nagios/share

Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
# AuthName "Nagios Access"
# AuthType Basic
# AuthUserFile /usr/local/nagios/etc/htpasswd.users
# Require nagiosadmin

###############################################

############################################### Here is the entry in ..\nagios\share and ...\nagios\sbin .htaccess file

AuthName "Nagios Access"
AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user ======================================
The Error_Log details are:- tail /var/log/httpd/error_log [Wed Feb 11 08:48:05 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:01 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:01 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:02 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:02 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:02 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:03 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:03 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Wed Feb 11 09:14:03 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share [Thu Feb 12 07:47:41 2009] [error] [client 10.1.7.111] Directory index forbidden by rule: /usr/local/nagios/share
===============

Plz someone let me know the problem. Waiting for your positive & quick response.

Thanks & Regards,
Kumar

1 reply

This discussion is closed to new replies.