From f0fca46d60955999ae10cc8a088196af5ceb28a6 Mon Sep 17 00:00:00 2001 From: Halbe Bruno Date: Tue, 25 Feb 2025 11:22:55 -0300 Subject: [PATCH] Atualizar templates/huawei/Template_Huawei-Resources-NetEngine-SNMPv2.yaml --- ...ate_Huawei-Resources-NetEngine-SNMPv2.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/templates/huawei/Template_Huawei-Resources-NetEngine-SNMPv2.yaml b/templates/huawei/Template_Huawei-Resources-NetEngine-SNMPv2.yaml index 224e46c..61b7daf 100644 --- a/templates/huawei/Template_Huawei-Resources-NetEngine-SNMPv2.yaml +++ b/templates/huawei/Template_Huawei-Resources-NetEngine-SNMPv2.yaml @@ -202,3 +202,57 @@ zabbix_export: description: 'Este objeto indica estado da fonte.' valuemap: name: hwEntityPwrState + tags: + - tag: component + value: psu + - uuid: 1c47033e9ccc406c8ad08a77a95cb263 + name: 'PSU Slot {#SNMPINDEX} Voltagem' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.2011.5.25.31.1.1.18.1.8.{#SNMPINDEX}.0' + key: 'hwEntityPwrVoltage[slot{#SNMPINDEX}]' + delay: 3m + value_type: FLOAT + units: V + description: 'Este objeto indica a voltagem da energia. Unidade: mV' + preprocessing: + - type: MULTIPLIER + parameters: + - '0.001' + tags: + - tag: component + value: psu + preprocessing: + - type: STR_REPLACE + parameters: + - '.0' + - '' + tags: + - tag: ipv0 + - tag: target + value: huawei + valuemaps: + - uuid: 50e8d45c9c44497fa9d6a4f76472a106 + name: EntityPwrPresent + mappings: + - value: '1' + newvalue: present + - value: '2' + newvalue: ausent + - uuid: 4e2ad30de21e401784d77671008e6feb + name: hwEntityFanState + mappings: + - value: '1' + newvalue: normal + - value: '2' + newvalue: abnormal + - uuid: cf65fe172a8944d9af0f97f0e3fd57c8 + name: hwEntityPwrState + mappings: + - value: '1' + newvalue: supply + - value: '2' + newvalue: notSupply + - value: '3' + newvalue: sleep + - value: '4' + newvalue: unknown