RabbitMQ
RabbitMQ#
Note
Это заготовка статьи.
Enable the RabbitMQ management plugin. See RabbitMQ’s documentation to enable it.
Create a user to monitor the service:
rabbitmqctl add_user zbx_monitor <PASSWORD>
rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*"
rabbitmqctl set_user_tags zbx_monitor monitoring
Login and password are also set in macros:
{$RABBITMQ.API.USER}{$RABBITMQ.API.PASSWORD}
If your cluster consists of several nodes, it is recommended to assign the
cluster template to a separate balancing host. In the case of a single-node
installation, you can assign the cluster template to one host with a node
template.
If you use another API endpoint, then don’t forget to change
{$RABBITMQ.API.CLUSTER_HOST} macro.
В интерфейсе заббикса вешаем шаблоны кластера и ноды.
Для работы шаблоны ноды необходимо указать для макроса
{$RABBITMQ.NODE.HOSTNAME} короткое имя вида rabbit@host. Имена нод можно
посмотреть так:
rabbitctl cluster_status