zabbix_export:
    date: '2023-01-31T00:00:00Z'
    template_groups:
    -   name: Templates/Applications
        uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
    templates:
    -   description: 'Get node metrics from RabbitMQ management plugin provided an
            HTTP-based API using HTTP agent.


            You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq


            Template tooling version used: 0.42

            '
        discovery_rules:
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_results_live
                -   formulaid: C
                    macro: '{#QUEUE}'
                    value: tag_tasks_live
                evaltype: FORMULA
                formula: A and (B or C)
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[hub,url,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[hub,url,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[hub,url,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[hub,url,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[hub,url,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[hub,url,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[hub,url,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[hub,url,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages per second'
                uuid: 476b194fd13f4b97a66ee4d335958378
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,url,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[hub,url,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[hub,url,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[hub,url,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages status'
                uuid: 476a8787c1d14670a5ca3bf07d9dc378
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,url,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[hub,url,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages vs Consumers'
                uuid: 47663b06ae154e7ca9c4bd1da1f46378
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: url
                -   tag: type
                    value: hub
                trends: '0'
                type: DEPENDENT
                uuid: 476ed3ef31e2471b9cdb25537cee4378
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                type: DEPENDENT
                uuid: 476c1c6b727a45cca039f0f00f184378
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 4762227627d84cad8794604bd4f09378
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 4769c0ca7fda4756a8b79ac83c4bc378
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 4764bc2a830e43e28ad6c44037dbd378
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476ee8103a5d4fb6b2b41ca641f19378
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476dbb2c1b13429b9d20034fcc783378
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476e852ddce64d80a88129eef9ba1378
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 47601a52ffab4972a5988ac4ae0c8378
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,url,"{#QUEUE}"],5m)>50
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: url
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 47652153a22144338e6d002287446378
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,url,"{#QUEUE}"],5m)>100
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: url
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 476aec78b2174a988bc56a2b89148378
                type: DEPENDENT
                uuid: 476e5dbff18f47c98da2c1a3b7120378
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476c5f66ddac46fd95c5379875342378
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 4769a8eee9a54eed946ab14192749378
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476c3296990640a6bf5d7319ba2e8378
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[hub,url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 476a84983caa486482e241c6bf7e9378
            key: rabbitmq.queues.discovery[url]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (HUBs URL)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[hub,url,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,url,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: url
                -   tag: type
                    value: hub
                uuid: 47632f5d7bce4f6dad8a13c4624c0378
            type: DEPENDENT
            uuid: 476d85b6045b44b38f588cd9a4c6c378
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_results_live
                -   formulaid: C
                    macro: '{#QUEUE}'
                    value: tag_tasks_live
                evaltype: FORMULA
                formula: A and (B or C)
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[hub,live,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[hub,live,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[hub,live,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[hub,live,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[hub,live,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[hub,live,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[hub,live,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[hub,live,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub/live: Messages per second'
                uuid: 789b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,live,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[hub,live,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[hub,live,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[hub,live,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub/live: Messages status'
                uuid: 789a8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,live,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[hub,live,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE} hub/live: Messages vs Consumers'
                uuid: 78963b06ae154e7ca9c4bd1da1f46f96
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: live
                -   tag: type
                    value: hub
                trends: '0'
                type: DEPENDENT
                uuid: 789ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                type: DEPENDENT
                uuid: 789c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7892227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7899c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7894bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 78901a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,live,"{#QUEUE}"],5m)>50
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: live
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 78952153a22144338e6d002287446ac1
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,live,"{#QUEUE}"],5m)>100
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: live
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 789aec78b2174a988bc56a2b89148e34
                type: DEPENDENT
                uuid: 789e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7899a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789c3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[hub,live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[hub,live]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Hubs live)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[hub,live,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,live,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: live
                -   tag: type
                    value: hub
                uuid: 78932f5d7bce4f6dad8a13c4624c0915
            type: DEPENDENT
            uuid: 789d85b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_results_(rescan|manual)
                -   formulaid: C
                    macro: '{#QUEUE}'
                    value: tag_tasks_(rescan|manual)
                evaltype: FORMULA
                formula: A and (B or C)
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[hub,rescan,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[hub,rescan,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub,rescan: Messages per second'
                uuid: 456b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[hub,rescan,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[hub,rescan,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[hub,rescan,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub,rescan: Messages status'
                uuid: 456a8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[hub,rescan,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE} hub,rescan: Messages vs Consumers'
                uuid: 45663b06ae154e7ca9c4bd1da1f46f96
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: rescan/manual
                -   tag: type
                    value: hub
                trends: '0'
                type: DEPENDENT
                uuid: 456ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 456c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 4562227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 4569c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 4564bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: SIMPLE_CHANGE
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 45601a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 10m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"],10m)>30000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE} (tag_dm_results)'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: b958835ae46146ec8ecb1692711f72e8
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 15m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"],15m)>50000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE} (tag_dm_results)'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 456aec78b2174a988bc56a2b89148e34
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 10m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"],10m)>10000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}  (tag_tasks)'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: c6a91173980d4b54ae47be739ecdd53a
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 10m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"],10m)>30000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE} (tag_tasks)'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 45652153a22144338e6d002287446ac1
                type: DEPENDENT
                uuid: 456e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 4569a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456c3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[hub,rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 30d
                type: DEPENDENT
                uuid: 456a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[hub,rescan]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Hubs Rescan/manual)
            overrides:
            -   filter:
                    conditions:
                    -   formulaid: A
                        macro: '{#QUEUE}'
                        value: tag_dm_results
                name: tag_dm_results
                operations:
                -   discover: DISCOVER
                    operationobject: TRIGGER_PROTOTYPE
                    operator: LIKE
                    status: ENABLED
                    value: tag_dm_results
                -   discover: NO_DISCOVER
                    operationobject: TRIGGER_PROTOTYPE
                    operator: LIKE
                    status: DISABLED
                    value: tag_tasks
                step: '1'
                stop: STOP
            -   filter:
                    conditions:
                    -   formulaid: A
                        macro: '{#QUEUE}'
                        value: tag_tasks
                name: tag_tasks
                operations:
                -   discover: DISCOVER
                    operationobject: TRIGGER_PROTOTYPE
                    operator: LIKE
                    status: ENABLED
                    value: tag_tasks
                -   discover: NO_DISCOVER
                    operationobject: TRIGGER_PROTOTYPE
                    operator: LIKE
                    status: DISABLED
                    value: tag_dm_results
                step: '2'
                stop: STOP
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[hub,rescan,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,rescan,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: rescan/manual
                -   tag: type
                    value: hub
                uuid: 45632f5d7bce4f6dad8a13c4624c0915
            type: DEPENDENT
            uuid: 456d85b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: (tag_dm_results|tag_tasks)_si
                evaltype: AND
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[hub,si,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[hub,si,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[hub,si,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[hub,si,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[hub,si,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[hub,si,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[hub,si,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[hub,si,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub/si: Messages per second'
                uuid: 7891234fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,si,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[hub,si,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[hub,si,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[hub,si,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} hub/si: Messages status'
                uuid: 78912387c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[hub,si,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[hub,si,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE} hub/si: Messages vs Consumers'
                uuid: 78912306ae154e7ca9c4bd1da1f46f96
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: si
                -   tag: type
                    value: hub
                trends: '0'
                type: DEPENDENT
                uuid: 789123ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7891236b727a45cca039f0f00f184943
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7891237627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789123ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7891232a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789123103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7891232c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 7891232ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 78912352ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,si,"{#QUEUE}"],5m)>50
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: si
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 78912353a22144338e6d002287446ac1
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,si,"{#QUEUE}"],5m)>100
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: si
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: hub
                    uuid: 78912378b2174a988bc56a2b89148e34
                type: DEPENDENT
                uuid: 789123bff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 78912366ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789123eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 78912396990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[hub,si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[hub,si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: hub
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 789123983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[hub,si]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Hubs si)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[hub,si,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[hub,si,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: si
                -   tag: type
                    value: hub
                uuid: 7891235d7bce4f6dad8a13c4624c0915
            type: DEPENDENT
            uuid: 789123b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_task_.*_live
                evaltype: AND
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[live,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[live,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[live,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[live,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[live,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[live,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[live,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[live,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: (live) Queue {#QUEUE}: Messages per second'
                uuid: 123b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[live,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[live,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[live,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF4000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[live,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: (live) Queue {#QUEUE}: Messages status'
                uuid: 123a8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[live,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[live,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE}: Messages vs Consumers (Live)'
                uuid: ed063b06ae154e7ca9c4bd1da1f46123
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: live
                -   tag: type
                    value: worker
                trends: '0'
                type: DEPENDENT
                uuid: 123ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                history: 7d
                key: rabbitmq.queue.messages.aborted[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages Aborted'
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                trends: 30d
                trigger_prototypes:
                -   expression: last(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages.aborted[live,"{#QUEUE}"])>0
                    name: 'RabbitMQ: Aborted because of No queue consumer found and
                        messages present on {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: live
                    -   tag: type
                        value: worker
                    uuid: d5d753b114054032942d07381b4287fb
                type: TRAP
                uuid: 5e0afa3865854198a12958af2cd7a1e8
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1232227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1239c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1234bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 12301a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 1m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[live,"{#QUEUE}"],1m)>100
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: live
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: 12352153a22144338e6d002287446ac1
                type: DEPENDENT
                uuid: 123e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1239a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123c3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[live,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[live,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: live
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 123a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[live]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Workers Live)
            trigger_prototypes:
            -   expression: max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[live,"{#QUEUE}"],120s)=0
                    and max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[live,"{#QUEUE}"],120s)>0
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: live
                -   tag: type
                    value: worker
                uuid: d4ac1e7345c747d395199a1da6c8286f
            type: DEPENDENT
            uuid: 123d85b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_task_.*(_rescan|_manual)
                evaltype: AND
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[rescan,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[rescan,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[rescan,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[rescan,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[rescan,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[rescan,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[rescan,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[rescan,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                uuid: 4e6b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[rescan,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[rescan,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[rescan,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[rescan,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE}: Messages status'
                uuid: adba8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[rescan,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[rescan,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE}: Messages vs Consumers'
                uuid: ed063b06ae154e7ca9c4bd1da1f46f96
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[rescan,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[rescan,"{#QUEUE}"]
                    sortorder: '1'
                name: 'RabbitMQ: Queue {#QUEUE}: Publish vs Consume per second'
                uuid: ad02305594e544f3920da42284140cc9
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: rescan/manual
                -   tag: type
                    value: worker
                trends: '0'
                type: DEPENDENT
                uuid: 335ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: be1c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: CHANGE_PER_SECOND
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 3902227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: b8a9c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 9b74bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: CHANGE_PER_SECOND
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 232ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 888dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: a34e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: SIMPLE_CHANGE
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 75501a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[rescan,"{#QUEUE}"],5m)>200000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: b6f52153a22144338e6d002287446ac1
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[rescan,"{#QUEUE}"],5m)>300000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    opdata: 'Current value: {ITEM.LASTVALUE1}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: rescan/manual
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: f94aec78b2174a988bc56a2b89148e34
                type: DEPENDENT
                uuid: 171e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: f55c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 67c9a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: a8cc3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[rescan,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[rescan,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: rescan/manual
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: bb6a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[rescan]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Workers Rescan/manual)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[rescan,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[rescan,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: rescan/manual
                -   tag: type
                    value: worker
                uuid: 39832f5d7bce4f6dad8a13c4624c0915
            type: DEPENDENT
            uuid: cc1d85b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_dm_task_.*_si$
                evaltype: AND
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[si,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[si,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[si,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[si,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[si,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[si,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[si,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[si,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: (si) Queue {#QUEUE}: Messages per second'
                uuid: 124b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[si,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[si,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[si,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[si,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: (si) Queue {#QUEUE}: Messages status'
                uuid: 124a8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[si,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[si,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE}: Messages vs Consumers (si)'
                uuid: ed063b06ae154e7ca9c4bd1da1f46321
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: si
                -   tag: type
                    value: worker
                trends: '0'
                type: DEPENDENT
                uuid: 124ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 14d
                key: rabbitmq.queue.consumers[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                history: 7d
                key: rabbitmq.queue.messages.aborted[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages Aborted'
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                trends: 30d
                trigger_prototypes:
                -   expression: last(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages.aborted[si,"{#QUEUE}"])>0
                    name: 'RabbitMQ: Aborted because of No queue consumer found and
                        messages present on {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: si
                    -   tag: type
                        value: worker
                    uuid: d5d753b114054032942d07381b428123
                type: TRAP
                uuid: 5e0afa3865854198a12958af2cd7a123
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1242227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1249c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1244bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 12401a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 14d
                key: rabbitmq.queue.messages[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[si,"{#QUEUE}"],1m)>200
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: si
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: 12452153a22144338e6d002287446ac1
                type: DEPENDENT
                uuid: 124e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 1249a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124c3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[si,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[si,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: si
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 124a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[si]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Workers SI)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[si,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[si,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: si
                -   tag: type
                    value: worker
                uuid: 9cadb141f38f478ab8d5466fbcc86595
            type: DEPENDENT
            uuid: 124d85b6045b44b38f588cd9a4c6c62d
        -   delay: '0'
            description: Individual queue metrics
            filter:
                conditions:
                -   formulaid: A
                    macro: '{#QUEUE}'
                    value: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
                -   formulaid: B
                    macro: '{#QUEUE}'
                    value: tag_url_dm_task_.*
                evaltype: AND
            graph_prototypes:
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.rate[url,"{#QUEUE}"]
                -   color: 2774A4
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.ack.rate[url,"{#QUEUE}"]
                    sortorder: '1'
                -   color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver.rate[url,"{#QUEUE}"]
                    sortorder: '2'
                -   color: A54F10
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.deliver_get.rate[url,"{#QUEUE}"]
                    sortorder: '3'
                -   color: FC6EA3
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.publish.rate[url,"{#QUEUE}"]
                    sortorder: '4'
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready.rate[url,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver.rate[url,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FFFF00
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged.rate[url,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages per second'
                uuid: 987b194fd13f4b97a66ee4d335958003
            -   graph_items:
                -   color: 1A7C11
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[url,"{#QUEUE}"]
                -   color: 6C59DC
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_ready[url,"{#QUEUE}"]
                    sortorder: '5'
                -   color: AC8C14
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages.redeliver[url,"{#QUEUE}"]
                    sortorder: '6'
                -   color: FF0000
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages_unacknowledged[url,"{#QUEUE}"]
                    sortorder: '7'
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages status'
                uuid: 987a8787c1d14670a5ca3bf07d9dc663
            -   graph_items:
                -   calc_fnc: ALL
                    color: 199C0D
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.messages[url,"{#QUEUE}"]
                -   calc_fnc: ALL
                    color: F63100
                    item:
                        host: RabbitMQ by HTTP Custom TAG
                        key: rabbitmq.queue.consumers[url,"{#QUEUE}"]
                    sortorder: '1'
                    yaxisside: RIGHT
                name: 'RabbitMQ: Queue {#QUEUE} url: Messages vs Consumers'
                uuid: 98763b06ae154e7ca9c4bd1da1f46f96
            item_prototypes:
            -   delay: '0'
                description: The HTTP API endpoint that returns {#QUEUE} queue metrics
                history: '0'
                key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_queues
                name: 'RabbitMQ: Queue {#QUEUE}: Get data'
                preprocessing:
                -   parameters:
                    - $[?(@.name == "{#QUEUE}" && @.vhost == "{#VHOST}")].first()
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: raw
                -   tag: prio
                    value: url
                -   tag: type
                    value: worker
                trends: '0'
                type: DEPENDENT
                uuid: 987ed3ef31e2471b9cdb25537cee4fe8
                value_type: TEXT
            -   delay: '0'
                description: The number of consumers.
                history: 30d
                key: rabbitmq.queue.consumers[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Consumers'
                preprocessing:
                -   parameters:
                    - $.consumers
                    type: JSONPATH
                tags:
                -   tag: component
                    value: consumers
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                type: DEPENDENT
                uuid: 987c1c6b727a45cca039f0f00f184943
            -   delay: '0'
                description: The number of messages (per second) delivered to clients
                    and acknowledged.
                history: 14d
                key: rabbitmq.queue.messages.ack.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages acknowledged per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.ack_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 9872227627d84cad8794604bd4f091fd
                value_type: FLOAT
            -   delay: '0'
                description: The count of messages (per second) delivered to consumers
                    in acknowledgement mode.
                history: 14d
                key: rabbitmq.queue.messages.deliver.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 9879c0ca7fda4756a8b79ac83c4bcd07
                value_type: FLOAT
            -   delay: '0'
                description: 'The rate of delivery per second. The sum of messages
                    delivered (per second) to consumers: in acknowledgement mode and
                    in no-acknowledgement mode; delivered to consumers in response
                    to `basic.get`: in acknowledgement mode and in no-acknowledgement
                    mode.'
                history: 14d
                key: rabbitmq.queue.messages.deliver_get.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Sum of messages delivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.deliver_get_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 9874bc2a830e43e28ad6c44037dbd1d7
                value_type: FLOAT
            -   delay: '0'
                description: The rate of published messages per second.
                history: 14d
                key: rabbitmq.queue.messages.publish.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages published per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.publish_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987ee8103a5d4fb6b2b41ca641f19088
                value_type: FLOAT
            -   delay: '0'
                description: The count of total messages per second in the queue.
                history: 14d
                key: rabbitmq.queue.messages.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages per second'
                preprocessing:
                -   parameters:
                    - $.messages_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987dbb2c1b13429b9d20034fcc783f14
                value_type: FLOAT
            -   delay: '0'
                description: The rate of messages redelivered per second.
                history: 14d
                key: rabbitmq.queue.messages.redeliver.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered per second'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987e852ddce64d80a88129eef9ba1ab2
                value_type: FLOAT
            -   delay: '0'
                description: The count of subset of messages in the `deliver_get`
                    queue with the `redelivered` flag set.
                history: 14d
                key: rabbitmq.queue.messages.redeliver[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages redelivered'
                preprocessing:
                -   error_handler: CUSTOM_VALUE
                    error_handler_params: '0'
                    parameters:
                    - $.message_stats.redeliver
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 98701a52ffab4972a5988ac4ae0c82d8
            -   delay: '0'
                description: The count of total messages in the queue.
                history: 30d
                key: rabbitmq.queue.messages[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages'
                preprocessing:
                -   parameters:
                    - $.messages
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trigger_prototypes:
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[url,"{#QUEUE}"],5m)>50000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: HIGH
                    tags:
                    -   tag: prio
                        value: url
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: 98752153a22144338e6d002287446ac1
                -   event_name: 'RabbitMQ: Too many messages in queue {#QUEUE} (over
                        {$RABBITMQ.MESSAGES.MAX.WARN:"{#QUEUE}"} for 5m)'
                    expression: min(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[url,"{#QUEUE}"],5m)>100000
                    name: 'RabbitMQ: Too many messages in queue {#QUEUE}'
                    priority: DISASTER
                    tags:
                    -   tag: prio
                        value: url
                    -   tag: scope
                        value: performance
                    -   tag: type
                        value: worker
                    uuid: 987aec78b2174a988bc56a2b89148e34
                type: DEPENDENT
                uuid: 987e5dbff18f47c98da2c1a3b7120622
            -   delay: '0'
                description: The number of messages per second ready to be delivered
                    to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready per second'
                preprocessing:
                -   parameters:
                    - $.messages_ready_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987c5f66ddac46fd95c5379875342284
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages ready to be delivered to clients.
                history: 14d
                key: rabbitmq.queue.messages_ready[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages ready'
                preprocessing:
                -   parameters:
                    - $.messages_ready
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 9879a8eee9a54eed946ab141927494c4
            -   delay: '0'
                description: The number of messages per second delivered to clients
                    but not yet acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged.rate[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged per second'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged_details.rate
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987c3296990640a6bf5d7319ba2e8650
                value_type: FLOAT
            -   delay: '0'
                description: The number of messages delivered to clients but not yet
                    acknowledged.
                history: 14d
                key: rabbitmq.queue.messages_unacknowledged[url,"{#QUEUE}"]
                master_item:
                    key: rabbitmq.get_exchanges[url,"{#QUEUE}"]
                name: 'RabbitMQ: Queue {#QUEUE}: Messages unacknowledged'
                preprocessing:
                -   parameters:
                    - $.messages_unacknowledged
                    type: JSONPATH
                -   parameters:
                    - ''
                    type: DISCARD_UNCHANGED
                tags:
                -   tag: component
                    value: messages
                -   tag: prio
                    value: url
                -   tag: queue
                    value: '{#QUEUE}'
                -   tag: type
                    value: worker
                -   tag: vhost
                    value: '{#VHOST}'
                trends: 90d
                type: DEPENDENT
                uuid: 987a84983caa486482e241c6bf7e9534
            key: rabbitmq.queues.discovery[url]
            lifetime: '0'
            lld_macro_paths:
            -   lld_macro: '{#NODE}'
                path: $.node
            -   lld_macro: '{#VHOST}'
                path: $.vhost
            -   lld_macro: '{#QUEUE}'
                path: $.name
            master_item:
                key: rabbitmq.get_queues
            name: Queues discovery (Workers URL)
            trigger_prototypes:
            -   expression: 'max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.consumers[url,"{#QUEUE}"],60s)=0

                    and

                    max(/RabbitMQ by HTTP Custom TAG/rabbitmq.queue.messages[url,"{#QUEUE}"],60s)>0

                    '
                name: 'RabbitMQ: No queue consumer found and messages present on:
                    {#QUEUE}'
                priority: DISASTER
                tags:
                -   tag: prio
                    value: url
                -   tag: type
                    value: worker
                uuid: 98732f5d7bce4f6dad8a13c4624c0915
            type: DEPENDENT
            uuid: 987d85b6045b44b38f588cd9a4c6c62d
        groups:
        -   name: Templates/Applications
        items:
        -   history: 7d
            key: net.tcp.service.perf["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"]
            name: 'RabbitMQ: Service response time'
            tags:
            -   tag: component
                value: system
            trends: '0'
            triggers:
            -   dependencies:
                -   expression: last(/RabbitMQ by HTTP Custom TAG/net.tcp.service["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"])=0
                    name: 'RabbitMQ: Service is down'
                event_name: 'RabbitMQ: Service response time is too high (over {$RABBITMQ.RESPONSE_TIME.MAX.WARN}s
                    for 5m)'
                expression: min(/RabbitMQ by HTTP Custom TAG/net.tcp.service.perf["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"],5m)>{$RABBITMQ.RESPONSE_TIME.MAX.WARN}
                manual_close: 'YES'
                name: 'RabbitMQ: Service response time is too high'
                priority: WARNING
                tags:
                -   tag: scope
                    value: performance
                uuid: 220eedd4f69b43fabe233b5127e09c50
            type: SIMPLE
            units: s
            uuid: 542f36f0b4e24d99a402a98b6f6fe4c4
            value_type: FLOAT
        -   history: 7d
            key: net.tcp.service["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"]
            name: 'RabbitMQ: Service ping'
            preprocessing:
            -   parameters:
                - 10m
                type: DISCARD_UNCHANGED_HEARTBEAT
            tags:
            -   tag: component
                value: health
            -   tag: component
                value: network
            trends: '0'
            triggers:
            -   expression: last(/RabbitMQ by HTTP Custom TAG/net.tcp.service["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"])=0
                manual_close: 'YES'
                name: 'RabbitMQ: Service is down'
                priority: AVERAGE
                tags:
                -   tag: scope
                    value: availability
                uuid: 636356e5255d49d992df4b7a0c7d222d
            type: SIMPLE
            uuid: f53379f858f74714b15ee12fe6fc2d08
            valuemap:
                name: Service state
        -   authtype: BASIC
            description: The HTTP API endpoint that returns metrics of the queues
                metrics.
            history: '0'
            key: rabbitmq.get_queues
            name: 'RabbitMQ: Get queues'
            password: '{$RABBITMQ.API.PASSWORD}'
            tags:
            -   tag: component
                value: raw
            timeout: 5s
            trends: '0'
            type: HTTP_AGENT
            url: '{$RABBITMQ.API.SCHEME}://{HOST.CONN}:{$RABBITMQ.API.PORT}/api/queues/{$RABBITMQ.VHOST}'
            username: '{$RABBITMQ.API.USER}'
            uuid: 3d0770d550b24f5ca80289cb723c8386
            value_type: TEXT
        macros:
        -   macro: '{$RABBITMQ.API.PASSWORD}'
            value: zabbix
        -   description: The port of RabbitMQ API endpoint
            macro: '{$RABBITMQ.API.PORT}'
            value: '15672'
        -   description: Request scheme which may be http or https
            macro: '{$RABBITMQ.API.SCHEME}'
            value: http
        -   macro: '{$RABBITMQ.API.USER}'
            value: zbx_monitor
        -   description: The name of RabbitMQ cluster
            macro: '{$RABBITMQ.CLUSTER.NAME}'
            value: rabbit
        -   description: Filter of discoverable queues
            macro: '{$RABBITMQ.LLD.FILTER.QUEUE.MATCHES}'
            value: .*
        -   description: Filter to exclude discovered queues
            macro: '{$RABBITMQ.LLD.FILTER.QUEUE.NOT_MATCHES}'
            value: CHANGE_IF_NEEDED
        -   description: Maximum number of messages in the queue for trigger expression
            macro: '{$RABBITMQ.MESSAGES.MAX.WARN}'
            value: '1000'
        -   description: Maximum RabbitMQ response time in seconds for trigger expression
            macro: '{$RABBITMQ.RESPONSE_TIME.MAX.WARN}'
            value: '10'
        -   macro: '{$RABBITMQ.VHOST}'
        name: RabbitMQ by HTTP Custom TAG
        tags:
        -   tag: class
            value: software
        -   tag: target
            value: rabbitmq
        template: RabbitMQ by HTTP Custom TAG
        uuid: b9514029d03b44de9adf24251778dbf3
        valuemaps:
        -   mappings:
            -   newvalue: Ok
                value: '0'
            -   newvalue: Alarm
                value: '1'
            name: Alarm state
            uuid: e65c3d3e8ea443a281b37c51ca461c26
        -   mappings:
            -   newvalue: Failed
                value: '0'
            -   newvalue: Ok
                value: '1'
            -   newvalue: Error
                value: '2'
            name: RabbitMQ healthcheck
            uuid: 55188bbb2ede4300a6292b373ee36ab7
        -   mappings:
            -   newvalue: Down
                value: '0'
            -   newvalue: Up
                value: '1'
            name: Service state
            uuid: aaf7d0b8b306412b8a3272343708518f
    version: '6.2'
