zabbix_export:
  version: '6.0'
  date: '2021-11-21T21:48:42Z'
  groups:
    -
      uuid: 4918b88734c54bd094cff7585b5d71fc
      name: 'Templates/Network Devices'
  templates:
    -
      uuid: ac16636aa7a541e59821bafafc807f7f
      template: Mikrotik-Queue-Tree
      name: Mikrotik-Queue-Tree
      description: |
        ## Overview
        
        Zabbix template for monitoring Mikrotik Queue Tree for Zabbix 4.x
        
        
        Has been created in Zabbix 4.0, but exported from Zabbix 4.2
        
        
        Needs to set up macroses:
        
        
        {$HISTORY}
        
        
        {$TRENDS}
        
        
        {$UPDATEINT}
        
        
        
        ## Author
        
        AlKosmos
        
        
      groups:
        -
          name: 'Templates/Network Devices'
      discovery_rules:
        -
          uuid: 3febee6ac75a4e89998912c81d72c7b4
          name: 'Mikrotik Queue Tree Table'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#MKTQUEUETREENAME},1.3.6.1.4.1.14988.1.1.2.2.1.2]'
          key: mktQueueTreeTable.discovery
          delay: 10m
          item_prototypes:
            -
              uuid: b46c632ca5594105968609bf8f49d06c
              name: 'mtxrQueueTreeDropped.[{#MKTQUEUETREENAME}]'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.14988.1.1.2.2.1.9.{#SNMPINDEX}'
              key: 'mtxrQueueTreeDropped.[{#MKTQUEUETREENAME}]'
              delay: '{$UPDATEINT}'
              history: '{$HISTORY}'
              trends: '{$TRENDS}'
              units: Packets
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: QueueTreeDropped
            -
              uuid: 6d17ed6ec0154053b09daec8ec8d30ae
              name: 'mtxrQueueTreeHCBytes.[{#MKTQUEUETREENAME}]'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.14988.1.1.2.2.1.7.{#SNMPINDEX}'
              key: 'mtxrQueueTreeHCBytes.[{#MKTQUEUETREENAME}]'
              delay: '{$UPDATEINT}'
              history: '{$HISTORY}'
              trends: '{$TRENDS}'
              value_type: FLOAT
              units: Bytes
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: QueueTreeHCBytes
            -
              uuid: 6c36e7c3a193476fac8e0809ebcef893
              name: 'mtxrQueueTreePackets.[{#MKTQUEUETREENAME}]'
              type: SNMP_AGENT
              snmp_oid: '1.3.6.1.4.1.14988.1.1.2.2.1.6.{#SNMPINDEX}'
              key: 'mtxrQueueTreePackets.[{#MKTQUEUETREENAME}]'
              delay: '{$UPDATEINT}'
              history: '{$HISTORY}'
              trends: '{$TRENDS}'
              units: Packets
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: QueueTreePackets
          graph_prototypes:
            -
              uuid: e377b0aeef71491b9971c40032b313d2
              name: 'QueueTreeDropped {#MKTQUEUETREENAME}'
              graph_items:
                -
                  color: FF0000
                  item:
                    host: Mikrotik-Queue-Tree
                    key: 'mtxrQueueTreeDropped.[{#MKTQUEUETREENAME}]'
            -
              uuid: 3079efc97e6c4124af10eb9f3590a98c
              name: 'QueueTreeHCBytes {#MKTQUEUETREENAME}'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: Mikrotik-Queue-Tree
                    key: 'mtxrQueueTreeHCBytes.[{#MKTQUEUETREENAME}]'
            -
              uuid: d95499c61df64553a13d8a5a001e6a82
              name: 'QueueTreePackets {#MKTQUEUETREENAME}'
              graph_items:
                -
                  color: 0040FF
                  item:
                    host: Mikrotik-Queue-Tree
                    key: 'mtxrQueueTreePackets.[{#MKTQUEUETREENAME}]'
