mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 23:54:07 +02:00
Merge pull request #5717 from hrld/patch-1
add order tags to disk check
This commit is contained in:
commit
49931ea732
@ -1376,10 +1376,12 @@ object CheckCommand "disk" {
|
|||||||
"-W" = {
|
"-W" = {
|
||||||
value = "$disk_inode_wfree$"
|
value = "$disk_inode_wfree$"
|
||||||
description = "Exit with WARNING status if less than PERCENT of inode space is free"
|
description = "Exit with WARNING status if less than PERCENT of inode space is free"
|
||||||
|
order = -3
|
||||||
}
|
}
|
||||||
"-K" = {
|
"-K" = {
|
||||||
value = "$disk_inode_cfree$"
|
value = "$disk_inode_cfree$"
|
||||||
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
|
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
|
||||||
|
order = -3
|
||||||
}
|
}
|
||||||
"-p" = {
|
"-p" = {
|
||||||
value = "$disk_partitions$"
|
value = "$disk_partitions$"
|
||||||
@ -1443,6 +1445,7 @@ object CheckCommand "disk" {
|
|||||||
"-A" = {
|
"-A" = {
|
||||||
set_if = "$disk_all$"
|
set_if = "$disk_all$"
|
||||||
description = "Explicitly select all paths. This is equivalent to -R .*"
|
description = "Explicitly select all paths. This is equivalent to -R .*"
|
||||||
|
order = 1
|
||||||
}
|
}
|
||||||
"-R" = {
|
"-R" = {
|
||||||
value = "$disk_eregi_path$"
|
value = "$disk_eregi_path$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user