Small fix in message output
This commit is contained in:
parent
9c651930d6
commit
1a44559336
@ -151,10 +151,10 @@ do
|
|||||||
|
|
||||||
if (( _CHECK_VALUE > _CONFIG_VALUE ))
|
if (( _CHECK_VALUE > _CONFIG_VALUE ))
|
||||||
then
|
then
|
||||||
_MSG="${_PARAM_NAME} has exceeded its individual threshold (${_CHECK_VALUE} > ${_CONFIG_VALUE})"
|
_MSG="${_PARAM_NAME} has exceeded its individual threshold (${_CHECK_VALUE}% > ${_CONFIG_VALUE}%)"
|
||||||
_STC=1
|
_STC=1
|
||||||
else
|
else
|
||||||
_MSG="${_PARAM_NAME} is below its individual threshold (${_CHECK_VALUE} <= ${_CONFIG_VALUE})"
|
_MSG="${_PARAM_NAME} is below its individual threshold (${_CHECK_VALUE}% <= ${_CONFIG_VALUE}%)"
|
||||||
fi
|
fi
|
||||||
# push to handled list
|
# push to handled list
|
||||||
_HANDLED_PARAMS="${_HANDLED_PARAMS}\n${_PARAM_NAME}"
|
_HANDLED_PARAMS="${_HANDLED_PARAMS}\n${_PARAM_NAME}"
|
||||||
@ -187,10 +187,10 @@ do
|
|||||||
|
|
||||||
if (( _CHECK_VALUE > _MAX_KCUSAGE ))
|
if (( _CHECK_VALUE > _MAX_KCUSAGE ))
|
||||||
then
|
then
|
||||||
_MSG="${_PARAM_NAME} has exceeded the general threshold (${_CURR_VALUE} > ${_MAX_KCUSAGE})"
|
_MSG="${_PARAM_NAME} has exceeded the general threshold (${_CHECK_VALUE}% > ${_MAX_KCUSAGE}%)"
|
||||||
_STC=1
|
_STC=1
|
||||||
else
|
else
|
||||||
_MSG="${_PARAM_NAME} is below the general threshold (${_CHECK_VALUE} <= ${_MAX_KCUSAGE})"
|
_MSG="${_PARAM_NAME} is below the general threshold (${_CHECK_VALUE}% <= ${_MAX_KCUSAGE}%)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# handle unit result
|
# handle unit result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user