Page 1 of 1

Applying Configuration problems

Posted: Tue Sep 17, 2013 12:38 pm
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

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 1:25 pm
by abrist
Lets check the php.ini settings first:

Code: Select all

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

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 2:45 pm
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

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 3:46 pm
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?

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 4:47 pm
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

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 4:59 pm
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

Re: Applying Configuration problems

Posted: Tue Sep 17, 2013 5:23 pm
by ecarrasq
the 64M is encapsulated within SOAP:
img007.jpeg
img008.jpeg

Re: Applying Configuration problems

Posted: Wed Sep 18, 2013 9:39 am
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]

Re: Applying Configuration problems

Posted: Wed Sep 18, 2013 11:29 am
by lmiltchev
ecarrasq,

You opened a new support ticket in our ticketing system. We will continue communicating via email. I am locking this topic.