Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Barometer automated installation script for jump server
[bottlenecks.git]
/
monitor
/
automated-dashboard-datasource.py
diff --git
a/monitor/automated-dashboard-datasource.py
b/monitor/automated-dashboard-datasource.py
index
1e1b42f
..
69f3ebe
100644
(file)
--- 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())
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_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')