Fix Grafana address in the diagnostic script

Change-Id: I20d94a0f55c19afdcb3f92eb34d28e6ffaa371e6
This commit is contained in:
Simon Pasquier 2016-09-28 15:45:05 +02:00
parent 42124dcb99
commit c48fde048d
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,7 @@ function diag_influxdb {
check_process grafana-server "${diag_output}/processes"
check_net_listen grafana "${diag_output}/netstat" 1 $GRAFANA_PORT
address=$(hiera lma::grafana::vip)
if [ $FRONTEND_GRAFANA_PORT == "443" ]; then
run_cmd "curl -S -k -i https://${address}:${FRONTEND_GRAFANA_PORT}/login" "${diag_output}/vip_test" 5
else