Page 1 of 1

Nagios Load avarage > 10

Posted: Wed Jul 27, 2011 1:12 pm
by tatka
Hello, I deal with the problem of high load avarage on your Nagios XI. Installing Nagios is the 32bit version of VMware. VMware is the standard for nagios so I can use only 4 vCPU. nagios.cfg I see the edited document http://assets.nagios.com/downloads/nagi ... rmance.pdf without improving load avarage. Is there a way to reduce the load avatage?
Image
Image

Re: Nagios Load avarage > 10

Posted: Wed Jul 27, 2011 1:21 pm
by nscott
You will get a very large performance boost from Offloading your MySQL server if you're already stretched that far.

How many hosts are you monitoring? And services?

http://exchange.nagios.org/directory/Do ... er/details

Re: Nagios Load avarage > 10

Posted: Wed Jul 27, 2011 1:50 pm
by tatka
We have 388 guests and 2989 services. Ok install MySQL server on a separate server. Thanks for the advice.

Re: Nagios Load avarage > 10

Posted: Tue Aug 02, 2011 3:28 am
by tatka
Hi, I moved the MySQL database to another server, but usage is still high Nagios. Is there any way to lighten the server?

Re: Nagios Load avarage > 10

Posted: Tue Aug 02, 2011 9:22 am
by nscott
Moving that MySQL server should cut the CPU usage in at least half. Did you turn the mysqld service off on your Nagios server? When you do the top command, is there a service that is eating a riduculous amount of cycles?

Re: Nagios Load avarage > 10

Posted: Tue Aug 02, 2011 12:57 pm
by tatka
On the nagios service mysqld is turned off. This is how the load on the server. Most loads apache service.
Image

Re: Nagios Load avarage > 10

Posted: Tue Aug 02, 2011 1:49 pm
by nscott
Wow, yes, apache is totally dominating your CPU. Do you serve to a lot users? How many open connections do you have?

(if you use a non default port, like other than 80 sub that in)

Code: Select all

netstat -an | grep :80 | wc -l
Do you use SSL?

Re: Nagios Load avarage > 10

Posted: Wed Aug 03, 2011 1:59 am
by tatka
No SSL.

Code: Select all

netstat -an | grep :80 | wc -l
The result ranges from 50 to 10.
3 users :-(

Re: Nagios Load avarage > 10

Posted: Tue Aug 16, 2011 5:15 pm
by ormsbeec
what does your disk usage look like? iostat might tell you a bit more.

I had a similar situation with the 32bit vm; no matter what I did the load would not go down. I had about the same amount of hosts and checks (all passive nsca) and mysql on a second server. I moved to a 64bit server with 8gb of ram and switched all the checks over to nrdp, after which the load sits around 1 to 1.5.