]> granicus.if.org Git - icinga2/commitdiff
Add -f option to check_disk CheckCommand
authorJean Flach <jean-marcel.flach@netways.de>
Fri, 12 Feb 2016 09:22:15 +0000 (10:22 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 23 Feb 2016 08:45:55 +0000 (09:45 +0100)
fixes #11138

itl/command-plugins.conf

index e1219f96251dc98e08f3cb3a2f7dd4c019c38ded..a6257f9e42bb1edd47aeefc731b33fb231700091 100644 (file)
@@ -770,6 +770,11 @@ object CheckCommand "disk" {
                        description = "Display only devices/mountpoints with errors"
                }
 
+               "-f" = {
+                       set_if = "$disk_ignore_reserved$"
+                       description = "Don't account root-reserved blocks into freespace in perfdata"
+               }
+
                "-g" = {
                        value = "$disk_group$"
                        description = "Group paths. Thresholds apply to (free-)space of all partitions together"