From ce0b04a7ecabea919ec1a36adf5df4bc209fba92 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Wed, 1 Jul 2020 17:58:37 -0500 Subject: [PATCH] Jet again more small fixes --- grafana.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana.sh b/grafana.sh index 984caf9..2c3b57d 100644 --- a/grafana.sh +++ b/grafana.sh @@ -95,13 +95,13 @@ systemctl restart jitsi-videobridge2 curl 'http://admin:admin@localhost:3000/api/datasources' -X \ POST -H 'Content-Type: application/json;charset=UTF-8' \ --data-binary \ -'{"name":"InfluxDB","type":"influxdb","url":"http://localhost","access":"proxy","isDefault":true,"database":"jitsi"}' +'{"name":"InfluxDB","type":"influxdb","url":"http://localhost:8086","access":"proxy","isDefault":true,"database":"jitsi"}' # Add Grafana Dashboard ### Please edit grafana_* variables to match your Grafana setup: grafana_host="http://localhost:3000" grafana_cred="admin:admin" -grafana_datasource="jitsi" +grafana_datasource="InfluxDB" ds=(11969); for d in "${ds[@]}"; do echo -n "Processing $d: "