From 1a44559336e647afc4978db38fe6b9e983363171 Mon Sep 17 00:00:00 2001 From: Patrick Van der Veken Date: Tue, 9 Jan 2018 10:17:39 +0100 Subject: [PATCH] Small fix in message output --- sources/lib/platform/hp-ux/check_hpux_kernel_usage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/lib/platform/hp-ux/check_hpux_kernel_usage.sh b/sources/lib/platform/hp-ux/check_hpux_kernel_usage.sh index 62ed4af..eaa6cec 100644 --- a/sources/lib/platform/hp-ux/check_hpux_kernel_usage.sh +++ b/sources/lib/platform/hp-ux/check_hpux_kernel_usage.sh @@ -151,10 +151,10 @@ do if (( _CHECK_VALUE > _CONFIG_VALUE )) 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 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 # push to handled list _HANDLED_PARAMS="${_HANDLED_PARAMS}\n${_PARAM_NAME}" @@ -187,10 +187,10 @@ do if (( _CHECK_VALUE > _MAX_KCUSAGE )) 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 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 # handle unit result