Skip to content

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

License

Notifications You must be signed in to change notification settings

Bhanditz/check_rabbitmq_queues

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%