Nagios cannot detect user
Matteo Corti
matteo.corti at id.ethz.ch
Mon Feb 13 09:29:40 CET 2006
Hi,
I access nagios (2.0) through Apache and SSL (see below for the
configuration)
As expected Apache asks me to authenticate when loading the page but
nagios is not able to get my user name. In the tactical overview I see:
Tactical Monitoring Overview
Last Updated: Mon Feb 13 09:24:30 CET 2006
Updated every 90 seconds
Nagios® - www.nagios.org
Logged in as ?
Since I am using authentication (use_authentication=1) I am not able to
access all the information pages.
If I set the default user everything works like a charm (i.e., the rest
of the configuration seems OK).
Many thanks for any hint.
Matteo
================
httpd.conf
# Force SSL
RewriteEngine On
RewriteLogLevel 0
RewriteCond %{HTTPS} "off"
RewriteRule ^/nagios(.*) https://%{HTTP_HOST}/nagios$1 [L,R=permanent]
# For SSL-servers
ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi
<Directory "/usr/lib/nagios/cgi-bin">
Options ExecCGI
SSLRequireSSL
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd
Require valid-user
</Directory>
Alias /nagios /usr/share/nagios/html
<Directory /usr/share/nagios/html>
Options FollowSymLinks
SSLRequireSSL
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd
Require valid-user
</Directory>
--
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