Nagios Network Analyzer AD user interface doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Nagios Network Analyzer AD user interface doesn't work

Post 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.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

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

Post by HIINNS »

Should read -> Can't contact LDAP server.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

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

Post 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.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

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

Post 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>.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

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

Post by HIINNS »

Still can't login through the Web interface. I still get Can't contact LDAP server. Any ideas?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

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

Post by HIINNS »

Could my problem be that selinux in enabled on my NagiosNA server and disabled on my NagiosXI server?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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.
Locked