summaryrefslogtreecommitdiffstats
path: root/monitor/automated-dashboard-datasource.py
diff options
context:
space:
mode:
authorRutuja Surve <rutuja.r.surve@gmail.com>2018-02-21 13:17:53 +0000
committerRutuja Surve <rutuja.r.surve@gmail.com>2018-03-30 20:01:42 +0100
commit4b89af12f547bd8eebc01572e1b9a02f89c5fa7c (patch)
treee57d298aa778b79fed5a03ee88334526aa4f7fc0 /monitor/automated-dashboard-datasource.py
parent5053b1c137d1d22678a416abbaf4dd4cce3e5285 (diff)
Barometer automated installation script for jump server
and compute/controller nodes JIRA: BOTTLENECK-182 Install barometer for collecting OVS and collectd statistics as docker containers on all nodes Change-Id: I8ae7e2bcbe95ab6e1224e08828c822d50367f616 Signed-off-by: Rutuja Surve <rutuja.r.surve@gmail.com>
Diffstat (limited to 'monitor/automated-dashboard-datasource.py')
-rw-r--r--monitor/automated-dashboard-datasource.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/monitor/automated-dashboard-datasource.py b/monitor/automated-dashboard-datasource.py
index 1e1b42f7..69f3ebe6 100644
--- a/monitor/automated-dashboard-datasource.py
+++ b/monitor/automated-dashboard-datasource.py
@@ -63,7 +63,9 @@ def post(url, data):
ip_address = socket.gethostbyname(socket.gethostname())
+_create_data_source(ip_address, 3000)
_create_dashboard(ip_address, 3000, '/var/lib/grafana/' +
'dashboards/' +
'prometheus-system_rev1.json')
-_create_data_source(ip_address, 3000)
+_create_dashboard(ip_address, 3000,
+ 'prototype_dashboard_collapsible.json')