Page 1 of 1

Fresh Install : Apply configuration hangs

Posted: Mon Dec 11, 2017 8:22 pm
by matson-itops
Could someone help with this install?
I get stuck in "apply configuration" forever.

Fresh install of NagiosXi 5.4.2 on a minimal Centos 6 box
Disk space, permissions (reconfigure nagios/ sudo), and fix db all come out fine
Checked another few things people suggested so far, but no joy.

Nagiosxi GUI comes up fine.
However when I simply go into CCM to disable "root disk check" ,
I get stuck in "apply configuration" forever.

Re: Fresh Install : Apply configuration hangs

Posted: Tue Dec 12, 2017 10:13 am
by kyang
It looks like you have done most things in the article?

https://support.nagios.com/kb/article.php?id=34

Have you tried increasing the PHP values? (also listed in the kb article)
In /etc/php.ini, increase these values.

Code: Select all

max_execution_time = 60
max_input_time = 60
memory_limit = 256

Code: Select all

service httpd restart
If not, in the CCM try to under tools click --> Config File Management --> Delete --> Write --> Verify and show us the output.

Re: Fresh Install : Apply configuration hangs

Posted: Wed Dec 13, 2017 2:20 pm
by matson-itops
yes. I upped the PHP timeouts also

in this case I forgot to ensure we have appropriate sudoer files for nagios

Can we please include them in the instructions?

Re: Fresh Install : Apply configuration hangs

Posted: Wed Dec 13, 2017 3:49 pm
by kyang
The instructions should be listed in the kb article I gave.

I grabbed the sudoers file for you on XI version 5.4.2, and I will upload it here.
nagiosxi.sudoers.txt
Did the PHP increase help the apply configuration? Or is it still the same?