]> 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)
committerJean Flach <jean-marcel.flach@netways.de>
Fri, 12 Feb 2016 09:22:15 +0000 (10:22 +0100)
fixes #11138

itl/command-plugins.conf

index e9d27d93d8997536b35716134db36d1242c42ef9..610cd83f9389725f7adff22e302d998a3ccf04df 100644 (file)
@@ -990,6 +990,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"