From 70e169829f864686b789f741247c95f5a34448ef Mon Sep 17 00:00:00 2001 From: Ernestas Poskus Date: Mon, 17 Dec 2018 08:43:19 +0200 Subject: [PATCH] Bump blackbox exporter to 0.13.0 --- README.md | 2 +- defaults/main.yml | 5 ++++- docs/blackbox_exporter.md | 3 +++ vars/blackboxexporter.yml | 5 +++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f563e1f..d382719 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ prometheus_push_gateway_version: '0.6.0' prometheus_snmp_exporter_version: '0.13.0' # Blackbox exporter -prometheus_blackbox_exporter_version: '0.12.0' +prometheus_blackbox_exporter_version: '0.13.0' ``` [DOCS: Prometheus variables](/docs/prometheus.md) diff --git a/defaults/main.yml b/defaults/main.yml index 2aea43a..b429405 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -40,7 +40,7 @@ prometheus_push_gateway_version: '0.6.0' prometheus_snmp_exporter_version: '0.13.0' # Blackbox exporter -prometheus_blackbox_exporter_version: '0.12.0' +prometheus_blackbox_exporter_version: '0.13.0' # Prometheus # https://prometheus.io/docs/operating/configuration/ @@ -427,6 +427,9 @@ prometheus_snmp_exporter_log__format: 'logger:stderr' prometheus_black_box_config__file: "{{ prometheus_blackbox_exporter_config_dir }}/blackbox.yml" # Blackbox exporter configuration file. +prometheus_black_box_history__limit: 100 +# The maximum amount of items to keep in the history. + prometheus_black_box_web__listen_address: ':9115' # The address to listen on for HTTP requests. diff --git a/docs/blackbox_exporter.md b/docs/blackbox_exporter.md index ca2c9f5..8dfd58d 100644 --- a/docs/blackbox_exporter.md +++ b/docs/blackbox_exporter.md @@ -7,6 +7,9 @@ prometheus_black_box_config__file: "{{ prometheus_blackbox_exporter_config_dir }}/blackbox.yml" # Blackbox exporter configuration file. +prometheus_black_box_history__limit: 100 +# The maximum amount of items to keep in the history. + prometheus_black_box_web__listen_address: ':9115' # The address to listen on for HTTP requests. diff --git a/vars/blackboxexporter.yml b/vars/blackboxexporter.yml index 5f40814..9356129 100644 --- a/vars/blackboxexporter.yml +++ b/vars/blackboxexporter.yml @@ -3,6 +3,7 @@ ############################################################ prometheus_blackbox_exporter_service_config: - ['config.file', "{{ prometheus_black_box_config__file }}"] - - ['web.listen-address', "{{ prometheus_black_box_web__listen_address }}"] - - ['timeout-offset', "{{ prometheus_black_box_timeout_offset }}"] + - ['history.limit', "{{ prometheus_black_box_history__limit }}"] - ['log.level', "{{ prometheus_black_box_log__level }}"] + - ['timeout-offset', "{{ prometheus_black_box_timeout_offset }}"] + - ['web.listen-address', "{{ prometheus_black_box_web__listen_address }}"]