tripleo-common/healthcheck/aodh-api
Martin Mágr 8ea2da3716 Add healthcheck script for Aodh API
This patch adds script for docker health check of Aodh API service.
The script checks API service using curl.

Change-Id: I2e55b99a3971acf3df722415a50a4f8966e2cd25
2018-02-19 13:32:50 +00:00

7 lines
194 B
Bash

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-aodh_wsgi.conf)
healthcheck_curl ${check_url}