RabbitMQ is an open-source message-broker software that originally implemented the Advanced Message Queuing protocol and has since been extended with a plug-in architecture to support Streaming Text Oriented Messaging Protocol, MQ Telemetry Transport, and other protocols.
Prerequisite
For Virtual Machines, install the Linux Agent.
Configuring the credentials
Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml
rabbitmq:
- name: rabbitmq
user: <username>
pwd: <Password>
encoding-type: plain
labels:
key1: val1
key2: val2
Configuring the application
Virtual machine
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml
- name: rabbitmq
instance-checks:
service-check:
- rabbitmq-server
process-check:
- rabbitmq
port-check:
- 15672
- 5672
Docker environment
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml
- name: rabbitmq
container-checks:
image-check:
- rabbitmq
port-check:
- 15672
- 5672
Kubernetes environment
Configure the application in config.yaml
- name: rabbitmq
container-checks:
image-check:
- rabbitmq
port-check:
- 15672
- 5672
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
rabbitmq_connections | Connections | Number of connections at a given time | |
rabbitmq_connections_state | Connections State | Number of connections in the specified connection state | |
rabbitmq_exchange_messages_publish_count | Exchange Messages Publish | Count of messages in exchanges published (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_exchange_messages_publish_in_count | Exchange Messages Publish In | Count of messages published from channels into this exchange (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_exchange_messages_publish_in_rate | Exchange Messages Publish In Rate | Rate of messages published from channels into this exchange per sec (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_exchange_messages_publish_out_count | Exchange Messages Publish Out | Count of messages published from this exchange into queues (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_exchange_messages_publish_out_rate | Exchange Messages Publish Out Rate | Rate of messages published from this exchange into queues per second (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_exchange_messages_publish_rate | Exchange Messages Publish Rate | Rate of messages in exchanges published per second (instance name will be displayed in the format 'name_type_vhost') | |
rabbitmq_node_disk_alarm | Disk Alarm | Does the node have disk alarm | |
rabbitmq_node_disk_free | Free Disk | Free Disk,MB | Free disk of the rabbitmq node |
rabbitmq_node_fd_used | Open FDs | Open FDs | Number of open file descriptors used |
rabbitmq_node_mem_alarm | Node Memory Alarm | Does the host has memory alarm | |
rabbitmq_node_mem_limit | Node Memory Limit | Memory,MB | Limit of Memory usage |
rabbitmq_node_mem_used | Node Memory Utilization | megabytes | Memory used by the rabbitmq node |
rabbitmq_node_partitions | Node Network Partitions | Number of network partitions this node is observing | |
rabbitmq_node_proc_used | Erlang Processes Used | Procs | Number of Erlang processes used |
rabbitmq_node_run_queue | Node Run Queue | Average number of Erlang processes waiting to run | |
rabbitmq_node_running | Node Running | Is the node running or not | |
rabbitmq_node_sockets_used | Node Sockets Used | Sockets | Number of sockets used |
rabbitmq_node_uptime | Uptime | Minutes | Uptime of the RabbitMQ server |
rabbitmq_objects_overview | Overview Objects | Objects | Overview of all objects |
rabbitmq_overview_messages_ack_count | Overview Messages Acknowledged | Number of messages delivered to clients and acknowledged | |
rabbitmq_overview_messages_ack_rate | Overview Messages Acknowledged Rate | Rate of messages delivered to clients and acknowledged per second | |
rabbitmq_overview_messages_deliver_get_count | Overview Messages Deliver | Sum of messages delivered in acknowledgement mode to consumers, in no-acknowledgement mode to consumers, in acknowledgement mode in response to basic.get, and in no-acknowledgement mode in response to basic.get | |
rabbitmq_overview_messages_deliver_get_rate | Overview Messages Deliver Rate | Rate per second of the sum of messages delivered in acknowledgement mode to consumers, in no-acknowledgement mode to consumers, in acknowledgement mode in response to basic.get, and in no-acknowledgement mode in response to basic.get | |
rabbitmq_overview_messages_publish_count | Overview Messages Publish | Count of messages published | |
rabbitmq_overview_messages_publish_rate | Overview Messages Publish Rate | Rate of messages published per second | |
rabbitmq_overview_messages_redeliver_count | Overview Messages Redeliver | Count of subset of messages in deliver_get which had the redelivered flag set | |
rabbitmq_overview_messages_redeliver_rate | Overview Messages Redeliver Rate | Rate of subset of messages in deliver_get which had the redelivered flag set per second | |
rabbitmq_overview_object_totals_channels | Overview Objects Channels | Total number of channels | |
rabbitmq_overview_object_totals_connections | Overview Objects Connections | Total number of connections | |
rabbitmq_overview_object_totals_consumers | Overview Objects Consumers | Total number of consumers | |
rabbitmq_overview_object_totals_queues | Overview Objects Queues | Total number of queues | |
rabbitmq_overview_queue_totals_messages_count | Overview Queue Messages | Total number of messages (ready plus unacknowledged) | |
rabbitmq_overview_queue_totals_messages_rate | Overview Queue Messages Rate | Rate of number of messages (ready plus unacknowledged) | |
rabbitmq_overview_queue_totals_messages_ready_count | Overview Queue Messages Ready | Number of messages ready for delivery | |
rabbitmq_overview_queue_totals_messages_ready_rate | Overview Queue Messages Ready Rate | Rate of number of messages ready for delivery | |
rabbitmq_overview_queue_totals_messages_unacknowledged_count | Overview Queue Messages Unaknowledged | Number of unacknowledged messages | |
rabbitmq_overview_queue_totals_messages_unacknowledged_rate | Overview Queue Messages Unaknowledged Rate | Rate of number of unacknowledged messages | |
rabbitmq_queue_consumer_utilisation | Queue Consumer Utilisation | Ratio of time that a queue's consumers can take new messages (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_consumers | Consumers | Consumers | Number of consumers. (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_consumers_active | Active Consumers | Consumers | Number of active consumers. An active consumer is one which could immediately receive any messages sent to the queue. (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_memory | Memory | megabytes | Memory consumed by the Erlang process associated with the queue, including stack, heap and internal structures. (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_messages | Messages | Messages | Sum of ready and unacknowledged messages (queue depth). (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_messages_ack_count | Queue Messages Acknowledged | Number of messages in queues delivered to clients and acknowledged (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_ack_rate | Queue Messages Acknowledged Rate | Number per second of messages delivered to clients and acknowledged (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_deliver_count | Queue Messages Deliver | Count of messages delivered in acknowledgement mode to consumers (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_deliver_get_count | Queue Messages Deliver Get | Sum of messages in queues delivered in acknowledgement mode to consumers, in no-acknowledgement mode to consumers, in acknowledgement mode in response to basic.get, and in no-acknowledgement mode in response to basic.get. (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_deliver_get_rate | Queue Messages Deliver Get Rate | Rate per second of the sum of messages in queues delivered in acknowledgement mode to consumers, in no-acknowledgement mode to consumers, in acknowledgement mode in response to basic.get, and in no-acknowledgement mode in response to basic.get. (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_deliver_rate | Queue Messages Deliver Rate | Rate of messages delivered in acknowledgement mode to consumers (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_publish_count | Queue Messages Publish | Count of messages in queues published (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_publish_rate | Queue Messages Publish Rate | Rate per second of messages published (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_rate | Queue Messages Rate | Count per second of the total messages in the queue (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_ready | Messages Ready | Messages Ready | Number of messages ready to be delivered to clients. (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_messages_ready_rate | Messages Ready Rate | Rate of messages ready to be delivered to clients. (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_redeliver_count | Queue Messages Redeliver | Count of subset of messages in queues in deliver_get which had the redelivered flag set (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_redeliver_rate | Queue Messages Redeliver Rate | Rate per second of subset of messages in deliver_get which had the redelivered flag set (instance name will be displayed in the format 'name_vhost') | |
rabbitmq_queue_messages_unacknowledged | Messages Unacknowledged | Messages Unacknowledged | Number of messages delivered to clients but not yet acknowledged. (instance name will be displayed in the format 'name_vhost') |
rabbitmq_queue_messages_unacknowledged_rate | Messages Unacknowledged Rate | Rate of messages delivered to clients but not yet acknowledged. (instance name will be displayed in the format 'name_vhost') |