check_btrfs_quota: fix
This commit is contained in:
parent
142d136d11
commit
3d263c0e31
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue