Page 1 of 1

Apply Configuration spinning on verification

Posted: Wed Mar 12, 2014 1:00 pm
by rdhall01
http://support.nagios.com/forum/viewtop ... 16&t=11874 similar issue in the past

I looked back at this issue thta I opened previously and its not working apply configuration just keeps spinning untilr i do a service crond stop and run aaaaaps -aef|grep cron there are still nagios related processes running if I do a service crond start its a 50 50 if it will work. Im looking for more information to be anle to apply configurations

configuration snapshot come up clean

Date Snapshot Result File Actions
2014-03-12 13:43:29 Config Ok 1394646209.tar.gz Download View Output Restore
2014-03-12 11:32:48 Config Ok 1394638368.tar.gz Download View Output Restore
2014-03-11 16:45:51 Config Ok 1394570751.tar.gz Download View Output Restore
2014-03-11 16:33:58 Config Ok 1394570038.tar.gz Download View Output Restore

Nagios XI 2012R2.9

Re: Apply Configuration spinning on verification

Posted: Wed Mar 12, 2014 2:03 pm
by abrist
php could be timing out. What is the output of:

Code: Select all

grep " memory_limit\|max_execution\|max_input" /etc/php.ini

Re: Apply Configuration spinning on verification

Posted: Wed Mar 12, 2014 3:08 pm
by rdhall01
grep " memory_limit\|max_execution\|max_input" /etc/php.ini

max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 90 ; Maximum amount of time each script may spend parsing request data

Re: Apply Configuration spinning on verification

Posted: Wed Mar 12, 2014 4:29 pm
by lmiltchev
How large is your setup? Try increasing the "max_execution_time" to 120, restart apache:

Code: Select all

service httpd restart
and try to apply configuration again.

BTW, do you have any errors in the apache error log?

Code: Select all

tail /var/log/httpd/error_log

Re: Apply Configuration spinning on verification

Posted: Mon Mar 17, 2014 12:16 pm
by rdhall01
size of setup
1000 plus hosts
6000 plus services
checking logs now


log check

[Mon Mar 17 10:12:10 2014] [error] [client 172.28.12.50] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: https://nagios.saas.infor.com/nagiosxi/ ... e=overview

Re: Apply Configuration spinning on verification

Posted: Mon Mar 17, 2014 12:42 pm
by lmiltchev
Were you able to successfully apply configuration after increasing the "max_execution_time" to 120? Did you check the apache error log for errors?

Re: Apply Configuration spinning on verification

Posted: Mon Mar 17, 2014 1:41 pm
by rdhall01
yes I was able to apply after changing to max_execution_time 90, but the weird thing is if it just kept spinning I could stop and start crond and it would take but a few seconds to apply after a restart of ctond.