From b869b3263aa4e34d6516b765f8c554e2228d3255 Mon Sep 17 00:00:00 2001 From: Francis Begyn Date: Sat, 13 Jul 2024 01:22:23 +0200 Subject: [PATCH] add example for XUPS MIB Signed-off-by: Francis Begyn --- generator/generator.yml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/generator/generator.yml b/generator/generator.yml index 3fd7b424..73fa27fd 100644 --- a/generator/generator.yml +++ b/generator/generator.yml @@ -628,3 +628,46 @@ modules: hrSWInstalled: walk: - hrSWInstalled + +# +# xups +# +# https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/power-management-software-connectivity/eaton-network-card-ms/eaton-ups-power-mib-release-notes.txt + xups: + max_repetitions: 5 + walk: + - xupsBatCapacity + - xupsBatTimeRemaining + - xupsBatVoltage + - xupsBatCurrent + - xupsEnvAmbientTemp + - xupsInputTable + - xupsInputVoltage + - xupsInputFrequency + - xupsOutputTable + - xupsOutputVoltage + - xupsOutputFrequency + - xupsBypassTable + - xupsBypassFrequency + - xupsBatteryAbmStatus + lookups: + - source_indexes: [xupsInputTable] + lookup: xupsInputVoltage + - source_indexes: [xupsOutputTable] + lookup: xupsOutputVoltage + - source_indexes: [xupsBypassTable] + lookup: xupsBypassFrequency + filters: + static: + - targets: + - xupsBatCapacity + - xupsBatTimeRemaining + - xupsBatVoltage + - xupsBatCurrent + - xupsEnvAmbientTemp + - xupsInputVoltage + - xupsInputFrequency + - xupsOutputVoltage + - xupsOutputFrequency + - xupsBatteryAbmStatus + indices: ["0"]