Apply Configuration spinning on verification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Apply Configuration spinning on verification

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Apply Configuration spinning on verification

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: Apply Configuration spinning on verification

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Apply Configuration spinning on verification

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: Apply Configuration spinning on verification

Post 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
Last edited by rdhall01 on Mon Mar 17, 2014 1:26 pm, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Apply Configuration spinning on verification

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: Apply Configuration spinning on verification

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