diff --git a/probe.sh b/probe.sh index 49c45c2f..21be7d71 100644 --- a/probe.sh +++ b/probe.sh @@ -1,2 +1,3 @@ #! /bin/sh +/opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/supervisorctl -c /etc/dd-agent/supervisor.conf status || exit 1 test $(/opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/supervisorctl -c /etc/dd-agent/supervisor.conf status | awk '{print $2}' | egrep -v 'RUNNING|EXITED' | wc -l) = 0 || exit 1