Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

Marc Powell marc at ena.com
Wed Jan 28 23:34:35 CET 2009


On Jan 28, 2009, at 2:21 PM, Rahul Nabar wrote:

> Intel(R) Xeon(TM) CPU 2.80GHz dual core. 2 GB RAM
> Its about 5 years old now I think.

For comparison, my most heavily loaded data collector is a 2x Dual  
Core AMD Opteron(tm) Processor 275 (2.1Ghz), 2GB RAM. It is running --

	- Nagios 2.x polling 2225 services every 5 minutes (mostly ping, some  
nrpe, some check_by_ssh, several other custom plugins); also  
submitting results to 2 central nagios servers
	- Cricket polling for 14,420 interfaces and updating corresponding  
rrd files every 5 minutes

load average is currently --

  16:17:36  up 323 days, 10:43,  1 user,  load average: 3.25, 3.39, 3.07
101 processes: 90 sleeping, 6 running, 5 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
            total   19.2%    0.0%   24.5%   0.0%     0.1%    8.5%    
47.3%
            cpu00   22.0%    0.0%   21.0%   0.0%     0.0%   10.2%    
46.7%
            cpu01   16.1%    0.0%   23.8%   0.0%     0.0%    8.0%    
51.9%
            cpu02   18.8%    0.0%   26.1%   0.0%     0.1%   10.8%    
44.0%
            cpu03   20.0%    0.0%   27.1%   0.3%     0.5%    5.3%    
46.5%
Mem:  2057192k av, 2030424k used,   26768k free,       0k shrd,    
49504k buff
                    1562164k actv,  298668k in_d,   31376k in_c
Swap: 2040212k av,    9548k used, 2030664k free                  
1803572k cached

I also do not perform host checks but if you're on nagios-3, the  
performance penalties of doing regular hosts checks are no longer an  
issue as they are with 2.x.

--
Marc


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list