示例指令:
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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。