Project: HertzBeat (Observability and Analysis / Observability)
File: rabbitmq.md

id: rabbitmq title: Monitoring RabbitMQ sidebar_label: RabbitMQ Monitor keywords: [open source monitoring tool, open source rabbitmq monitoring tool, monitoring rabbitmq metrics] Monitoring the running status of RabbitMQ message middleware, nodes, topics and other related metrics. HertzBeat uses RabbitMQ Management's Rest Api to collect RabbitMQ metric data. Therefore, you need to enable the Management plug-in in your RabbitMQ environment Open the Management plugin, or use the self-opening version ```shell rabbitmq-plugins enable rabbitmq_management ``` Access http://ip:15672/ with a browser, and the default account password is `guest/guest`. Successful login means that it is successfully opened. Just add the corresponding RabbitMQ monitoring in HertzBeat, the parameters use the IP port of Management, and the default account password. | Parameter name | Parameter help description | |-|--| | Monitoring Host | The peer IPV4, IPV6 or domain name to be monitored. Note Without protocol header (eg: https://, http://). | | Monitoring name | The name that identifies this monitoring, and the name needs to be unique. | | Port | The HTTP port provided by RabbitMQ Management, the default is

| | Username | Username used for interface Basic authentication | | Password | The password used for interface Basic authentication | | Timeout | HTTP request query timeout | | Acquisition Interval | Interval time for monitoring periodic data collection, in seconds, the minimum interval that can be set is 30 seconds | | Whether to detect | Whether to detect and check the availability of monitoring before adding monitoring, and the operation of adding and modifying will continue after the detection is successful | | Description Remarks | More remark information to identify and describe this monitoring, users can remark information here | | Metric Name | Metric Unit | Metric Description | |--|-|| | product_version | None | Product Version | | product_name | None | Product name | | rabbitmq_version | none | rabbitmq version | | management_version | None | rabbitmq management plugin version | | erlang_version | None | erlang version | | cluster_name | None | Cluster name | | rates_mode | None | rates mode | | Metric Name | Metric Unit | Metric Description | |-|-|--| | channels | none | total number of channels | | connections | none | total number of connections | | consumers | none | total number of consumers | | exchanges | none | total number of exchanges | | queues | none | total number of queues | | Metric Name | Metric Unit | Metric Description | |--|-|--| | name | None | The node name | | type | None | The node type | | running | None | Running state | | os_pid | None | Pid in OS | | mem_limit | MB | Memory usage high watermark | | mem_used | MB | Total amount of memory used | | fd_total | None | File descriptors available | | fd_used | None | File descriptors used | | sockets_total | None | Sockets available | | sockets_used | None | Sockets used | | proc_total | None | Erlang process limit | | proc_used | None | Erlang processes used | | diskfreelimit | GB | Free disk space low watermark | | disk_free | GB | Free disk space | | gc_num | None | GC runs | | gcbytesreclaimed | MB | Bytes reclaimed by GC | | contextswitches | None | Contextswitches num | | ioreadcount | None | Total number of read operations | | ioreadbytes | KB | Total data size read into disk | | ioreadavg_time | ms | Average read operation time in milliseconds | | iowritecount | None | Total disk write operations | | iowritebytes | KB | Total amount of data written to disk | | iowriteavg_time | ms | Average time of each disk write operation in milliseconds | | ioseekcount | None | total seek operation | | ioseekavg_time | ms | average seek operation time, in milliseconds | | iosynccount | None | total amount of fsync operations | | iosyncavg_time | ms | Average time of fsync operation in milliseconds | | connection_created | None | connection created num | | connection_closed | None | connection closed num | | channel_created | None | channel created num | | channel_closed | None | channel closed num | | queue_declared | None | queue declared num | | queue_created | None | queue created num | | queue_deleted | None | queue deleted num | | connection_closed | None | connection closed num | | Metric Name | Metric Unit | Metric Description |