Merge pull request #5717 from hrld/patch-1

add order tags to disk check
This commit is contained in:
Michael Friedrich 2017-12-19 09:22:22 +01:00 committed by GitHub
commit 49931ea732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1376,10 +1376,12 @@ object CheckCommand "disk" {
"-W" = {
value = "$disk_inode_wfree$"
description = "Exit with WARNING status if less than PERCENT of inode space is free"
order = -3
}
"-K" = {
value = "$disk_inode_cfree$"
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
order = -3
}
"-p" = {
value = "$disk_partitions$"
@ -1443,6 +1445,7 @@ object CheckCommand "disk" {
"-A" = {
set_if = "$disk_all$"
description = "Explicitly select all paths. This is equivalent to -R .*"
order = 1
}
"-R" = {
value = "$disk_eregi_path$"