A flexible RMQ monitor that keeps track of RMQ, notifying you over multiple channels when connections cannot be made, queues have not been declared, and when queue lengths increase beyond specified limits.
Project description
AMQPeek
A flexible RMQ monitor that keeps track of RMQ, notifying you over multiple channels when connections cannot be made, queues have not been declared, and when queue lengths increase beyond specified limits.
Support OSS, and me :)
If you find this project useful, please feel free to buy me a coffee
Install
$ pip install amqpeek
Once installed, you can then setup AMQPeek to suit your needs by editing the configuration file
Create configuration file
To create a base configuration file:
$ amqpeek --gen_config
This will create a file called amqpeek.yaml
in your current directory.
Here you can setup your connection details for RMQ, define queues you
wish to monitor and define the notifier channels you wish to use. Edit
this file to suit your needs
Running
listing all options:
$ amqpeek --help
Run AMQPeek with no arguments: This runs the monitoring script once and then exits out (useful when running AMQPeek as a Cron job)
$ amqpeek
Run AMQPeek with an interval: This monitors RMQ, running the tests every 10 minutes in a continuous loop (useful when running AMQPeek under Supervisor or something similar)
$ amqpeek --interval 10
You can also specify the location of a configuration file to use instead of the default location of your current directory
$ amqpeek --config config.yaml
Notification channels
AMQPeek supports multiple notification channels.
Currently supported channels:
- Slack
- Email (SMTP)
These are controlled via the configuration file, under notifiers. You can mix and match the notifiers you wish to use, and you can have multiples of the same notifier types.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file amqpeek-0.0.7.tar.gz
.
File metadata
- Download URL: amqpeek-0.0.7.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97faffe7a52eb5843a90d748761a9f0412582ceb1cd551738f19727bf248a8f7 |
|
MD5 | aa9be448a3af11e1ebe5a0febd554d56 |
|
BLAKE2b-256 | f30cacea61a8947e5dfe9a9a9deba15a8eef4cdda301c7e6111a2cf9d147cd1e |
File details
Details for the file amqpeek-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: amqpeek-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3531754bbe4a6664a7ca8294cd0768a6c020ade40c6d20a881e14c5417fc5b0 |
|
MD5 | 5a9fb8737c4001d0902f9c421321703b |
|
BLAKE2b-256 | def305b5ad7148c57d32dfaf545089fb142d5ee8513bb081b2d6a5ebabc1a7e0 |