189 8069 5689

Nagios中check_load命令解釋

示例指令:

为靖远等地区用户提供了全套网页设计制作服务,及靖远网站建设行业解决方案。主营业务为网站制作、成都网站建设、靖远网站设计,以传统方式定制建设网站,并提供域名空间备案等一条龙服务,秉承以专业、用心的态度为用户提供真诚的服务。我们深信只要达到每一位用户的要求,就会得到认可,从而选择与我们长期合作。这样,我们也可以走得更远!

check_load!5.0,4.0,3.0!10.0,6.0,4.0 -r

解释:

当一分钟超过5个进程等待;5分钟超过4个进程等待;15分钟超过3进程等待则提升至Waining状态

当一分钟超过10个进程等待;5分钟超过6个进程等待;15分钟超过4进程等待则提升至Critical状态

-r表示--percpu:Divide the load averages by the number of CPUs (when possible)

以下是man结果:

check_load v1.4.16-84-g1fd50 (nagios-plugins 1.4.16)
Copyright (c) 1999 Felipe Gustavo de Almeida 
Copyright (c) 1999-2007 Nagios Plugin Development Team

This plugin tests the current system load average.
Usage:
check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-w, --warning=WLOAD1,WLOAD5,WLOAD15
Exit with WARNING status if load average exceeds WLOADn
-c, --critical=CLOAD1,CLOAD5,CLOAD15
Exit with CRITICAL status if load average exceed CLOADn
the load average format is the same used by "uptime" and "w"
-r, --percpu
Divide the load averages by the number of CPUs (when possible)
Send email to nagios-users@lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel@lists.sourceforge.net

网站题目:Nagios中check_load命令解釋
分享网址:http://jkwzsj.com/article/gioocc.html

其他资讯