From: Jean Flach Date: Fri, 12 Feb 2016 09:22:15 +0000 (+0100) Subject: Add -f option to check_disk CheckCommand X-Git-Tag: v2.4.2~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecefcb5b6ad4995361f87708a8366c704399d67f;p=icinga2 Add -f option to check_disk CheckCommand fixes #11138 --- diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index e1219f962..a6257f9e4 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -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"