Fortinet black logo

User Guide

RabbitMQ

24.1.0
Copy Link
Copy Doc ID af1daa65-c273-11ec-9fd1-fa163e15d75b:631015
Download PDF

RabbitMQ

The RabbitMQ plugin allows you to monitor several metrics on your RabbitMQ server. If you would like to install RabbitMQ, go to https://www.rabbitmq.com/download.html for instructions.

If you cannot find this plugin in the /usr/lib/fm-agent/plugins folder, then your version of the agent is out of date and you should update it to gain access to this feature.

Agent Configuration

Once the agent is installed, add the following information to the agent configuration file:

  • /etc/fm-agent/fm_agent.cfg

[rabbitmq]
management_interface_host = https://localhost
management_interface_port = 15672
username = rabbitmq_username
password = rabbitmq_password

Control Panel Configuration

To add a RabbitMQ Agent resource to your server first see Add FortiMonitor Agent checks if you have not already.

To use the plugin, select RabbitMQ from the monitoring catalog. The available metrics are listed below.

Metric

Unit

# of Objects

count

Cluster metrics

Cluster message delivery rate

msgs/sec

Cluster message redelivery rate

msgs/sec

Cluster messages delivered to consumers recently

count

Cluster messages publish rate

msgs/sec

Cluster messages published recently

count

Cluster messages redelivered to consumers recently

count

Cluster number of messages ready for delivery

count

Cluster number of unacknowledged messages

count

Node metrics

Node disk free amount

kBs

Node disk free amount rate

kBs/sec

Node file descriptors used

count

Node file descriptors used rate

count/sec

Node memory used rate

kBs/sec

Node number of Erlang processes in use

count

Node processes used rate

count/sec

Node rate of read count

count/sec

Node rate of read kBs

kBs/sec

Node rate of written bytes

kBs/sec

Node sockets available

count

Node sockets used

count

Node sockets used rate

count/sec

Node total amount of memory used

kBs

Node total number of bytes read from disk by the persister

kBs

Node total number of bytes written to disk by the persister

kBs

Node total number of read operations by the persister

count

Queue metrics

Queue Length

messages

Queue Memory Usage

kb

Queue message delivery rate

count/sec

Queue message publishing rate

count/sec

Queue message redelivered recently

count

Queue messages delivered recently

count

Queue messages published recently

count

Queue messages redeliver rate

count/sec

Queue number of messages ready for delivery

count

Queue number of unacknowledged messages

count

If you would like to inspect the RabbitMQ plugin in more detail, you can find the python script for it in the /usr/lib/fm-agent/plugins folder.

RabbitMQ

The RabbitMQ plugin allows you to monitor several metrics on your RabbitMQ server. If you would like to install RabbitMQ, go to https://www.rabbitmq.com/download.html for instructions.

If you cannot find this plugin in the /usr/lib/fm-agent/plugins folder, then your version of the agent is out of date and you should update it to gain access to this feature.

Agent Configuration

Once the agent is installed, add the following information to the agent configuration file:

  • /etc/fm-agent/fm_agent.cfg

[rabbitmq]
management_interface_host = https://localhost
management_interface_port = 15672
username = rabbitmq_username
password = rabbitmq_password

Control Panel Configuration

To add a RabbitMQ Agent resource to your server first see Add FortiMonitor Agent checks if you have not already.

To use the plugin, select RabbitMQ from the monitoring catalog. The available metrics are listed below.

Metric

Unit

# of Objects

count

Cluster metrics

Cluster message delivery rate

msgs/sec

Cluster message redelivery rate

msgs/sec

Cluster messages delivered to consumers recently

count

Cluster messages publish rate

msgs/sec

Cluster messages published recently

count

Cluster messages redelivered to consumers recently

count

Cluster number of messages ready for delivery

count

Cluster number of unacknowledged messages

count

Node metrics

Node disk free amount

kBs

Node disk free amount rate

kBs/sec

Node file descriptors used

count

Node file descriptors used rate

count/sec

Node memory used rate

kBs/sec

Node number of Erlang processes in use

count

Node processes used rate

count/sec

Node rate of read count

count/sec

Node rate of read kBs

kBs/sec

Node rate of written bytes

kBs/sec

Node sockets available

count

Node sockets used

count

Node sockets used rate

count/sec

Node total amount of memory used

kBs

Node total number of bytes read from disk by the persister

kBs

Node total number of bytes written to disk by the persister

kBs

Node total number of read operations by the persister

count

Queue metrics

Queue Length

messages

Queue Memory Usage

kb

Queue message delivery rate

count/sec

Queue message publishing rate

count/sec

Queue message redelivered recently

count

Queue messages delivered recently

count

Queue messages published recently

count

Queue messages redeliver rate

count/sec

Queue number of messages ready for delivery

count

Queue number of unacknowledged messages

count

If you would like to inspect the RabbitMQ plugin in more detail, you can find the python script for it in the /usr/lib/fm-agent/plugins folder.