Rabbitmq

This plugin provides native RabbitMQ instrumentation for monitoring and metrics collection, including: service health, message, consumer, and queue health/metrics via `rabbitmq_management`, and more.

Sensu-Plugins-rabbitmq

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/check-rabbitmq-alive.rb
  • bin/check-rabbitmq-amqp-alive.rb
  • bin/check-rabbitmq-cluster-health.rb
  • bin/check-rabbitmq-consumers.rb
  • bin/check-rabbitmq-consumer-utilisation.rb
  • bin/check-rabbitmq-messages.rb
  • bin/check-rabbitmq-network-partitions.rb
  • bin/check-rabbitmq-node-health.rb
  • bin/check-rabbitmq-node-usage.rb
  • bin/check-rabbitmq-queue-drain-time.rb
  • bin/check-rabbitmq-queue.rb
  • bin/check-rabbitmq-queues-synchronised.rb
  • bin/check-rabbitmq-stomp-alive.rb
  • bin/metrics-rabbitmq-overview.rb
  • bin/metrics-rabbitmq-queue.rb
  • bin/metrics-rabbitmq-exchange.rb

Usage

Installation

Installation and Setup

Permissions

In order to run these checks you need the following permissions set:

:conf => '^aliveness-test$',
:write => '^amq\.default$',
:read => '.*'

You must also add the monitoring tag.

This can be done like this:

rabbitmqctl add_user sensu_monitoring $MY_SUPER_LONG_SECURE_PASSWORD
rabbitmqctl set_permissions  -p / sensu_monitoring "^aliveness-test$" "^amq\.default$" "^(amq\.default|aliveness-test)$"
rabbitmqctl set_user_tags sensu_monitoring monitoring

It is highly recommended that you do not give administrator access! and use minimum permissions!

Notes

Get Plugin

Stats

17 stars on GitHub
10 open issues on GitHub
62 open forks on GitHub

Sensu Plugins

Sensu plugins and extensions are available for dozens of modern applications and services.