Cannot import host using NCPA Monitoring Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kyang

Re: Cannot import host using NCPA Monitoring Wizard

Post 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
genna
Posts: 34
Joined: Mon Aug 14, 2017 8:10 pm

Re: Cannot import host using NCPA Monitoring Wizard

Post by genna »

Hi @kyang
Thanks for your reply,
I've tried your suggestion and had exactly the same result.
Regards
Genna
genna
Posts: 34
Joined: Mon Aug 14, 2017 8:10 pm

Re: Cannot import host using NCPA Monitoring Wizard

Post 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
kyang

Re: Cannot import host using NCPA Monitoring Wizard

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