From 04c65daa34c4e4e158ef0d886e4c315e6fca7015 Mon Sep 17 00:00:00 2001 From: Harald Laabs Date: Fri, 3 Nov 2017 11:07:16 +0100 Subject: [PATCH] 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. --- itl/command-plugins.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index f4c01134c..fdb5aaa8a 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1399,10 +1399,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$" @@ -1466,6 +1468,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$"