您好,登錄后才能下訂單哦!
一、help幫助
check_swapv1.4.15(nagios-plugins1.4.15)
Usage:
check_swap[-av]-w<percent_free>%-c<percent_free>%
check_swap[-av]-w<bytes_free>-c<bytes_free>
Options:
-h,--help
Printdetailedhelpscreen
-V,--version
Printversioninformation
-w,--warning=INTEGER
ExitwithWARNINGstatusiflessthanINTEGERbytesofswapspacearefree
-w,--warning=PERCENT%%
ExitwithWARNINGstatusiflessthanPERCENTofswapspaceisfree
-c,--critical=INTEGER
ExitwithCRITICALstatusiflessthanINTEGERbytesofswapspacearefree
-c,--critical=PERCENT%%
ExitwithCRITCALstatusiflessthanPERCENTofswapspaceisfree
-a,--allswaps
Conductcomparisonsforallswappartitions,onebyone
-v,--verbose
Showdetailsforcommand-linedebugging(Nagiosmaytruncateoutput)
二、舉例:
./check_swap-w50%-c20%
解釋:
1、-w:設置警告閥值,如果剩余的swap不足50%,啟動警告閥值
2、-c:設置critial閥值,如果剩余的swap不足20%,啟動critial閥值
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。