[ZBXNEXT-8679] Add on Extreme EXOS by SNMP for PSU trigger Created: 2023 Sep 01  Updated: 2023 Sep 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Victor Breda Credidio Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-09-01-13-40-42-752.png    

 Description   

Hi. I'd like to have a power outage trigger when the power supply goes into state 4 on extreme Systems.
This means that the power supply unit no longer receives power, which can happen in a data center with a redundant power lane.

We have now set this up ourselves (see Screenshot), and below you can find the template settings as we are now using it:

#############################
        - uuid: cb9f60687541433c9ddb3ad9d6ee877c
          name: 'PSU Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.1916.1.1.1.27.1.1]'
          key: psu.discovery
          delay: 1h
          description: 'Table of status of all power supplies in the system.'
          item_prototypes:
            - uuid: 29b70a19754647748ddf6ed3555d4ba7
              name: 'PSU {#SNMPVALUE}: Power supply status'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.1916.1.1.1.27.1.2.{#SNMPINDEX}'
              key: 'sensor.psu.status[extremePowerSupplyStatus.{#SNMPINDEX}]'
              delay: 3m
              history: 2w
              trends: '0'
              description: |
                MIB: EXTREME-SYSTEM-MIB
                Status of the power supply {#SNMPVALUE}
              valuemap:
                name: 'EXTREME-SYSTEM-MIB::extremePowerSupplyStatus'
              tags:
                - tag: component
                  value: power
              trigger_prototypes:
                - uuid: 031a5f207c1649cfb886284729cc51d9
                  expression: 'count(/Extreme EXOS by SNMP/sensor.psu.status[extremePowerSupplyStatus.{#SNMPINDEX}],#1,"eq","{$PSU_POWER_OFF}")=1'
                  name: 'PSU {#SNMPVALUE}: Power supply has power outage'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the power supply unit for power outage'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 5a6db949bc344ddebdff45d7d3290531
                  expression: 'count(/Extreme EXOS by SNMP/sensor.psu.status[extremePowerSupplyStatus.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS}")=1'
                  name: 'PSU {#SNMPVALUE}: Power supply is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the power supply unit for errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance

#############################
        - macro: '{$PSU_POWER_OFF}'
          value: '4' 

Maybe you can merge it into your standard template.
We see it as important that we also get an info in case of dual power supply hardware we have on one PSU an outage.


Generated at Sun May 25 07:14:49 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.