Page 2 of 2

Re: Cannot import host using NCPA Monitoring Wizard

Posted: Wed Nov 15, 2017 12:09 pm
by kyang
Thanks for the profile!

Could you try increasing max_execution_time & max_input_time & memory_limit in the php.ini file.

Code: Select all

max_execution_time = 120
max_input_time = 120
memory_limit = 256
If memory_limit is at 256 then change it to 512.

Then try to reconfigure Nagios and show us the output.

Code: Select all

su nagios
/usr/local/nagiosxi/scripts
./reconfigure_nagios.sh

Re: Cannot import host using NCPA Monitoring Wizard

Posted: Wed Nov 15, 2017 5:59 pm
by genna
Hi @kyang
Thanks for your reply,
I've tried your suggestion and had exactly the same result.
Regards
Genna

Re: Cannot import host using NCPA Monitoring Wizard

Posted: Thu Nov 16, 2017 1:11 am
by genna
Hi,
It appears I have resolved the issue.
Someone has commented in
require_once($CFG['pear_include']);
/usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php
It caused error inside config_class.php and left reconfigure_nagios.lock. Removing lock file and uncommenting the line has fixed the problem
Thanks
Genna

Re: Cannot import host using NCPA Monitoring Wizard

Posted: Thu Nov 16, 2017 10:00 am
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!