温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Nagios中check_load命令解釋

发布时间:2020-07-30 16:46:34 来源:网络 阅读:4351 作者:freehei 栏目:移动开发

示例指令:

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 <galmeida@linux.ime.usp.br>
Copyright (c) 1999-2007 Nagios Plugin Development Team
<nagiosplug-devel@lists.sourceforge.net>
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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI