"MaJ expl_check_all_nrpe.sh"

This commit is contained in:
Doug Le Tough 2017-07-23 07:31:49 +02:00
parent 9053325637
commit 4c14d70c78
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ function check_all
CRITICAL=$(echo ${RESULT} | grep OK | wc -l)
fi
if [ ! ${CRITICAL} -eq 1 ]; then
fct_message " - CRITICAL" -color orange
MESSAGE="${MESSAGE}|||${HOST}: ${CHECK}: ${RESULT}"
fi
done