真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

nagios自帶的插件check_disk用法

nagios自帶插件check_disk的用法

成都創(chuàng)新互聯(lián)-專(zhuān)業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性?xún)r(jià)比堆龍德慶網(wǎng)站開(kāi)發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫(kù),直接使用。一站式堆龍德慶網(wǎng)站制作公司更省心,省錢(qián),快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋堆龍德慶地區(qū)。費(fèi)用合理售后完善,十年實(shí)體公司更值得信賴(lài)。

一、help幫助

check_diskv1.4.15(nagios-plugins1.4.15)

Thisplugincheckstheamountofuseddiskspaceonamountedfilesystem

andgeneratesanalertiffreespaceislessthanoneofthethresholdvalues

Usage:

check_disk-wlimit-climit[-Wlimit][-Klimit]{-ppath|-xdevice}

[-C][-E][-e][-ggroup][-k][-l][-M][-m][-Rpath][-rpath]

[-ttimeout][-uunit][-v][-Xtype]

Options:

-h,--help

Printdetailedhelpscreen

-V,--version

Printversioninformation

-w,--warning=INTEGER

ExitwithWARNINGstatusiflessthanINTEGERunitsofdiskarefree

-w,--warning=PERCENT%

ExitwithWARNINGstatusiflessthanPERCENTofdiskspaceisfree

-c,--critical=INTEGER

ExitwithCRITICALstatusiflessthanINTEGERunitsofdiskarefree

-c,--critical=PERCENT%

ExitwithCRITCALstatusiflessthanPERCENTofdiskspaceisfree

-W,--iwarning=PERCENT%

ExitwithWARNINGstatusiflessthanPERCENTofinodespaceisfree

-K,--icritical=PERCENT%

ExitwithCRITICALstatusiflessthanPERCENTofinodespaceisfree

-p,--path=PATH,--partition=PARTITION

Pathorpartition(mayberepeated)

-x,--exclude_device=PATH

Ignoredevice(onlyworksif-punspecified)

-C,--clear

Clearthresholds

-E,--exact-match

Forpathsorpartitionsspecifiedwith-p,onlycheckforexactpaths

-e,--errors-only

Displayonlydevices/mountpointswitherrors

-g,--group=NAME

Grouppaths.Thresholdsapplyto(free-)spaceofallpartitionstogether

-k,--kilobytes

Sameas'--unitskB'

-l,--local

Onlychecklocalfilesystems

-L,--stat-remote-fs

Onlychecklocalfilesystemsagainstthresholds.Yetcallstatonremotefilesystems

totestiftheyareaccessible(e.g.todetectStaleNFSHandles)

-M,--mountpoint

Displaythemountpointinsteadofthepartition

-m,--megabytes

Sameas'--unitsMB'

-A,--all

Explicitlyselectallpaths.Thisisequivalentto-R'.*'

-R,--eregi-path=PATH,--eregi-partition=PARTITION

Caseinsensitiveregularexpressionforpath/partition(mayberepeated)

-r,--ereg-path=PATH,--ereg-partition=PARTITION

Regularexpressionforpathorpartition(mayberepeated)

-I,--ignore-eregi-path=PATH,--ignore-eregi-partition=PARTITION

Regularexpressiontoignoreselectedpath/partition(caseinsensitive)(mayberepeated)

-i,--ignore-ereg-path=PATH,--ignore-ereg-partition=PARTITION

Regularexpressiontoignoreselectedpathorpartition(mayberepeated)

-t,--timeout=INTEGER

Secondsbeforeconnectiontimesout(default:10)

-u,--units=STRING

Choosebytes,kB,MB,GB,TB(default:MB)

-v,--verbose

Showdetailsforcommand-linedebugging(Nagiosmaytruncateoutput)

-X,--exclude-type=TYPE

Ignoreallfilesystemsofindicatedtype(mayberepeated)

二、舉例:

./check_disk-w80%-c10%-p/

解釋?zhuān)?/p>

1、-w:設(shè)置警告閥值:如果空閑空間小于80%就是警告閥值

2、-c:設(shè)置critial閥值:如果空閑空間小于10%就是critial閥值

3、-p:指定監(jiān)控的partition分區(qū)


名稱(chēng)欄目:nagios自帶的插件check_disk用法
URL分享:http://weahome.cn/article/jdjhgs.html

其他資訊

在線(xiàn)咨詢(xún)

微信咨詢(xún)

電話(huà)咨詢(xún)

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部