mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
add order tags to disk check
Ensure argument order for inode parameters and "all"-flag is the same as for other disk-free options and partition-parameter. As a result the inode-checks should actually work with the "disk_all" (-A) flag.
This commit is contained in:
parent
d6caf4aa46
commit
04c65daa34
@ -1399,10 +1399,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$"
|
||||||
@ -1466,6 +1468,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