"MaJ expl_check_all_nrpe.sh"
This commit is contained in:
parent
9053325637
commit
4c14d70c78
@ -140,6 +140,7 @@ function check_all
|
|||||||
CRITICAL=$(echo ${RESULT} | grep OK | wc -l)
|
CRITICAL=$(echo ${RESULT} | grep OK | wc -l)
|
||||||
fi
|
fi
|
||||||
if [ ! ${CRITICAL} -eq 1 ]; then
|
if [ ! ${CRITICAL} -eq 1 ]; then
|
||||||
|
fct_message " - CRITICAL" -color orange
|
||||||
MESSAGE="${MESSAGE}|||${HOST}: ${CHECK}: ${RESULT}"
|
MESSAGE="${MESSAGE}|||${HOST}: ${CHECK}: ${RESULT}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user