NagiosXI consuming a large amount of CPU
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
NagiosXI consuming a large amount of CPU
Hi,
We allocated 2 vCPU 3,2 GHZ to NagiosXI.
The server is consuming a large amount of these ressources (please see the attached file).
Is there a way to tune Nagiosxi ?
rgds,
Frederic
We allocated 2 vCPU 3,2 GHZ to NagiosXI.
The server is consuming a large amount of these ressources (please see the attached file).
Is there a way to tune Nagiosxi ?
rgds,
Frederic
You do not have the required permissions to view the files attached to this post.
Last edited by Frédéric GRANAT on Mon Dec 10, 2012 10:30 am, edited 1 time in total.
Re: NagiosXI consuming a large amount of CPU
I don't see the attached file. Could you, please, try attaching it again?
You can find some information on "fine tuning" nagios here:
http://assets.nagios.com/downloads/nagi ... p#boosting
You can find some information on "fine tuning" nagios here:
http://assets.nagios.com/downloads/nagi ... p#boosting
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: NagiosXI consuming a large amount of CPU
Hi, I add the file
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI consuming a large amount of CPU
Can you run the following and send back the created cpu.txt
Code: Select all
ps aux --sort -%cpu > cpu.txt-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: NagiosXI consuming a large amount of CPU
Here it is :
Removed
Removed
Last edited by scottwilkerson on Mon Dec 10, 2012 2:29 pm, edited 1 time in total.
Reason: Removed - contained sensitive data
Reason: Removed - contained sensitive data
Re: NagiosXI consuming a large amount of CPU
How many hosts+services are you monitoring?
How many of those service checks are using the Vmware Wizard (check_esx3.pl plugin)?
How many of those service checks are using the Vmware Wizard (check_esx3.pl plugin)?
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: NagiosXI consuming a large amount of CPU
Hi,
I monitor 216 host and 589 services
13 hosts checking services with check_esx3.pl (6 services / hosts).
Rgds,
Frederic
I monitor 216 host and 589 services
13 hosts checking services with check_esx3.pl (6 services / hosts).
Rgds,
Frederic
Re: NagiosXI consuming a large amount of CPU
Both check_esx3.pl and the wmi_plus plugins use more CPU than a lot of other plugins. It could simply be the higher overhead of these plugins. There are a few ways this could be resolved, the simplest would be to increase the check interval of these checks to spread them out a little bit more.
When you run "top" and sort by CPU time, does it show mysqld as #1 and httpd as #2?
When you run "top" and sort by CPU time, does it show mysqld as #1 and httpd as #2?
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: NagiosXI consuming a large amount of CPU
Most of the time it shows check_esx3.pl on the top
Thanks, I'm going to tune esx checks.
Rgds,
Frederic
Thanks, I'm going to tune esx checks.
Rgds,
Frederic
Re: NagiosXI consuming a large amount of CPU
Yeah, I would suggest only using the check_esx checks for the ESX servers themselves, for any client VM's use agents for the best performance.