tripleo-common/healthcheck/ironic-api
Derek Higgins 34c5df1ef9 Add ironic-api healthcheck
Change-Id: Icbd69fd0f74397917bad3da097622e157d8e55b5
2017-08-04 12:37:13 +01:00

8 lines
277 B
Bash

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/tripleo-common/healthcheck}/common.sh
bind_host=$(get_config_val /etc/ironic/ironic.conf api host_ip 127.0.0.1)
bind_port=$(get_config_val /etc/ironic/ironic.conf api port 6385)
healthcheck_curl http://${bind_host}:${bind_port}/