configure-rabbitmq-sensu

by ezan
0 deployments · 0 still active · last rev. 8 months ago

Compatible with: Ubuntu 14.04 LTS
						#!/bin/bash
##
# Configures RabbitMQ for Sensu
#
# Dependencies:
# - RabbitMQ
##
set -eux

rabbitmqctl add_vhost sensu
rabbitmqctl add_user sensu monit0r
rabbitmqctl set_permissions -p sensu sensu ".*" ".*" ".*"
rabbitmqctl set_user_tags sensu administrator