From 3fdb464eb2c1e908a7cffc97aafeb245e3cf0462 Mon Sep 17 00:00:00 2001 From: Patrick Van der Veken Date: Thu, 31 Jan 2019 08:40:06 +0100 Subject: [PATCH] Language fixes --- sources/lib/platform/hp-ux/check_hpux_fs_usage.sh | 8 ++++---- sources/lib/platform/linux/check_linux_fs_usage.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/lib/platform/hp-ux/check_hpux_fs_usage.sh b/sources/lib/platform/hp-ux/check_hpux_fs_usage.sh index fe360d2..73c529d 100644 --- a/sources/lib/platform/hp-ux/check_hpux_fs_usage.sh +++ b/sources/lib/platform/hp-ux/check_hpux_fs_usage.sh @@ -207,10 +207,10 @@ then # check against the tresholdd if (( _INODES_USAGE > _CFG_INODES_THRESHOLD )) then - _MSG="${_FS} exceedes its inode threshold (${_INODES_USAGE}%>${_CFG_INODES_THRESHOLD}%)" + _MSG="${_FS} exceeds its inode threshold (${_INODES_USAGE}%>${_CFG_INODES_THRESHOLD}%)" _STC=1 else - _MSG="${_FS} does not exceede its inode threshold (${_INODES_USAGE}%<=${_CFG_INODES_THRESHOLD}%)" + _MSG="${_FS} does not exceed its inode threshold (${_INODES_USAGE}%<=${_CFG_INODES_THRESHOLD}%)" _STC=0 fi if (( _LOG_HEALTHY > 0 || _STC > 0 )) @@ -268,10 +268,10 @@ then # check against the treshold if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD )) then - _MSG="${_FS} exceedes its space threshold (${_SPACE_USAGE}%>${_CFG_SPACE_THRESHOLD}%)" + _MSG="${_FS} exceeds its space threshold (${_SPACE_USAGE}%>${_CFG_SPACE_THRESHOLD}%)" _STC=1 else - _MSG="${_FS} does not exceede its space threshold (${_SPACE_USAGE}%<=${_CFG_SPACE_THRESHOLD}%)" + _MSG="${_FS} does not exceed its space threshold (${_SPACE_USAGE}%<=${_CFG_SPACE_THRESHOLD}%)" _STC=0 fi if (( _LOG_HEALTHY > 0 || _STC > 0 )) diff --git a/sources/lib/platform/linux/check_linux_fs_usage.sh b/sources/lib/platform/linux/check_linux_fs_usage.sh index 3511435..fb53ebb 100644 --- a/sources/lib/platform/linux/check_linux_fs_usage.sh +++ b/sources/lib/platform/linux/check_linux_fs_usage.sh @@ -222,10 +222,10 @@ then # check against the treshold if (( _INODES_USAGE > _CFG_INODES_THRESHOLD )) then - _MSG="${_FS} exceedes its inode threshold (${_INODES_USAGE}%>${_CFG_INODES_THRESHOLD}%)" + _MSG="${_FS} exceeds its inode threshold (${_INODES_USAGE}%>${_CFG_INODES_THRESHOLD}%)" _STC=1 else - _MSG="${_FS} does not exceede its inode threshold (${_INODES_USAGE}%<=${_CFG_INODES_THRESHOLD}%)" + _MSG="${_FS} does not exceed its inode threshold (${_INODES_USAGE}%<=${_CFG_INODES_THRESHOLD}%)" _STC=0 fi if (( _LOG_HEALTHY > 0 || _STC > 0 )) @@ -286,10 +286,10 @@ then # check against the treshold if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD )) then - _MSG="${_FS} exceedes its space threshold (${_SPACE_USAGE}%>${_CFG_SPACE_THRESHOLD}%)" + _MSG="${_FS} exceeds its space threshold (${_SPACE_USAGE}%>${_CFG_SPACE_THRESHOLD}%)" _STC=1 else - _MSG="${_FS} does not exceede its space threshold (${_SPACE_USAGE}%<=${_CFG_SPACE_THRESHOLD}%)" + _MSG="${_FS} does not exceed its space threshold (${_SPACE_USAGE}%<=${_CFG_SPACE_THRESHOLD}%)" _STC=0 fi if (( _LOG_HEALTHY > 0 || _STC > 0 ))