From 50f865a635290456133f5b0dc22506ec29ccf3bc Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 8 Mar 2019 14:49:15 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20r=C3=A9pertoire=20de=20d=C3=A9fi?= =?UTF-8?q?nition=20des=20dashboards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dicos/70_prometheus.xml | 1 + tmpl/grafana-dashboards.yml | 10 ++++++++++ tmpl/grafana.ini | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tmpl/grafana-dashboards.yml diff --git a/dicos/70_prometheus.xml b/dicos/70_prometheus.xml index c15e7b9..b2eb023 100644 --- a/dicos/70_prometheus.xml +++ b/dicos/70_prometheus.xml @@ -7,6 +7,7 @@ + prometheus prometheus-alertmanager diff --git a/tmpl/grafana-dashboards.yml b/tmpl/grafana-dashboards.yml new file mode 100644 index 0000000..eab8b1f --- /dev/null +++ b/tmpl/grafana-dashboards.yml @@ -0,0 +1,10 @@ +# # config file version +apiVersion: 1 + +providers: +- name: 'eole' + orgId: 1 + folder: '' + type: file + options: + path: /var/lib/grafana/dashboards \ No newline at end of file diff --git a/tmpl/grafana.ini b/tmpl/grafana.ini index 341b329..d37781c 100644 --- a/tmpl/grafana.ini +++ b/tmpl/grafana.ini @@ -21,7 +21,7 @@ ;plugins = /var/lib/grafana/plugins # folder that contains provisioning config files that grafana will apply on startup and while running. -; provisioning = conf/provisioning +provisioning = conf/provisioning #################################### Server #################################### [server]