aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-07-28 10:44:43 +0000
committerPeter Mikus <pmikus@cisco.com>2021-07-28 11:00:55 +0000
commit8843893ca7531cbb2212a5ed79882909c8374381 (patch)
treee99fdf71c923fff39c4b20b8b69263993f4b3972 /fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml
parentcf63723c2758fb5561bd1810a2725b1e187f9c1f (diff)
Infra: upgrade monitoring solution
+ bump versions - remove cadvisor Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I3de95531f1b09f7254152254e92f225dde653e45
Diffstat (limited to 'fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml32
1 files changed, 23 insertions, 9 deletions
diff --git a/fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml b/fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml
index eb2b94cb26..e97ad2b0c7 100644
--- a/fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/prometheus_exporter/defaults/main.yaml
@@ -2,16 +2,30 @@
# file: roles/prometheus_exporter/defaults/main.yaml
# Inst - Exporters.
-ne_packages: "{{ ne_packages_by_distro[ansible_distribution | lower][ansible_machine] }}"
+packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}"
-ne_packages_by_distro:
+packages_base:
+ - []
+
+packages_by_distro:
ubuntu:
- aarch64: "http://ports.ubuntu.com/pool/universe/p/prometheus-node-exporter/prometheus-node-exporter_1.0.1+ds-1_arm64.deb"
- x86_64: "http://archive.ubuntu.com/ubuntu/pool/universe/p/prometheus-node-exporter/prometheus-node-exporter_1.0.1+ds-1_amd64.deb"
+ - "python3-docker"
+ - "python3-dockerpty"
-be_packages: "{{ be_packages_by_distro[ansible_distribution | lower][ansible_machine] }}"
+packages_by_arch:
+ aarch64:
+ - []
+ x86_64:
+ - []
-be_packages_by_distro:
- ubuntu:
- aarch64: "http://ports.ubuntu.com/pool/universe/p/prometheus-blackbox-exporter/prometheus-blackbox-exporter_0.17.0+ds-1_arm64.deb"
- x86_64: "http://archive.ubuntu.com/ubuntu/pool/universe/p/prometheus-blackbox-exporter/prometheus-blackbox-exporter_0.17.0+ds-1_amd64.deb"
+ne_image: "{{ ne_image_by_arch[ansible_machine] }}"
+
+ne_image_by_arch:
+ aarch64: "prom/node-exporter:v1.2.0"
+ x86_64: "prom/node-exporter:v1.2.0"
+
+be_image: "{{ be_image_by_arch[ansible_machine] }}"
+
+be_image_by_arch:
+ aarch64: "prom/blackbox-exporter:v0.19.0"
+ x86_64: "prom/blackbox-exporter:v0.19.0"