zabbix_export:
  version: '5.4'
  date: '2021-11-21T21:24:52Z'
  groups:
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: 440c696c30bc4cf3af6be679af52c5f0
      template: 'Siemens HiPATH'
      name: 'Siemens HiPATH'
      description: |
        ## Overview
        
        This template permit to monitor basic OID of Siemens Hipath MIB and all ports of an HiPath system
        
        
        
        ## Author
        
        Matteo Lobbiani
        
        
      groups:
        -
          name: Templates
      items:
        -
          uuid: 62fe679bfd4e4eb2adeb2b92ae7f6a4b
          name: 'sys hardware version'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.231.7.2.9.3.1.0
          key: hwVersion
          delay: '3600'
          trends: '0'
          value_type: TEXT
          inventory_link: HARDWARE_FULL
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 1bb2423a6e564f9f8ef68cde3ac34a12
          name: 'h150e load level'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.231.7.2.9.1.7.0
          key: loadLevel
          delay: '30'
          units: '%'
          description: 'The actual CPU load level (per cent).'
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 520e373e3fee43e4b9ff59ac5068c4d7
          name: 'h150e sys state'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.231.7.2.9.1.1.0
          key: sysState
          delay: '30'
          description: 'The actual error state of the device. Contains the highest severity level of the recent error events. This object is updated automatically, but it can also be modified manually.'
          valuemap:
            name: 'HiPath SysState'
          tags:
            -
              tag: Application
              value: System
          triggers:
            -
              uuid: 7e750667622344d8a756606c7ca28957
              expression: 'last(/Siemens HiPATH/sysState)>1 and last(/Siemens HiPATH/sysState)<5'
              name: 'System error state'
              priority: WARNING
              description: 'The actual error state of the device. Contains the highest severity level of the recent error events. This object is updated automatically, but it can also be modified manually.'
            -
              uuid: 30e1355fa4ad40eaab42c80e524a69fb
              expression: 'last(/Siemens HiPATH/sysState)=5'
              name: 'System error state Critical'
              priority: HIGH
              description: 'The actual error state of the device. Contains the highest severity level of the recent error events. This object is updated automatically, but it can also be modified manually.'
        -
          uuid: cd155f78eae543a69b51c10950a74730
          name: 'sys software version'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.231.7.2.9.3.2.0
          key: sysVersion
          delay: '3600'
          trends: '0'
          value_type: TEXT
          description: 'Contains the version string of the system software.'
          inventory_link: SOFTWARE_FULL
          tags:
            -
              tag: Application
              value: System
      discovery_rules:
        -
          uuid: 09b9ff8a96084fb4935a0f07d5020997
          name: Devices
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.231.7.2.9.3.8.1.1]'
          key: h150ePort
          delay: '30'
          item_prototypes:
            -
              uuid: 1c41c79a05844b569d759433f1922d31
              name: 'Lock State of device $1'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.231.7.2.9.3.8.1.5.{#SNMPINDEX}'
              key: 'Lock[{#SNMPVALUE}]'
              delay: '60'
              history: 7d
              valuemap:
                name: 'HiPath Lock State'
              tags:
                -
                  tag: Application
                  value: Port
              trigger_prototypes:
                -
                  uuid: 84850df8feaa47dbb2e295b71f354d51
                  expression: '(last(/Siemens HiPATH/Lock[{#SNMPVALUE}],#1)<>last(/Siemens HiPATH/Lock[{#SNMPVALUE}],#2))=1'
                  name: 'Lock status was changed on {HOST.NAME} interface {#SNMPVALUE}'
                  priority: WARNING
            -
              uuid: 16a38a61dfc647d5a451874966626d57
              name: 'State of device $1'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.231.7.2.9.3.8.1.4.{#SNMPINDEX}'
              key: 'State[{#SNMPVALUE}]'
              delay: '60'
              history: 7d
              valuemap:
                name: 'HiPath State'
              tags:
                -
                  tag: Application
                  value: Port
              trigger_prototypes:
                -
                  uuid: 5b26b0d575b24339a955a69bc3c61f23
                  expression: '(last(/Siemens HiPATH/State[{#SNMPVALUE}],#1)<>last(/Siemens HiPATH/State[{#SNMPVALUE}],#2))=1'
                  name: 'Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}'
                  priority: INFO
            -
              uuid: 3590541004d1470980cdfef4c2ac922a
              name: 'Type of device $1'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.231.7.2.9.3.8.1.3.{#SNMPINDEX}'
              key: 'Type[{#SNMPVALUE}]'
              delay: '30'
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: Port
      valuemaps:
        -
          uuid: e946abb9166740898bfa563b6c721805
          name: 'HiPath Lock State'
          mappings:
            -
              value: '1'
              newvalue: unlocked
            -
              value: '2'
              newvalue: lockedBySoftware
            -
              value: '3'
              newvalue: lockedByHardware
            -
              value: '4'
              newvalue: lockedBySoftAndHardware
        -
          uuid: 40f50cd460184231ba6d7a4c968634ba
          name: 'HiPath State'
          mappings:
            -
              value: '1'
              newvalue: inactive
            -
              value: '2'
              newvalue: active
        -
          uuid: 64dfb501507849ad96832e5430adaaa6
          name: 'HiPath SysState'
          mappings:
            -
              value: '1'
              newvalue: normale
            -
              value: '2'
              newvalue: warning
            -
              value: '3'
              newvalue: minor
            -
              value: '4'
              newvalue: major
            -
              value: '5'
              newvalue: critical
