CPU Load vs setup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tbarnett
Posts: 52
Joined: Thu Jul 26, 2012 8:36 am

CPU Load vs setup

Post 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
You do not have the required permissions to view the files attached to this post.
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CPU Load vs setup

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tbarnett
Posts: 52
Joined: Thu Jul 26, 2012 8:36 am

Re: CPU Load vs setup

Post by tbarnett »

The Version is 2011R3.2
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CPU Load vs setup

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tbarnett
Posts: 52
Joined: Thu Jul 26, 2012 8:36 am

Re: CPU Load vs setup

Post 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
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Locked