Skip to main content

RMQ CLI Monitor

Project description

https://img.shields.io/travis/steveYeah/amqpeek.svg?branch=master

AMQPeek

A flexible RMQ monitor that keeps track of RMQ, notifying you over multiple channels when connections cannot be made, and when queue lengths increase beyond specified limits.

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 you 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

amqpeek-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file amqpeek-0.0.2.tar.gz.

File metadata

  • Download URL: amqpeek-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for amqpeek-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b1d3a08e0c6a88acf37236b00c5232438886e43b9e2797f726126dfa3816317b
MD5 0863e443f569913e5790416d7f6a2ea1
BLAKE2b-256 e4398841840f5465e92ab4c3a038da00441f69fa43e250e2bcc0756fbb55b8ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page