Slow apply config after upgrade to 5.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Slow apply config after upgrade to 5.7

Post by dariopalermo »

After upgrading to 5.7, most of the times applying configuration is very slow. What cai I do to speed it up again?

Bye, Dario
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow apply config after upgrade to 5.7

Post by scottwilkerson »

How long is it taking approximately?

I know in another thread you mentioned using the bulk rename tool, when using that it can take a bit longer for the run that follows that change as there can be numerous files that changed.

Does it take a long time consistently?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Slow apply config after upgrade to 5.7

Post by dariopalermo »

The issue is still present while I used the bulk renaming tool days ago. We are configuring the box so we apply new configurations very often. Some times it takes a few seconds and some other times, even with a very small config change, it will take a couple of minutes.

Bye, Dario
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow apply config after upgrade to 5.7

Post by scottwilkerson »

dariopalermo wrote:The issue is still present while I used the bulk renaming tool days ago. We are configuring the box so we apply new configurations very often. Some times it takes a few seconds and some other times, even with a very small config change, it will take a couple of minutes.

Bye, Dario
This can vary in amount of time as part of the Apply configuration process is waiting for the nagios engine to stop, and to do so it has to wait for results of all the checks that it has already started. If you have some checks that can take some time to get results and they are in the process of being checked, it would be longer.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Slow apply config after upgrade to 5.7

Post by dariopalermo »

So if I disable most of the service checks, it should go back to be always fast, right? I'll test it to be sure I don't have any strange issue in my Nagios box.

bye, Dario
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow apply config after upgrade to 5.7

Post by scottwilkerson »

dariopalermo wrote:So if I disable most of the service checks, it should go back to be always fast, right? I'll test it to be sure I don't have any strange issue in my Nagios box.

bye, Dario
While not really a solution, yes, it should be faster if nagios isn't checking many services
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Slow apply config after upgrade to 5.7

Post by dariopalermo »

Yes I know that's not a solution but I want to check that there is no problem after the upgrade by going back to the last configuration we used pre-upgrade.

Honestly I'm confident that we still will be having the issue because I started noticing this behaviuor right after the 5.7 upgrade without changing any configuration...

Bye, Dario
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow apply config after upgrade to 5.7

Post by scottwilkerson »

dariopalermo wrote:Yes I know that's not a solution but I want to check that there is no problem after the upgrade by going back to the last configuration we used pre-upgrade.

Honestly I'm confident that we still will be having the issue because I started noticing this behaviuor right after the 5.7 upgrade without changing any configuration...

Bye, Dario
Sounds good
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Slow apply config after upgrade to 5.7

Post by dariopalermo »

5.7.1 seems to be faster...

bye, Dario
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Slow apply config after upgrade to 5.7

Post by lmiltchev »

5.7.1 seems to be faster...
Dario, is it safe to close this topic now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked