From 303ef4e8aae1f4f1fb194c840ea83c3bcb76e7fe Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 15 May 2019 16:15:48 +0200 Subject: [PATCH] dashboard: generate group_vars sample files generate all group_vars sample files corresponding to new roles added for ceph-dashboard implementation. Signed-off-by: Guillaume Abrioux (cherry picked from commit 50672c65a6ab87e7536764f43666998301330f53) --- group_vars/dashboards.yml.sample | 21 +++++++++++++++++++++ group_vars/grafanas.yml.sample | 26 ++++++++++++++++++++++++++ group_vars/node-exporters.yml.sample | 11 +++++++++++ group_vars/prometheuss.yml.sample | 26 ++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 group_vars/dashboards.yml.sample create mode 100644 group_vars/grafanas.yml.sample create mode 100644 group_vars/node-exporters.yml.sample create mode 100644 group_vars/prometheuss.yml.sample diff --git a/group_vars/dashboards.yml.sample b/group_vars/dashboards.yml.sample new file mode 100644 index 000000000..a5180a781 --- /dev/null +++ b/group_vars/dashboards.yml.sample @@ -0,0 +1,21 @@ +--- +# Variables here are applicable to all host groups NOT roles + +# This sample file generated by generate_group_vars_sample.sh + +# Dummy variable to avoid error because ansible does not recognize the +# file as a good configuration file when no variable in it. +dummy: + +#dashboard_admin_user: admin +#dashboard_admin_password: admin +# We only need this for SSL (https) connections +#dashboard_crt: '' +#dashboard_key: '' +#dashboard_rgw_api_user_id: ceph-dashboard +#dashboard_rgw_api_host: '' +#dashboard_rgw_api_port: '' +#dashboard_rgw_api_scheme: '' +#dashboard_rgw_api_admin_resource: '' +#dashboard_rgw_api_no_ssl_verify: '' + diff --git a/group_vars/grafanas.yml.sample b/group_vars/grafanas.yml.sample new file mode 100644 index 000000000..5d4ddbe13 --- /dev/null +++ b/group_vars/grafanas.yml.sample @@ -0,0 +1,26 @@ +--- +# Variables here are applicable to all host groups NOT roles + +# This sample file generated by generate_group_vars_sample.sh + +# Dummy variable to avoid error because ansible does not recognize the +# file as a good configuration file when no variable in it. +dummy: + +#grafana_admin_user: admin +#grafana_admin_password: admin +# We only need this for SSL (https) connections +#grafana_crt: '' +#grafana_key: '' +#grafana_container_image: "grafana/grafana:latest" +#grafana_container_cpu_period: 100000 +#grafana_container_cpu_cores: 2 +# container_memory is in GB +#grafana_container_memory: 4 +#grafana_uid: 472 +#grafana_datasource: Dashboard +#grafana_dashboards_path: "/etc/grafana/dashboards/ceph-dashboard" +#grafana_plugins: +# - vonage-status-panel +# - grafana-piechart-panel + diff --git a/group_vars/node-exporters.yml.sample b/group_vars/node-exporters.yml.sample new file mode 100644 index 000000000..7171d59aa --- /dev/null +++ b/group_vars/node-exporters.yml.sample @@ -0,0 +1,11 @@ +--- +# Variables here are applicable to all host groups NOT roles + +# This sample file generated by generate_group_vars_sample.sh + +# Dummy variable to avoid error because ansible does not recognize the +# file as a good configuration file when no variable in it. +dummy: + +#node_exporter_container_image: prom/node-exporter:latest + diff --git a/group_vars/prometheuss.yml.sample b/group_vars/prometheuss.yml.sample new file mode 100644 index 000000000..7330a8ef7 --- /dev/null +++ b/group_vars/prometheuss.yml.sample @@ -0,0 +1,26 @@ +--- +# Variables here are applicable to all host groups NOT roles + +# This sample file generated by generate_group_vars_sample.sh + +# Dummy variable to avoid error because ansible does not recognize the +# file as a good configuration file when no variable in it. +dummy: + +#prometheus_container_image: prom/prometheus:latest +#prometheus_container_cpu_period: 100000 +#prometheus_container_cpu_cores: 2 +# container_memory is in GB +#prometheus_container_memory: 4 +#prometheus_data_dir: /var/lib/prometheus +#prometheus_conf_dir: /etc/prometheus +#prometheus_user_id: '65534' # This is the UID used by the prom/prometheus container image + +#alertmanager_container_image: prom/alertmanager:latest +#alertmanager_container_cpu_period: 100000 +#alertmanager_container_cpu_cores: 2 +# container_memory is in GB +#alertmanager_container_memory: 4 +#alertmanager_data_dir: /var/lib/alertmanager +#alertmanager_conf_dir: /etc/alertmanager + -- 2.39.5