From 69701f48753b2ea91b7872cf28b837f45e4efa15 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Wed, 1 Nov 2023 06:41:31 +0100 Subject: [PATCH] prometheus_snmp: remove index on pwr + add snAgentTemp --- group_vars/prom/prometheus_snmp.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/group_vars/prom/prometheus_snmp.yml b/group_vars/prom/prometheus_snmp.yml index 5e7921a..28d3402 100644 --- a/group_vars/prom/prometheus_snmp.yml +++ b/group_vars/prom/prometheus_snmp.yml @@ -17,6 +17,7 @@ prometheus_snmp__modules: - snAgent - snChasFan - snChasPwr + - snAgentTemp - snNTP lookups: - source_indexes: @@ -32,8 +33,9 @@ prometheus_snmp__modules: - snChasFanIndex lookup: snChasFanDescription - source_indexes: - - snChasPwrSupplyIndex - lookup: snChasPwrSupplyDescription + - snAgentTempSlotNum + - snAgentTempSensorId + lookup: snAgentTempSensorDescr overrides: ifIndex: ignore: true @@ -49,6 +51,6 @@ prometheus_snmp__modules: ignore: true snChasPwrSupplyIndex: ignore: true - snChasPwrSupplyDescription: + snAgentTempSensorDescr: ignore: true ...