Most checks accept "critical" and "warning" thresholds with lower and upper bounds in the form of
[LOWER]:[UPPER]. That is, if critical=1:5, then if it's outside the range of 1-5 inclusive (for example 0 or 7), it'll consider it "critical." When UPPER is empty, it assumed it's Infinity. Likewise, if LOWER is empty, it's assumed to be 0.
Most of the time, you can disable the critical and warning by simply not specifying them. But if you're dealing with a check script that has a default critical or warning threshold if not specified, you can use the value
critical=0: to disable the check from going critical.
So, to disable the critical and warning checks, just making this check informational only:
Code: Select all
check_xi_ncpa!-t 'XXXXX' -P 5693 -M memory/swap -u Gi -w 0: -c 0:!!!!!!