From fdeaa355ad7e8d697ccf1baca4ccd5dc5e8a60f6 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 31 Dec 2021 19:39:23 +0100 Subject: [PATCH] prometheus: use longer timeout for iLO scraping --- roles/prometheus/templates/prometheus.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index e80e355..5b967a5 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -163,6 +163,7 @@ scrape_configs: static_configs: - targets: {{ prometheus_ilo_targets | to_json }} metrics_path: /snmp + scrape_timeout: 30s params: module: - ilo