Nagios Load avarage > 10

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tatka
Posts: 12
Joined: Tue Mar 22, 2011 7:59 am
Location: Prag
Contact:

Nagios Load avarage > 10

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios Load avarage > 10

Post 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
Nicholas Scott
Former Nagios employee
tatka
Posts: 12
Joined: Tue Mar 22, 2011 7:59 am
Location: Prag
Contact:

Re: Nagios Load avarage > 10

Post by tatka »

We have 388 guests and 2989 services. Ok install MySQL server on a separate server. Thanks for the advice.
tatka
Posts: 12
Joined: Tue Mar 22, 2011 7:59 am
Location: Prag
Contact:

Re: Nagios Load avarage > 10

Post 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?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios Load avarage > 10

Post 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?
Nicholas Scott
Former Nagios employee
tatka
Posts: 12
Joined: Tue Mar 22, 2011 7:59 am
Location: Prag
Contact:

Re: Nagios Load avarage > 10

Post by tatka »

On the nagios service mysqld is turned off. This is how the load on the server. Most loads apache service.
Image
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios Load avarage > 10

Post 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?
Nicholas Scott
Former Nagios employee
tatka
Posts: 12
Joined: Tue Mar 22, 2011 7:59 am
Location: Prag
Contact:

Re: Nagios Load avarage > 10

Post by tatka »

No SSL.

Code: Select all

netstat -an | grep :80 | wc -l
The result ranges from 50 to 10.
3 users :-(
ormsbeec
Posts: 35
Joined: Fri May 27, 2011 1:18 pm

Re: Nagios Load avarage > 10

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