Page 1 of 1

Unconfigured Objects wizard issue

Posted: Fri Apr 21, 2017 9:25 am
by cbeattie-unitrends
CentOS Linux release 7.3.1611 (64-bit)
Manual install of XI, recent manual upgrade to 5.4.3

I'm trying to add some passive checks, but the Unconfigured Objects wizard isn't cooperating. On my monitored host (Windows Server 2008 R2 x64, with NCPA 2.0.3), I have already configured some active checks which are working. Then I configured the passive checks, which also appear to be working inasmuch as they show up as unconfigured objects on my Nagios XI host.
unconfigured_objects_1.png
However, when I select the checkbox next to the host name and then the gear icon to configure the selected checks, that frame just goes blank. It doesn't matter if I reload the frame. I get the same result whether I use Firefox or Chrome.
unconfigured_objects_2.png
SELinux is disabled, for what it's worth.

Editing to add that if I manually configure the services for the passive checks, I get the results I'm expecting. I would rather not do that for over 100 checks, though.

Re: Unconfigured Objects wizard issue

Posted: Fri Apr 21, 2017 11:55 am
by mcapra
Can you share all of your Apache logs? They're typically found here:

Code: Select all

/var/log/httpd
If you're trying to configure a few hundred or so services, you may need to increase the default PHP memory limits. In /etc/php.ini, try increasing this value:

Code: Select all

memory_limit = 128M
Bump it up to 1024M, service httpd restart to apply the changes, and see if that resolves the issue. If not, the Apache logs should have some indication of what's going on.

[SOLVED] Unconfigured Objects wizard issue

Posted: Fri Apr 21, 2017 1:11 pm
by cbeattie-unitrends
Good call on the Apache logs, thank you. The error_log file had messages like this:

Code: Select all

[Fri Apr 21 11:52:29.423333 2017] [:error] [pid 14555] [client xxx.xxx.xxx.xxx:60569] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/local/nagiosxi/html/includes/configwizards/santricitybundle/santricitybundle.inc.php:191) in /usr/local/nagiosxi/html/includes/utils.inc.php on line 157, referer: http://xxx.xxx.xxx.xxx/nagiosxi/admin/missingobjects.php
I had installed the NetApp SANtricity plug-in a while back. On a hunch, I uninstalled it. As soon as I did, the Unconfigured Objects wizard worked and I was able to add the passive checks to their host.

You can lock this thread if you like.