Unconfigured Objects wizard issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cbeattie-unitrends
Posts: 84
Joined: Mon Oct 10, 2016 2:51 pm

Unconfigured Objects wizard issue

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Unconfigured Objects wizard issue

Post 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.
Former Nagios employee
https://www.mcapra.com/
cbeattie-unitrends
Posts: 84
Joined: Mon Oct 10, 2016 2:51 pm

[SOLVED] Unconfigured Objects wizard issue

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