authentication

Josh Anderson jda8527 at yahoo.com
Thu Mar 18 15:13:06 CET 2004


I actually got it working...  My mistake.  I did not put an .htaccess file in the /nagios/sbin/ directory.  Thus none of the cgi's were requiring authentication from apache, but the cgi's themselves were.
 
Just FYI for anyone who makes the same goofy mistake...

Josh Anderson <jda8527 at yahoo.com> wrote:
I seem to be having some difficulties with nagios authentication.  I had no trouble with 1.1 but after installing 1.2 on another machine I'm having this problem...
 
Nagios is installed, configured, etc...  Apache is setup to require a password in the /nagios directory.  I started with setting use_authentication=0 in cgi.cfg.
 
I enter in the URL for nagios and apache asks for a user/password.  I enter it:
 
username:  jda
password:  xxxxxx
 
Apache authenticates me and lets me in.  I can then use all features of nagios.
 
I then set use_authentication=1 and set the following:
authorized_for_system_information=jda
authorized_for_configuration_information=jda
authorized_for_system_commands=jda
authorized_for_all_services=jda
authorized_for_all_hosts=jda
authorized_for_all_service_commands=jda
authorized_for_all_host_commands=jda

Restart nagios, close my browser, and try again.
 
Now, apache authenticates but Nagios is saying:
 
"It appears as though you do not have permission to view information for any of the services 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."
 
I can set default_user_name=jda and everything works fine (even with use_authentication=1).
 
Anyone know what is going on?


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040318/0d842ee4/attachment.html>


More information about the Users mailing list