RabbitMQ monitoring module
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
README.md
app.js
package.json
pm2-rabbitmq.jpg

README.md

pm2-rabbitmq

RabbitMQ module for Keymetrics

pm2-rabbitmq screenshot

Description

PM2 module to monitor key RabbitMQ server metrics:

  • of Connections / Queues / Channels / Consumers / Exchanges

  • of Total messages / Ready messages / Unacknowledged messages

  • Publish Rate / Deliver Rate

Requirements

This module requires a RabbitMQ install (tested against v3.5.4). You also need to enable the RabbitMQ management plugin

Install

$ npm install pm2 -g

$ pm2 install pm2-rabbitmq

Config

The default connection details are : "username": "guest" "password": "guest" "hostname": "localhost:15672" "protocol": "http"

guest/guest is a user created by default when installing RabbitMQ but you can change this to any other admin user

To modify the config values you can use the commands:

$ pm2 set pm2-rabbitmq:username  myuser
$ pm2 set pm2-rabbitmq:password  mypass
$ pm2 set pm2-rabbitmq:hostname  a.b.c.d:port
$ pm2 set pm2-rabbitmq:protocol  https

Uninstall

$ pm2 uninstall pm2-rabbitmq

License

MIT