File tree Expand file tree Collapse file tree 11 files changed +37
-40
lines changed Expand file tree Collapse file tree 11 files changed +37
-40
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,17 @@ Requirements
3737-------------
3838
3939Public repository available, you'll need to download it from here https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana
40+
41+
42+ Role Variables
43+ ---------------
44+
45+ The following variables can be customized to configure the IBM Spectrum Scale Bridge for Grafana:
46+
47+ - ** opentsdb_port** : Port for OpenTSDB plugin. Example: ` 4242 ` for HTTP or ` 8443 ` for HTTPS
48+
49+ - ** prometheus_port** : Port for Prometheus metrics endpoint. Example: ` 9250 `
50+
51+ - ** encoded_password** : Encoded password used for Grafana Bridge authentication. Example: ` TXlWZXJ5U3Ryb25nUGFzc3cwcmQhCg `
52+
53+ - ** transport** : Transport protocol for Grafana Bridge. Options: ` http ` or ` https `
Original file line number Diff line number Diff line change 33 path : " {{ config_file }}"
44 section : opentsdb_plugin
55 option : port
6- value : " {{ grafana_bridge_opentsdb_port }}"
6+ value : " {{ scale_grafana_bridge.opentsdb_port }}"
77 backup : yes
88 when :
99 - config_stat.stat.exists
1313 path : " {{ config_file }}"
1414 section : prometheues_exporter_plugin
1515 option : prometheus
16- value : " {{ grafana_bridge_prometheus_port }}"
16+ value : " {{ scale_grafana_bridge.prometheus_port }}"
1717 backup : yes
1818 when :
1919 - config_stat.stat.exists
Original file line number Diff line number Diff line change 33 path : " {{ config_file }}"
44 section : basic_auth
55 option : password
6- value : " {{ grafana_bridge_encoded_password }}"
6+ value : " {{ scale_grafana_bridge.encoded_password }}"
77 backup : yes
88 when :
99 - config_stat.stat.exists
Original file line number Diff line number Diff line change 44 yum :
55 name : grafana-bridge
66 state : present
7-
8- - import_tasks : wrapper.yml
9- tags : wrapper
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,3 +37,14 @@ Requirements
3737-------------
3838
3939Public repository available, you'll need to download it from here https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana
40+
41+ Role Variables
42+ ---------------
43+
44+ The following variables can be customized to configure the IBM Spectrum Scale Bridge for Grafana:
45+
46+ - ** opentsdb_port** : Port for OpenTSDB plugin. Example: ` 4242 ` for HTTP or ` 8443 ` for HTTPS
47+
48+ - ** prometheus_port** : Port for Prometheus metrics endpoint. Example: ` 9250 `
49+
50+ - ** log_file** : log file name e.g., ` ibmgrafanabridge.log ` to store logging information
Original file line number Diff line number Diff line change 11- name : verify | Check Grafana Bridge logs for startup message
2- shell : " grep 'server started' {{ grafana_bridge_log_file }}"
2+ shell : " grep 'server started' {{ log_file }}"
33 register : log_check
44 run_once : true
55 ignore_errors : true
Original file line number Diff line number Diff line change 11- name : verify | Check if HTTP port is listening
22 wait_for :
3- port : " {{ grafana_bridge_opentsdb_port }}"
3+ port : " {{ scale_grafana_bridge.opentsdb_port }}"
44 timeout : 5
55 register : http_port_check
66 run_once : true
77
88- name : verify | Check if Prometheus port is listening
99 wait_for :
10- port : " {{ grafana_bridge_prometheus_port }}"
10+ port : " {{ scale_grafana_bridge.prometheus_port }}"
1111 timeout : 5
1212 register : prometheus_port_check
1313 run_once : true
Original file line number Diff line number Diff line change 11---
22# vars file for grafana_bridge_verify
3- grafana_bridge_log_file : " /var/adm/ras/ibmgrafanabridge.log"
3+ log_file : " /var/adm/ras/ibmgrafanabridge.log"
You can’t perform that action at this time.
0 commit comments