Question

Locked

Nagios Help

By kumarjyoti2478 ·
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

<Directory "/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
</Directory>

Alias /nagios /usr/local/nagios/share

<Directory "/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
</Directory>

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

############################################### 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

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums