Skip to content

pm2-hive/pm2-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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