This is a simple tool which monitors RabbitMQ and notifies via Slack (legacy webhooks) when certain thresholds are met.
-c, --config <config> Your TOML config file (default is config.toml)
The tool uses a TOML config file. If you don't pass any --config
argument it will look for a config.toml
in the working directory.
There's an example included in this repo called config_sample.toml
.
There's a minimal Docker image published on Docker hub. The size of the image is only 11Mb.
To use it you only need to mount a volume with your config file. The container will be looking for the config file in /config/config.toml
so mount it there. Example:
docker run -it -v (pwd)/your_config.toml:/config/config.toml --rm zbrox/rmq_monitor:latest
or if you're running in kubernetes and it's easier to mount the whole folder:
docker run -it -v (pwd)/where_i_keep_configs:/config --rm zbrox/rmq_monitor:latest
Obviously in this case you have to name the config file in that folder also config.toml
. Later I'll add a container variable to be able to change that name as well.