Skip to content
Nagios plugin written in python for checking if queue lengths do not exceed thresholds specified in config
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
check_rabbitmq_queues
.gitignore
LICENSE
README.md
check_rabbitmq_queues.yml.example
setup.py
tox.ini

README.md

check_rabbitmq_queues

Nagios plugin written in python for checking if queue lengths do not exceed thresholds specified in config.

Installation

pip install check-rabbitmq-queues

Usage

check_rabbitmq_queues -c <path_to_config>

Example config

host: localhost
port: 15672
username: guest
password: guest
vhost: /
queues:
    queue1:
        critical: 0
        warning: 0
        policy:
            max-length: 500
    queue2:
        critical: 0
        warning: 0
queue_prefixes:
    queue-pref:
        critical: 0
        warning: 0

You can also provide username and password in CHECK_RABBITMQ_QUEUES_USERNAME and CHECK_RABBITMQ_QUEUES_PASSWORD environmental variables instead if you wish.

Tests

In project directory:

tox
You can’t perform that action at this time.