Page 1 of 1

Nagios Network Analyzer AD user interface doesn't work

Posted: Mon Aug 02, 2021 11:31 am
by HIINNS
All, I have recently tried logging int Nagios Network Analyzer with my userid. The interface previously worked. The following is what I get when I try logging in -> Can't contace LDAP server. It is configured as the same as Nagios XI and Nagios Logserver (both of which work). I have looked in /var/log/messages, /var/log/secure, and /var/log/httpd/(all error files). Anywhere else I should be looking? Thank you.

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Mon Aug 02, 2021 11:32 am
by HIINNS
Should read -> Can't contact LDAP server.

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Mon Aug 02, 2021 4:26 pm
by pbroste
Hello @HIINNS

Thanks for reaching out, I understand that you are unable to login to your Nagios Network Analyzer web console via your Active Directory account and want to find out if you are able to login with the 'nagiosadmin' local administrator account. The local nagiosadmin account password reset script can be found in '/usr/local/nagiosna/scripts/reset_nagiosadmin_password.sh'

Once you are in the web console you will be able to check the LDAP configuration and verify the status. You can find additional logs for the Nagios Network Analyzer in the '/usr/local/nagiosna/var/... To verify that you are able to establish connection to your LDAP server from the Nagios Network Analyser, you can use the following command: (we should see response)

Code: Select all

nc <ldapserverip> 636 -v -w 60
We have a support article that provides more information on specific config to check out. Scroll-down the the section on Network Analyzer for details.

Thanks,
Perry

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Tue Aug 03, 2021 5:18 am
by HIINNS
My installation doesn't support nc, but I determined that the ldap server was unreachable by executing traceroute <ldap server IP>. Thank you for your help. Please close this case.

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Tue Aug 03, 2021 6:53 am
by HIINNS
My mistake a colleague of mine said to try and use telnet. ->

telnet <ip address> 636
Trying <ip address>
Connected to <ip address>.

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Tue Aug 03, 2021 7:00 am
by HIINNS
Still can't login through the Web interface. I still get Can't contact LDAP server. Any ideas?

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Tue Aug 03, 2021 1:50 pm
by ssax
Please follow this guide to enable debugging and PM me the output:

https://support.nagios.com/kb/article/a ... n-600.html

Please PM the FULL output of these commands as well from the XI server:
- Change your.domain.controller

Code: Select all

uname -a
cat /etc/*release
php -v
echo 'DONE' | openssl s_client -showcerts -connect your.domain.controller:636
Please PM a screenshot of Admin > LDAP / AD Integration with your Auth Server settings expanded.

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Thu Aug 05, 2021 6:55 am
by HIINNS
Could my problem be that selinux in enabled on my NagiosNA server and disabled on my NagiosXI server?

Re: Nagios Network Analyzer AD user interface doesn't work

Posted: Thu Aug 05, 2021 3:29 pm
by ssax
It likely is related to SELinux, do you see anything being blocked in /var/log/audit/audit.log? None of our products are meant to be run with SELinux enabled on them.