Page 2 of 2

Re: Command applying but not showing in GUI

Posted: Wed Nov 04, 2020 12:17 pm
by benjaminsmith
Hi @referebee,

So what can cause this type of behavior is a mismatch between SSL and non SSL. So the command is submitted over an HTTP connection, but the update to the GUI is blocked since SSL is not enabled on the backend.

Make sure you have the following set in the /usr/local/nagiosxi/html/config.inc.php:

Code: Select all

$cfg['use_https'] = true;
Then check the Program URL settings in Admin > System Config > System Settings to make sure those are correct for your server setup. Then test this again.

Also it looks like you have you have multiple ad/ldap components installed (which will need to be remediated).

First, set nagiosadmin to a local account (if it isn't already) and logout/log back into the system with it.

Then, disable active directory authentication in Admin > Manage Components > Active Directory > Settings, double check Admin > Manage Components > LDAP Auth > Settings is disabled as well.

Then setup the new component (copying the info from the old) in Admin > LDAP / AD Integration.

-- See below if you have questions

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

See here as well if you have issues:

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

Once you've done that and tested login functionality you can run these commands to get rid of the old components:

Code: Select all

rm -rf /usr/local/nagiosxi/html/includes/components/active_directory
rm -rf /usr/local/nagiosxi/html/includes/components/ldapauth
Lastly, update all of your components by going to Admin > System Extensions > select Check for Updates then Install Updates.

Re: Command applying but not showing in GUI

Posted: Wed Nov 04, 2020 1:51 pm
by rferebee
I tried changing the setting in the php file and it did not resolve the issue. I restarted the httpd service after making the change. I also verified the program URL is correct. The other thing I noticed is on the Monitoring Engine Status page, the Monitoring Engine Event Queue is blank (it shouldn't be).

Also, I'm confused about the AD/LDAP stuff. I see that the experimental components are installed, but they're both already disabled. We're only using the Core - LDAP/Active Directory Integration component. I don't think the AD/LDAP suggestion apply to my environment. All of my users are able to login without issue.

Any other thoughts?

Re: Command applying but not showing in GUI

Posted: Thu Nov 05, 2020 10:44 am
by benjaminsmith
Hi @rferebee,

Appreciate your patience, I think it would best to move this forum topic over to a support ticket to further troubleshoot at this point. Please open a ticket at the following link and reference this post. Also, let me know the ticket number and I can follow up with the support tech as well.

https://support.nagios.com/tickets/

Regarding the LDAP components, that is a recommendation to clean up the older ones, but if it's working fine I can understand if you do not want to make any changes.

Regards,
Benjamin

Re: Command applying but not showing in GUI

Posted: Fri Nov 06, 2020 11:17 am
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you!