Applying Configuration problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Applying Configuration problems

Post by ecarrasq »

System Info

Linux Distribution and version?

*Linux version 2.6.18-348.16.1.el5PAE #1 SMP Wed Aug 21 04:49:45 EDT 2013 i686 i686 i386 GNU/Linux
CentOS release 5.7 (Final)


32 or 64bit?

32 bit

VMware Image or Manual Install of XI?

VMware Image

Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?

Forced SSL on NagiosXi login web screen

Nagios Xi version: Nagios XI 2012R2.3

Issue:

When Applying configurations, it takes a really long time to finish. When it finally finished, the "Monitoring Engine" does not start right away, and sometimes takes hours. We've had to manually restart the nagios service from terminal (service nagios restart) which sometimes it works and some times it doesn't.

It also does not allow others to make any changes such as enabling alerts, acknowledge, etc... during this time.

Please assist.

Thank you,
Eddie
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Applying Configuration problems

Post by abrist »

Lets check the php.ini settings first:

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.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Applying Configuration problems

Post by ecarrasq »

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


max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M ; Maximum amount of memory a script may consume
memory_limit = 64M
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Applying Configuration problems

Post by sreinhardt »

By really long time, you mean under 2 minutes to apply, but still excessive for the process to start back up, right? What kind of system load are you looking at during this time? I notice that you have about 450 hosts and 400 services does that sound about right?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Applying Configuration problems

Post by ecarrasq »

We have 3880 services and 817 hosts monitored.
img004.jpeg
And yes, about less than 2 minutes to apply, but excessive for the process to start.

Load always spikes to over 12:
img005.jpeg
img006.jpeg
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Applying Configuration problems

Post by abrist »

Your memory limit is declared twice in php.ini. Remove the line:

Code: Select all

memory_limit = 64M
From the file: /etc/php.ini

Then restart httpd:

Code: Select all

service httpd restart
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.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Applying Configuration problems

Post by ecarrasq »

the 64M is encapsulated within SOAP:
img007.jpeg
img008.jpeg
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Applying Configuration problems

Post by abrist »

We may need to move this to the ticketing system, as a remote session may be necessary. Please open a ticket by sending an email to: [email protected]
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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Applying Configuration problems

Post by lmiltchev »

ecarrasq,

You opened a new support ticket in our ticketing system. We will continue communicating via email. I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked