Command applying but not showing in GUI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Command applying but not showing in GUI

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Command applying but not showing in GUI

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Command applying but not showing in GUI

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Command applying but not showing in GUI

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.

Thank you!
Locked