From f526af694da39a5e914a756c6314500d65122a00 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 5 Jun 2026 17:52:07 +0000 Subject: [PATCH] =?UTF-8?q?monitoring:=20snmp-idrac=20scrape=201m->30s=20?= =?UTF-8?q?=E2=80=94=20faster=20HA=20dashboard=20iDRAC=20refresh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ha-sofia R730 REST sensors (via prometheus-query.lan) + Grafana iDRAC panels were bound to the 1m snmp-idrac scrape. Halved to 30s so the dashboard-it Server view refreshes uniformly at 30s, matching the fan-control daemon's Pushgateway metrics. SNMP scrape ~3-4s; timeout 15s. Co-Authored-By: Claude Opus 4.8 --- .../modules/monitoring/prometheus_chart_values.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl b/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl index 01b77445..898bf6b4 100755 --- a/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl +++ b/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl @@ -3148,8 +3148,12 @@ extraScrapeConfigs: | - "crowdsec-service.crowdsec.svc.cluster.local:6060" metrics_path: '/metrics' - job_name: 'snmp-idrac' - scrape_interval: 1m - scrape_timeout: 30s + # 30s (was 1m) so the HA dashboard iDRAC metrics (temps / fan RPM / power / + # voltage, read by ha-sofia's prometheus-query.lan REST sensors) refresh + # every 30s — matching the fan-control daemon's Pushgateway metrics. The + # SNMP scrape takes ~3-4s; snmp-ups also runs at 30s. (2026-06-05) + scrape_interval: 30s + scrape_timeout: 15s params: module: [dell_idrac] auth: [public_v2]