Page 1 of 1

CPU Load vs setup

Posted: Thu Jul 26, 2012 10:59 am
by tbarnett
I have a vmware Nagios appliance running with 8gb of ram and 6 cores which seem to be equally loaded. There are 7101 services and 674 hosts setup. We are at the latest version of Nagios and I did a yum update yesterday on the server.

My problem is the server seems to be overloaded all the time. The screen refreshes on the website are very slow and the mrtg graphs randomly start and stop. I haven't established a pattern for that.

I setup rrdcached yesterday and I thought that reduced the load. However today its back up high again.

I'm including the system profile output.

Can someone tell me if I'm trying to do too much with this server / install of Nagios?

Also, is there a setup issue that stands out?

Thanks,

Tom

Re: CPU Load vs setup

Posted: Thu Jul 26, 2012 11:59 am
by scottwilkerson
With this setup there are a couple things I can recommend.

The biggest hangup is likely disk IO, the 2 biggest things you can do to reduce that is Utilizing A RAM Disk In NagiosXI & Offloading MySQL To A Remote Server

For the performance graphs cutting out you can modify the following file
/usr/local/nagios/etc/pnp/npcd.cfg

Change

Code: Select all

load_threshold=60
Then restart npcd

Code: Select all

service npcd restart
What version of XI are you running?

Re: CPU Load vs setup

Posted: Thu Jul 26, 2012 1:05 pm
by tbarnett
The Version is 2011R3.2

Re: CPU Load vs setup

Posted: Thu Jul 26, 2012 3:07 pm
by scottwilkerson
So you have the latest which is good.

I would recommend making the changes I mentioned above, especially the change to npcd as without this you could end up with a backlog of performance data that never gets processed.

Re: CPU Load vs setup

Posted: Thu Jul 26, 2012 3:37 pm
by tbarnett
I did make the change you suggested and the graphs are now being displayed correctly. Thanks,

Also, I am working on moving the mysql database to another server.

Thanks for all your help.

Tom