Merge "Add ironic-api healthcheck"
This commit is contained in:
commit
75a2e3bde5
7
healthcheck/ironic-api
Normal file
7
healthcheck/ironic-api
Normal file
@ -0,0 +1,7 @@
|
||||
#!/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}/
|
Loading…
Reference in New Issue
Block a user