![]() |
2 years ago | |
---|---|---|
.. | ||
Makefile.inc | 6 years ago | |
README.md | 2 years ago | |
rabbitmq.chart.py | 4 years ago | |
rabbitmq.conf | 4 years ago |
Collects message broker global and per virtual host metrics.
Following charts are drawn:
Queued Messages
Message Rates
Global Counts
File Descriptors
Socket Descriptors
Erlang processes
Erlang run queue
Memory
Disk Space
Per Vhost charts:
Vhost Messages
Per Queue charts:
Queued Messages
Queue Messages stats
Edit the python.d/rabbitmq.conf
configuration file using edit-config
from the Netdata config
directory, which is typically at /etc/netdata
.
cd /etc/netdata # Replace this path with your Netdata config directory, if different
sudo ./edit-config python.d/rabbitmq.conf
When no configuration file is found, module tries to connect to: localhost:15672
.
socket:
name : 'local'
host : '127.0.0.1'
port : 15672
user : 'guest'
pass : 'guest'
RabbitMQ users with the "monitoring" tag cannot see all queue data. You'll need a user with read permissions. To create a dedicated user for netdata:
rabbitmqctl add_user netdata ChangeThisSuperSecretPassword
rabbitmqctl set_permissions netdata "^$" "^$" ".*"
See set_permissions for details.
Once the user is set up, add collect_queues_metrics: yes
to your rabbitmq.conf
:
local:
name : 'local'
host : '127.0.0.1'
port : 15672
user : 'netdata'
pass : 'ChangeThisSuperSecretPassword'
collect_queues_metrics : 'yes'