]> granicus.if.org Git - icinga2/commitdiff
Fix check_disk thresholds: make sure partitions are the last arguments
authorLouis Sautier <sautier.louis@gmail.com>
Mon, 9 Mar 2015 14:11:25 +0000 (15:11 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 9 Mar 2015 14:32:24 +0000 (15:32 +0100)
fixes #8658

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
itl/command-plugins.conf

index dbf3535dd144afe97da3525f99a1910bb6991b80..5f345c25cbd7e8c8e69fc59a07df76a408e2b108 100644 (file)
@@ -493,11 +493,13 @@ object CheckCommand "disk" {
                        value = "$disk_partitions$"
                        description = "Path or partition (may be repeated)"
                        repeat_key = true
+                       order = 1
                }
 
                "-p_old" = {
                        key = "-p"
                        value = "$disk_partition$"
+                       order = 1
                }
 
                "-x" = {