Language fixes

This commit is contained in:
Patrick Van der Veken 2019-01-31 08:40:06 +01:00
parent 70b9ae3d4a
commit 3fdb464eb2
2 changed files with 8 additions and 8 deletions

View File

@ -207,10 +207,10 @@ then
# check against the tresholdd # check against the tresholdd
if (( _INODES_USAGE > _CFG_INODES_THRESHOLD )) if (( _INODES_USAGE > _CFG_INODES_THRESHOLD ))
then 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 _STC=1
else 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 _STC=0
fi fi
if (( _LOG_HEALTHY > 0 || _STC > 0 )) if (( _LOG_HEALTHY > 0 || _STC > 0 ))
@ -268,10 +268,10 @@ then
# check against the treshold # check against the treshold
if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD )) if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD ))
then 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 _STC=1
else 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 _STC=0
fi fi
if (( _LOG_HEALTHY > 0 || _STC > 0 )) if (( _LOG_HEALTHY > 0 || _STC > 0 ))

View File

@ -222,10 +222,10 @@ then
# check against the treshold # check against the treshold
if (( _INODES_USAGE > _CFG_INODES_THRESHOLD )) if (( _INODES_USAGE > _CFG_INODES_THRESHOLD ))
then 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 _STC=1
else 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 _STC=0
fi fi
if (( _LOG_HEALTHY > 0 || _STC > 0 )) if (( _LOG_HEALTHY > 0 || _STC > 0 ))
@ -286,10 +286,10 @@ then
# check against the treshold # check against the treshold
if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD )) if (( _SPACE_USAGE > _CFG_SPACE_THRESHOLD ))
then 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 _STC=1
else 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 _STC=0
fi fi
if (( _LOG_HEALTHY > 0 || _STC > 0 )) if (( _LOG_HEALTHY > 0 || _STC > 0 ))