Hi Rob, Take a look at "Authentication and authorisation in the CGI's" section off the docs, or alternatively jump to it from faq F0048. this solved a similar problem for me a few years ago.
-- tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Ristroph Sent: 12 September 2006 17:19 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] "Logged in as ?" -- http auth not working ? This is not the problem, I already had the htpasswd user be a valid contact, and the default_user_name was already commented out. I am not sure what it is, except that I suspect it is something in my apache configs. --Rob >>>>> "Rodrigo" == Rodrigo Maceno <[EMAIL PROTECTED]> writes: Rodrigo> Rodrigo> Ok, I had this same problem some time ago... Rodrigo> First, you must to retire the default_user_name at the cgi.cfg Rodrigo> archive. You must define a valid contact at the minimal.cfg (or Rodrigo> another archive that you have your contacts). This contact must be in htpasswd archive... Rodrigo> Rodrigo> Try to do it... Rodrigo> Rodrigo> []'s Rodrigo> Rodrigo> 2006/9/8, Marc Powell <[EMAIL PROTECTED]>: >> >> >> >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:nagios-users- [EMAIL PROTECTED] 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=121 >> 642 _______________________________________________ >> Nagios-users mailing list >> Nagios-users@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 >> Rodrigo> --------------------------------------------------------------- Rodrigo> ---------- Using Tomcat but need to do more? Need to support Rodrigo> web services, security? Rodrigo> Get stuff done quickly with pre-integrated technology to make Rodrigo> your job easier Download IBM WebSphere Application Server Rodrigo> v.1.0.1 based on Apache Geronimo Rodrigo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&d Rodrigo> at=121642_______________________________________________ Rodrigo> Nagios-users mailing list Rodrigo> Nagios-users@lists.sourceforge.net Rodrigo> https://lists.sourceforge.net/lists/listinfo/nagios-users Rodrigo> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. Rodrigo> ::: Messages without supporting info will risk being sent to Rodrigo> /dev/null -- http://rgr.freeshell.org/ ------------------------------------------------------------------------ - 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@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 ------------------------------------------------------------------------- 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@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