Nagios cannot detect user

Matteo Corti matteo.corti at id.ethz.ch
Tue Feb 14 08:42:09 CET 2006


Dear Marc,

[...]
>> ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi
>> <Directory "/usr/lib/nagios/cgi-bin">
>>    Options ExecCGI
[...]
> 
> I believe this is your problem. If the nagios cgi's truly live in
> /usr/lib/nagios/cgi, then the auth restrictions are not applied where
> they're needed. You're applying them to the wrong directory,
> /usr/lib/nagios/cgi-bin.
> 
> You're being prompted to log in because the auth restrictions to the
> html directory _are_ working but that doesn't matter since the CGI's,
> that need to see the auth info, are in another directory.

Many thanks, whis was indeed the problem. I really didn't notice looking
at the config files since, without thinking too much, both
/usr/lib/nagios/cgi and /usr/lib/nagios/cgi-bin seemed reasonable.

Thanks again,

Matteo

-- 
Matteo Corti
ETH Zurich
Informatikdienste / Basisdienste
matteo.corti at id.ethz.ch
+41 44 6327944


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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





More information about the Users mailing list