zabbix_export:
  version: '6.0'
  date: '2021-11-25T12:37:36Z'
  groups:
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: bb4ad7bdd58b484caa676e30b56cf9cf
      template: 'SNMP D-Link DES-1210-28'
      name: 'SNMP D-Link DES-1210-28'
      groups:
        -
          name: Templates
      items:
        -
          uuid: 4e0f7cfbce494aea8c51b15d1f4d9be1
          name: 'Number of network interfaces'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.2.1.0
          key: dlink.des1210.ifNumber
          delay: '3600'
          history: 7d
          tags:
            -
              tag: Application
              value: System
        -
          uuid: fff0109f53464fbeb3402f060290f937
          name: 'Device description'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.1.1.0
          key: dlink.des1210.sysDescr
          delay: '3600'
          history: 7d
          trends: '0'
          value_type: CHAR
          inventory_link: HARDWARE
          tags:
            -
              tag: Application
              value: System
        -
          uuid: b7564c8b7c3d4cadac17f09816fd41d8
          name: 'Device location'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.1.6.0
          key: dlink.des1210.sysLocation
          delay: '3600'
          history: 7d
          trends: '0'
          value_type: CHAR
          inventory_link: LOCATION
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 30c0b2cdb679495aa47ed0cb47f10f6e
          name: 'Device name'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.1.5.0
          key: dlink.des1210.sysName
          delay: '3600'
          history: 7d
          trends: '0'
          value_type: CHAR
          inventory_link: NAME
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 3660aaa8b0ab48269aded85df1f9c1e4
          name: 'Device uptime'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.1.3.0
          key: dlink.des1210.sysUpTime
          delay: '60'
          history: 7d
          units: uptime
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            -
              tag: Application
              value: System
          triggers:
            -
              uuid: 46c17f0816824927a5691cfc84cdbf5b
              expression: 'last(/SNMP D-Link DES-1210-28/dlink.des1210.sysUpTime)<30'
              name: '{HOST.NAME} Has been restarted'
              priority: INFO
      discovery_rules:
        -
          uuid: 162bf01d29b94329b4be879fbe240b11
          name: 'LLD Interfaces'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#IFOPERSTATUS}, ifOperStatus]'
          key: dlink.des1210.snmp.discovery
          delay: '3600'
          lifetime: 14d
          item_prototypes:
            -
              uuid: 2281ab0740ea47d6bd380b2a7fe52666
              name: 'Interface {#SNMPINDEX} DuplexStatus'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}'
              key: 'dlink.des1210.duplexstatus[{#SNMPINDEX}]'
              delay: '60'
              status: DISABLED
              description: |
                unknown(1)
                halfDuplex(2)
                fullDuplex(3)
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: f977292fbb71415392f34cefcc29df76
              name: 'Interface $1 Inbound errors'
              type: SNMP_AGENT
              snmp_oid: 'ifInErrors.{#SNMPINDEX}'
              key: 'dlink.des1210.ifInErrors[{#SNMPINDEX}]'
              delay: '60'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 7aa4a3a2aee642afa81b5f9264856ca5
              name: 'Interface $1 In'
              type: SNMP_AGENT
              snmp_oid: 'ifInOctets.{#SNMPINDEX}'
              key: 'dlink.des1210.ifInOctets[{#SNMPINDEX}]'
              delay: '30'
              units: bps
              description: 'Incoming traffic on interface'
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 23c2a40be8384ee4b3df4b5197891226
              name: 'Interface $1 Operational status'
              type: SNMP_AGENT
              snmp_oid: 'ifOperStatus.{#SNMPINDEX}'
              key: 'dlink.des1210.ifOperStatus[{#SNMPINDEX}]'
              delay: '30'
              valuemap:
                name: 'SNMP interface status (ifOperStatus)'
              tags:
                -
                  tag: Application
                  value: Interfaces
              trigger_prototypes:
                -
                  uuid: 946c5659ea7f4156831ace23229fe960
                  expression: 'last(/SNMP D-Link DES-1210-28/dlink.des1210.ifOperStatus[{#SNMPINDEX}])=2'
                  name: '{HOST.NAME} Interface {#SNMPINDEX} is down.'
                  status: DISABLED
                  priority: WARNING
                -
                  uuid: 76435e059ac64e57831ee265a2a2c6e4
                  expression: 'last(/SNMP D-Link DES-1210-28/dlink.des1210.ifOperStatus[{#SNMPINDEX}])=1'
                  name: '{HOST.NAME} Interface {#SNMPINDEX} is up.'
                  status: DISABLED
                  priority: WARNING
                -
                  uuid: 7a140bc6c5274787884c2bbdc3208781
                  expression: '(last(/SNMP D-Link DES-1210-28/dlink.des1210.ifOperStatus[{#SNMPINDEX}],#1)<>last(/SNMP D-Link DES-1210-28/dlink.des1210.ifOperStatus[{#SNMPINDEX}],#2))=1'
                  name: '{HOST.NAME} Operational status was changed on interface {#SNMPINDEX}'
                  priority: INFO
            -
              uuid: 1c64171d885743f7b13ef7c463dc6006
              name: 'interface $1 Outbound errors'
              type: SNMP_AGENT
              snmp_oid: 'ifOutErrors.{#SNMPINDEX}'
              key: 'dlink.des1210.ifOutErrors[{#SNMPINDEX}]'
              delay: '60'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 76fc55fd1f31496aab75c5a8fb347422
              name: 'Interface $1 Out'
              type: SNMP_AGENT
              snmp_oid: 'ifOutOctets.{#SNMPINDEX}'
              key: 'dlink.des1210.ifOutOctets[{#SNMPINDEX}]'
              delay: '30'
              units: bps
              description: 'Outgoing traffic on interface'
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 9514a6328b52490eb371506278531b86
              name: 'Interface $1 Speed'
              type: SNMP_AGENT
              snmp_oid: 'ifSpeed.{#SNMPINDEX}'
              key: 'dlink.des1210.ifSpeed[{#SNMPINDEX}]'
              delay: '60'
              units: bps
              tags:
                -
                  tag: Application
                  value: Interfaces
          trigger_prototypes:
            -
              uuid: be93081d8ecc41b68162b7271e3d0d59
              expression: 'avg(/SNMP D-Link DES-1210-28/dlink.des1210.ifInErrors[{#SNMPINDEX}],1800s)>1 or avg(/SNMP D-Link DES-1210-28/dlink.des1210.ifOutErrors[{#SNMPINDEX}],1800s)>1'
              name: '{HOST.NAME} Errors on network interface {#SNMPINDEX}'
              priority: AVERAGE
          graph_prototypes:
            -
              uuid: 5e58684990fa4425a5724f6e3f920917
              name: 'In / Out - Interface {#SNMPINDEX}'
              graph_items:
                -
                  color: 00DD00
                  item:
                    host: 'SNMP D-Link DES-1210-28'
                    key: 'dlink.des1210.ifInOctets[{#SNMPINDEX}]'
                -
                  sortorder: '1'
                  color: 0000EE
                  item:
                    host: 'SNMP D-Link DES-1210-28'
                    key: 'dlink.des1210.ifOutOctets[{#SNMPINDEX}]'
            -
              uuid: d601dd2f917d463b9c4a0ca553d6862b
              name: 'In / Out / Speed - Interface {#SNMPINDEX}'
              graph_items:
                -
                  color: 00DD00
                  item:
                    host: 'SNMP D-Link DES-1210-28'
                    key: 'dlink.des1210.ifInOctets[{#SNMPINDEX}]'
                -
                  sortorder: '1'
                  color: 0000EE
                  item:
                    host: 'SNMP D-Link DES-1210-28'
                    key: 'dlink.des1210.ifOutOctets[{#SNMPINDEX}]'
                -
                  sortorder: '2'
                  drawtype: DASHED_LINE
                  color: BB0000
                  calc_fnc: MAX
                  item:
                    host: 'SNMP D-Link DES-1210-28'
                    key: 'dlink.des1210.ifSpeed[{#SNMPINDEX}]'
      dashboards:
        -
          uuid: a72dedb4831444eaa22aec27a2ba79c6
          name: DES-1210-28
          pages:
            -
              widgets:
                -
                  type: GRAPH_PROTOTYPE
                  width: '24'
                  height: '6'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '2'
                    -
                      type: INTEGER
                      name: columns
                      value: '1'
                    -
                      type: INTEGER
                      name: rows
                      value: '1'
                    -
                      type: GRAPH_PROTOTYPE
                      name: graphid
                      value:
                        name: 'In / Out / Speed - Interface {#SNMPINDEX}'
                        host: 'SNMP D-Link DES-1210-28'
      valuemaps:
        -
          uuid: 7467be00286f4e8795790fdcd23fd643
          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
