Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8679

Add on Extreme EXOS by SNMP for PSU trigger

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      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.

            zabbix.dev Zabbix Development Team
            vcredidio Victor Breda Credidio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: