
- statsd is connecting to redis only when it receives a data, hence to avoid false negatives we will rather test if the service is listening on proper port - ceilometer_agent_ipmi connects to Redis instead of Rabbit for coordination now. Closes-Bug: #1781108 Change-Id: I4414bac82981c30ba6b7c1c8b406baa7a0900e5a
15 lines
330 B
Bash
Executable File
15 lines
330 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
process='ceilometer-polling'
|
|
args="${@:-6379}"
|
|
|
|
if healthcheck_port $process $args; then
|
|
exit 0
|
|
else
|
|
ports=${args// /,}
|
|
echo "There is no $process process with opened Redis ports ($ports) running in the container"
|
|
exit 1
|
|
fi
|