Many of the service checks on same second

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
voicelink
Posts: 10
Joined: Tue Sep 17, 2013 9:22 am
Contact:

Many of the service checks on same second

Post by voicelink »

We have high cpu usage on our NagiosXI server sometimes. This happens mostly when there are lots of service checks on same second. We can change individual service easy to some other time, but is there an easy way to stop nagiosxi to set service checks to same second. We have over 2600 service checks, some checks every 5min, some 15min, some 60min etc...


Nagios XI Version : 2012R2.3
nagiosxi.domain.local 2.6.32-358.6.2.el6.x86_64 x86_64
CentOS release 6.4 (Final)
Gnome is not installed
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Many of the service checks on same second

Post by slansing »

Have you determined Nagios is what is causing your high CPU usage and not something else on the system? Can you navigate to Admin > Monitoring Engine Status and send us a screenshot of this page? As well as Admin > System Status
voicelink
Posts: 10
Joined: Tue Sep 17, 2013 9:22 am
Contact:

Re: Many of the service checks on same second

Post by voicelink »

ESXi checks are causing high cpu most of the time. Ping and snmp checks not so much.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Many of the service checks on same second

Post by abrist »

What are the specs of this server? The screenshot looks fairly healthy, though the max service execution time is a bit high. This can be due to the esxi checks as certain queries to a vmware server host/guest can take quite a while.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
voicelink
Posts: 10
Joined: Tue Sep 17, 2013 9:22 am
Contact:

Re: Many of the service checks on same second

Post by voicelink »

Server has 6-cpu cores (2,666Mhz per core) and 8GB RAM. Disc is from shared storage, HP P2000 G3 SAS.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Many of the service checks on same second

Post by slansing »

Shared storage "especially networked" can cause latency as well. Have you tried restarting ndo2db? Check to see what the check scheduling differences are after running:

Code: Select all

service ndo2db restart
Locked