From 3d263c0e317fd0f5e624059f148247449814f6c7 Mon Sep 17 00:00:00 2001 From: Chl Date: Tue, 31 Oct 2023 00:40:35 +0100 Subject: [PATCH] check_btrfs_quota: fix --- nagios/check_btrfs_quota.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios/check_btrfs_quota.sh b/nagios/check_btrfs_quota.sh index 7331fdc..127fade 100755 --- a/nagios/check_btrfs_quota.sh +++ b/nagios/check_btrfs_quota.sh @@ -205,7 +205,7 @@ while getopts hw:c:V: f; do fi fi if [ "$MAXEXCL" != "none" ]; then - PERFDATA_RFER="$( printf "%s;%d;%d;0;%d" "$PERFDATA_EXCL" "$( get_absolute_threshold "$MAXEXCL" "$RANGE_WARNING" )" "$( get_absolute_threshold "$MAXEXCL" "$RANGE_CRITICAL" )" "$MAXEXCL" )" + PERFDATA_EXCL="$( printf "%s;%d;%d;0;%d" "$PERFDATA_EXCL" "$( get_absolute_threshold "$MAXEXCL" "$RANGE_WARNING" )" "$( get_absolute_threshold "$MAXEXCL" "$RANGE_CRITICAL" )" "$MAXEXCL" )" if ! check_above_threshold "$EXCL" "$MAXEXCL" "$RANGE_CRITICAL"; then OUTPUT_EXIT_STATUS=$STATE_CRITICAL LOOP_OUTPUT_STATUS=$STATE_CRITICAL