zabbix_export:
  version: '5.4'
  date: '2021-11-21T21:34:05Z'
  groups:
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: 413d544848894d92a6ab04813af334c0
      template: 'App EMQTT  Service'
      name: 'App EMQTT  Service'
      description: |
        ## Overview
        
        See <https://github.com/viniciusbo/zabbix-emqtt> for instructions.
        
        
        
        ## Author
        
        Vinícius Borriello
        
        
      groups:
        -
          name: Templates
      items:
        -
          uuid: fd9d46a3e9be41af9b5e49c640808cd1
          name: 'EMQTT External Check'
          type: EXTERNAL
          key: 'emqtt.sh["{HOST.CONN}", "{$EMQTT_API_USER}", "{$EMQTT_API_PASS}", "{$EMQTT_HOST}"]'
          delay: '30'
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: fccbdd5125154a3ca9df616f209573e5
          name: 'MQTT Bytes Received'
          type: TRAP
          key: 'emqtt[bytes/received]'
          delay: '0'
          value_type: FLOAT
          units: B
          tags:
            -
              tag: Application
              value: EMQTT
          triggers:
            -
              uuid: 5b8f4a1ec9fc47948ede39b1fe426438
              expression: 'nodata(/App EMQTT  Service/emqtt[bytes/received],5m)=1'
              name: 'MQTT service is not reachable'
              priority: HIGH
        -
          uuid: 537a459de2a94454af96745c66c7a390
          name: 'MQTT Bytes Sent'
          type: TRAP
          key: 'emqtt[bytes/sent]'
          delay: '0'
          value_type: FLOAT
          units: B
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: dc9212095f5344198240a84d85345e9f
          name: 'MQTT Clients Count'
          type: TRAP
          key: 'emqtt[clients/count]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 7c1f9341fbed41a0a7242eb772fd13e6
          name: 'MQTT Clients Max'
          type: TRAP
          key: 'emqtt[clients/max]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: d834ca5a26db4cfb8c6f7d8b4827b239
          name: 'MQTT Messages Dropped'
          type: TRAP
          key: 'emqtt[messages/dropped]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: a030e16110fa49f187e366abad1adc55
          name: 'MQTT Messages QoS 0 Received'
          type: TRAP
          key: 'emqtt[messages/qos0/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 7eab65d3672f468ab4c9a52e3d00cd2a
          name: 'MQTT Messages QoS 0 Sent'
          type: TRAP
          key: 'emqtt[messages/qos0/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 4e17f19ceca346b69ffb46a449e8cb58
          name: 'MQTT Messages QoS 1 Received'
          type: TRAP
          key: 'emqtt[messages/qos1/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 09d47a6c72fc484b889a8175f5a87556
          name: 'MQTT Messages QoS 1 Sent'
          type: TRAP
          key: 'emqtt[messages/qos1/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: e29270528b38453480b7de90ed83a523
          name: 'MQTT Messages QoS 2 Dropped'
          type: TRAP
          key: 'emqtt[messages/qos2/dropped]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 7f8b2f78c2d64776a53c8c29eef2c583
          name: 'MQTT Messages QoS 2 Received'
          type: TRAP
          key: 'emqtt[messages/qos2/received]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: ea66213ef14e41fd9ba949d9a9d6ee21
          name: 'MQTT Messages QoS 2 Sent'
          type: TRAP
          key: 'emqtt[messages/qos2/sent]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 9e9d1a6a45bb4077b155e4012c9b650c
          name: 'MQTT Messages Received'
          type: TRAP
          key: 'emqtt[messages/received]'
          delay: '0'
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 004e97696b2b42bea97dcfbcb8ef10ab
          name: 'MQTT Messages Retained'
          type: TRAP
          key: 'emqtt[messages/retained]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 5a161c5ef2934f97887d0ab6afbefea1
          name: 'MQTT Messages Sent'
          type: TRAP
          key: 'emqtt[messages/sent]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 71a9c7f2b97c4f889922f3c930804769
          name: 'MQTT Packets CONNACK'
          type: TRAP
          key: 'emqtt[packets/connack]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: b7879b741b324545b6c544c844bdbc47
          name: 'MQTT Packets Connect'
          type: TRAP
          key: 'emqtt[packets/connect]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: dc82c8bcbeab420c9dd895b1d1bd40cc
          name: 'MQTT Packets Disconnect'
          type: TRAP
          key: 'emqtt[packets/disconnect]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 270eed5a2f614e4483b18bd91f570576
          name: 'MQTT Packets PINGREC'
          type: TRAP
          key: 'emqtt[packets/pingreq]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 1ca0b2011498404f8fd966639959b4b5
          name: 'MQTT Packets PINGRESP'
          type: TRAP
          key: 'emqtt[packets/pingresp]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 3ea3111cbea940498a8c30b888efac6c
          name: 'MQTT Packets PUBREL Missed'
          type: TRAP
          key: 'emqtt[packets/puback/missed]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: d0fe1f06dd924edca1c0da6a5c6d8598
          name: 'MQTT Packets PUBACK Received'
          type: TRAP
          key: 'emqtt[packets/puback/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: f0c1e6fc4ad2480f91f7b81bbbe5735a
          name: 'MQTT Packets PUBACK Sent'
          type: TRAP
          key: 'emqtt[packets/puback/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 1c735c295aa64f3aba86e4263405c7c2
          name: 'MQTT Packets PUBCOMP Missed'
          type: TRAP
          key: 'emqtt[packets/pubcomp/missed]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 90a60325ac4c4ac4b666c8e098699aed
          name: 'MQTT Packets PUBCOMP Received'
          type: TRAP
          key: 'emqtt[packets/pubcomp/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 9ea75994a3bf40d0aa872e8fb0df4810
          name: 'MQTT Packets PUBCOMP Sent'
          type: TRAP
          key: 'emqtt[packets/pubcomp/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 04145a71b8254c28a184e7263c072e26
          name: 'MQTT Packets Publish Received'
          type: TRAP
          key: 'emqtt[packets/publish/received]'
          delay: '0'
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 3e0206fcff0540a7b0380d720284e00b
          name: 'MQTT Packets Publish Sent'
          type: TRAP
          key: 'emqtt[packets/publish/sent]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 3f37502a08ca4d6bbcb51b45648b0dd9
          name: 'MQTT PUBREC Missed'
          type: TRAP
          key: 'emqtt[packets/pubrec/missed]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 09feb2c343ff49ebb655d02c425cc081
          name: 'MQTT Packets PUBREC Received'
          type: TRAP
          key: 'emqtt[packets/pubrec/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 94322ff6ab7c4739849aafffb47f8e3b
          name: 'MQTT Packets PUBREC Sent'
          type: TRAP
          key: 'emqtt[packets/pubrec/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 4f30f184b6d8440d920678017b8a47fb
          name: 'MQTT Packets PUBREL Received'
          type: TRAP
          key: 'emqtt[packets/pubrel/received]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 0985152923aa4f35a2384de86a131e7e
          name: 'MQTT Packets PUBREL Sent'
          type: TRAP
          key: 'emqtt[packets/pubrel/sent]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: ef44555719d84de692ebb650502ae186
          name: 'MQTT Packets Received'
          type: TRAP
          key: 'emqtt[packets/received]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 3b268c82da58412fa7e738a51e2039e1
          name: 'MQTT Packets Sent'
          type: TRAP
          key: 'emqtt[packets/sent]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 6ef99dc5a654498d82c1d77f01be1270
          name: 'MQTT Packets SUBACK'
          type: TRAP
          key: 'emqtt[packets/suback]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 5d3c6f56f93943edbead3be5ad43843c
          name: 'MQTT Packets Subscribe'
          type: TRAP
          key: 'emqtt[packets/subscribe]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 30e54c9be2b94991b265da4ae9a8867d
          name: 'MQTT Packets UNSUBACK'
          type: TRAP
          key: 'emqtt[packets/unsuback]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 6a8541c9f64946f59053b9596630ae50
          name: 'MQTT Packets Unsubscribe'
          type: TRAP
          key: 'emqtt[packets/unsubscribe]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 48fd7fe43f8240bf804fbd21200b8023
          name: 'MQTT Retained Count'
          type: TRAP
          key: 'emqtt[retained/count]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 08d862930aa34dfe8d9629d52e657c12
          name: 'MQTT Retained Max'
          type: TRAP
          key: 'emqtt[retained/max]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 000848ebf05947c3a36d4c7415c00d35
          name: 'MQTT Routes Count'
          type: TRAP
          key: 'emqtt[routes/count]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 27bf7a6fb7eb4598be6c8f7dd1a0ac39
          name: 'MQTT Routes Max'
          type: TRAP
          key: 'emqtt[routes/max]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 6ba7a8da343c465ab9815ffdff06f234
          name: 'MQTT Sessions Count'
          type: TRAP
          key: 'emqtt[sessions/count]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 4a9dfd49a2cf4595a8543162d19cdb6c
          name: 'MQTT Sessions Max'
          type: TRAP
          key: 'emqtt[sessions/max]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: a947d16b08a9449cbf35757cde87c946
          name: 'MQTT Subscribers Count'
          type: TRAP
          key: 'emqtt[subscribers/count]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 80c8746a3e0f4e28baeee7afe612b836
          name: 'MQTT Subscribers Max'
          type: TRAP
          key: 'emqtt[subscribers/max]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 1df8a1bcab4e441584799540dd780da0
          name: 'MQTT Subscriptions Count'
          type: TRAP
          key: 'emqtt[subscriptions/count]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 6e3ce2f2e4474300b0a00b4f25f6003a
          name: 'MQTT Subscriptions Max'
          type: TRAP
          key: 'emqtt[subscriptions/max]'
          delay: '0'
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 143546ecdb174eebba07174b53ee6edb
          name: 'MQTT Topics Max'
          type: TRAP
          key: 'emqtt[topics/max]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
        -
          uuid: 7b9c3fd082444c79a50856e73a5722b7
          name: 'MQTT Topics Count'
          type: TRAP
          key: 'mqtt[topics/count]'
          delay: '0'
          status: DISABLED
          tags:
            -
              tag: Application
              value: EMQTT
  graphs:
    -
      uuid: e52ac00e055c4a46b1deb4c95a034666
      name: 'EMQTT Clients'
      graph_items:
        -
          color: CCCC00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[clients/max]'
        -
          sortorder: '1'
          color: 00CC00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[clients/count]'
    -
      uuid: 19486acceca54abe91f849c9e104d4ad
      name: 'EMQTT Messages QoS 2'
      show_triggers: 'NO'
      graph_items:
        -
          color: 00CC00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[messages/qos2/received]'
        -
          sortorder: '1'
          color: DDDD00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[messages/qos2/sent]'
        -
          sortorder: '2'
          color: DD0000
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[messages/qos2/dropped]'
    -
      uuid: 74c4df6b74d4424b83b1db0a29496544
      name: 'EMQTT Packets'
      graph_items:
        -
          color: EEEE00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[packets/publish/received]'
        -
          sortorder: '1'
          color: 00CC00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[packets/publish/sent]'
        -
          sortorder: '2'
          color: 2774A4
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[packets/connect]'
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[packets/subscribe]'
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[packets/unsubscribe]'
    -
      uuid: 3f833df236f74b05a6bc0727f6fbfd3b
      name: 'EMQTT Traffic  Counts'
      graph_items:
        -
          color: DD0000
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[bytes/received]'
        -
          sortorder: '1'
          color: 00CC00
          item:
            host: 'App EMQTT  Service'
            key: 'emqtt[bytes/sent]'
