"MaJ ctl_all_nrpe.sh"

This commit is contained in:
Doug Le Tough 2017-07-23 09:10:39 +02:00
parent 49d4a833a4
commit 2c9172c083

View File

@ -187,7 +187,7 @@ function check_process
HOST=$(echo ${PROC} | cut -d: -f1)
PROC=$(echo ${PROC} | cut -d: -f2)
fct_message "Vérification du process ${PROC} sur ${HOST}"
ctl_host_process -vm ${HOST} -process ${PROC}
ctl_host_process.sh -vm ${HOST} -process ${PROC}
RET_VAL=$?
if [ ! ${RET_VAL} -eq 0 ]; then
fct_message "Processus ${PROC} inexistant sur ${HOST}" -color orange