"Logged in as ?" -- http auth not working ?

Rodrigo Maceno rodrigo.maceno at gmail.com
Mon Sep 11 12:32:07 CEST 2006


Ok, I had this same problem some time ago...
First, you must to retire the default_user_name at the cgi.cfg archive. You
must define a valid contact at the minimal.cfg (or another archive that you
have your contacts). This contact must be in htpasswd archive...

Try to do it...

[]'s

2006/9/8, Marc Powell <marc at ena.com>:
>
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Rob Ristroph
> > Sent: Thursday, September 07, 2006 8:11 PM
> > To: Nagios Users Mailinglist
> > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ?
> >
> >
> > Hi,
> >         When I visit my nagios from the web, it asks me for the
> >         user/pass and I log in successfully, except when I do "show
> >         host details" it says:
> >
> > "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."
> >
> >         It also says "Logged in as ?" near the top of the page.
>
>
> >
> >         It prints to standard out a correct html page that says
> >         "Logged in as nagiosadmin".
> >
> >         I can't find any useful information in the apache or nagios
> >         logs.
> >
> >         Any suggestions on how this can be debugged ?  I realize that
>
> Make sure that you have the correct htaccess information for the _sbin_
> directory, not (just) the share directory. Depending on how you
> configured it it's either in httpd.conf or an .htaccess file in
> ~nagios/sbin. It's the configuration for the sbin directory that's
> important.
>
> http://nagios.sourceforge.net/docs/2_0/installweb.html
>
> If you made the changes to httpd.conf, be sure you restarted apache
> after doing so.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060911/613707d0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list