zabbix_export:
  version: '6.0'
  date: '2021-11-21T21:20:32Z'
  groups:
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: 98cb223c744b4e37acdbe13e1de9471c
      template: 'TP-Link 5428'
      name: 'TP-Link 5428'
      groups:
        -
          name: Templates
      items:
        -
          uuid: 35eb60eeb45145d2b0c78b2e6c36877a
          name: ping
          type: SIMPLE
          key: icmpping
          delay: '30'
          history: 30d
          trends: 90d
          tags:
            -
              tag: Application
              value: System
          triggers:
            -
              uuid: 83249cac97354343958ea78c01571751
              expression: 'max(/TP-Link 5428/icmpping,90s)=0'
              name: '{HOSTNAME} Недоступен'
              priority: DISASTER
        -
          uuid: 78996b219fac4808942741670f14b475
          name: 'SNMP Trap Events'
          type: SNMP_TRAP
          key: snmptrap.fallback
          delay: '0'
          trends: '0'
          value_type: LOG
          logtimefmt: 'hh:mm:ss dd/mm/yyyy'
          tags:
            -
              tag: Application
              value: Events
        -
          uuid: 419722199d9640ada88320e0b90edea9
          name: 'Interface status change'
          type: SNMP_TRAP
          key: 'snmptrap[@netIF_OperStatChange]'
          delay: '0'
          trends: '0'
          value_type: LOG
          tags:
            -
              tag: Application
              value: Events
        -
          uuid: a86bfa6f9c55428c9d70f40d7b5866ef
          name: 'ColdStart detected'
          type: SNMP_TRAP
          key: 'snmptrap[^.*coldStart.*]'
          delay: '0'
          trends: '0'
          value_type: LOG
          logtimefmt: 'hh:mm:ss dd/mm/yyyy'
          tags:
            -
              tag: Application
              value: Events
            -
              tag: Application
              value: System
          triggers:
            -
              uuid: d18566acf55d4c628b71bcd6ee80cd7a
              expression: 'last(/TP-Link 5428/snmptrap[^.*coldStart.*],#10)<1000'
              name: 'Зафиксирована перезагрузка'
              priority: INFO
        -
          uuid: 9f270da47fe8409f95c73eea8dc4bc88
          name: 'Switch type'
          type: SNMP_AGENT
          snmp_oid: 'RMON2-MIB::probeHardwareRev.0'
          key: swType
          delay: 3400;wd7h00-01
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: System
        -
          uuid: ad0de852a69a494cab5674d97fc03568
          name: 'Software Version'
          type: SNMP_AGENT
          snmp_oid: 'RMON2-MIB::probeSoftwareRev.0'
          key: swVersion
          delay: 3400;wd1h00-01
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 5553c42595a346acb263776e6ccde661
          name: 'System Description'
          type: SNMP_AGENT
          snmp_oid: 'SNMPv2-MIB::sysDescr.0'
          key: sysDescr
          delay: 3400;wd1h00-01
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 7edba46d552f41b984a308944547db68
          name: 'System Name'
          type: SNMP_AGENT
          snmp_oid: 'SNMPv2-MIB::sysName.0'
          key: systemName
          delay: 3600;wd1h00-01
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: System
        -
          uuid: a61bede48e7d421ab9a587c6333de80c
          name: 'System uptime'
          type: SNMP_AGENT
          snmp_oid: 'DISMAN-EVENT-MIB::sysUpTimeInstance'
          key: sysUptime
          delay: '3600'
          history: 30d
          trends: 90d
          value_type: FLOAT
          units: uptime
          tags:
            -
              tag: Application
              value: System
      discovery_rules:
        -
          uuid: 69d309cbab8c444b91176063e60537e1
          name: Interfaces
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},IF-MIB::ifDescr]'
          key: ifDescr
          delay: '60'
          filter:
            evaltype: OR
            conditions:
              -
                macro: '{#SNMPVALUE}'
                value: 'port\ [1-4[0-9]'
                formulaid: A
          item_prototypes:
            -
              uuid: 011c2dee02cc4ab48c7d3b620c07a5d5
              name: 'Incoming traffic on interface $1'
              type: SNMP_AGENT
              snmp_oid: 'IF-MIB::ifInOctets.{#SNMPINDEX}'
              key: 'ifInOctets[{#SNMPVALUE}]'
              delay: '30'
              history: 30d
              trends: 90d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 5b1c5afa212e4349bb4dad8658a7188f
              name: 'Operational status of interface $1'
              type: SNMP_AGENT
              snmp_oid: 'IF-MIB::ifOperStatus.{#SNMPINDEX}'
              key: 'ifOperStatus[{#SNMPVALUE}]'
              delay: '30'
              history: 30d
              trends: 90d
              valuemap:
                name: 'SNMP interface status (ifOperStatus)'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 4746898384e54f528db48973f7f0b6f5
              name: 'Outgoing traffic on interface $1'
              type: SNMP_AGENT
              snmp_oid: 'IF-MIB::ifOutOctets.{#SNMPINDEX}'
              key: 'ifOutOctets[{#SNMPVALUE}]'
              delay: '30'
              history: 30d
              trends: 90d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
          graph_prototypes:
            -
              uuid: d075ca1f28514f2e9212ce6b124960c2
              name: 'Traffic on interface {#SNMPVALUE}'
              width: '300'
              graph_items:
                -
                  color: 0000EE
                  item:
                    host: 'TP-Link 5428'
                    key: 'ifInOctets[{#SNMPVALUE}]'
                -
                  sortorder: '1'
                  color: 33FF33
                  item:
                    host: 'TP-Link 5428'
                    key: 'ifOutOctets[{#SNMPVALUE}]'
      valuemaps:
        -
          uuid: bf12d3035e364daf9417418a7fdfcd7c
          name: 'SNMP interface status (ifOperStatus)'
          mappings:
            -
              value: '1'
              newvalue: up
            -
              value: '2'
              newvalue: down
            -
              value: '3'
              newvalue: testing
            -
              value: '4'
              newvalue: unknown
            -
              value: '5'
              newvalue: dormant
            -
              value: '6'
              newvalue: notPresent
            -
              value: '7'
              newvalue: lowerLayerDown
