Logging for Nagios and Apache doesn't tell me anything going wrong. My current nagios.conf is below. Any help on how I can troubleshoot this and get to a working state would be much appreciated. With an ldapsearch query I'm able to retrieve the right information, so its not the LDAP query or any firewalling in between.
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
Require valid-user
AuthLDAPURL "ldap://192.168.X.X:389/DC=domain,DC=local?sAMAccountName?sub"
AuthLDAPBindDN "CN=LDAP Nagios,OU=Service Accounts,OU=Some OU,OU=Some OU,OU=Organization,DC=domain,DC=local"
AuthLDAPBindPassword "Password"
AuthBasicProvider file ldap
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
Require valid-user
AuthLDAPURL "ldap://192.168.X.X:389/DC=domain,DC=local?sAMAccountName?sub"
AuthLDAPBindDN "CN=LDAP Nagios,OU=Service Accounts,OU=Some OU,OU=Some OU,OU=Organization,DC=domain,DC=local"
AuthLDAPBindPassword "stack-TEJnga"
AuthBasicProvider file ldap
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
</Directory>