LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2006, 03:38 PM   #1
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Rep: Reputation: 15
Calling all Nagios expets!


New install - on SLES 9, Nagios version 2.0rc2

I have followed all the instructions from the documentation. When I go to web browser, I get:

-----------------
Forbidden
You don't have permission to access /nagios/ on this server
-----------------

from /var/log/httpd/error_log:

[Wed Jan 25 15:42:15 2006] [notice] Apache/1.3.29 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 25 15:42:15 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Jan 25 15:43:05 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share/
[Wed Jan 25 15:52:06 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share/
[Wed Jan 25 16:41:09 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share

--------------------------------

A few things stick out at me. Why do I not have the .cfg files in the /usr/local/nagios/etc directory? i.e cgi.cfg, nagios.cfg. I only have all the samples i.e. cfg.cgi-sample, etc.

Here's the aliases from /etc/httpd/httpd.conf

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

<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Alias /nagios/ "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
--------------------------


I don't know what else to look at! thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
odd recursion: calling "by hand" vs calling by cronscript... prx Programming 4 02-12-2005 04:59 PM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 01:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 08:13 AM
Nagios VincentB Linux - Software 3 09-09-2003 09:20 AM
Nagios markus1982 Linux - Software 1 04-01-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration