Files
monasca-agent/conf.d/rabbitmq.yaml.example
gary-hessler 70aa0d713c Adding RabbitMQ detection and setup
Change-Id: I2ed2aa0f199026adb5fee672fe77fab231f2d549
2014-09-15 09:20:49 -06:00

47 lines
1.8 KiB
Plaintext

init_config:
instances:
# NOTE: The rabbitmq management plugin must be enabled for this check to work!
# To enable the management plugin:
# sudo rabbitmq-plugins enable rabbitmq_management
# OUTPUT:
# The following plugins have been enabled:
# mochiweb
# webmachine
# rabbitmq_web_dispatch
# amqp_client
# rabbitmq_management_agent
# rabbitmq_management
# Plugin configuration has changed. Restart RabbitMQ for changes to take effect.
# To restart the rabbitmq-server
# sudo service rabbitmq-server restart
# OUTPUT:
# * Restarting message broker rabbitmq-server
#
# For every instance a 'rabbitmq_api_url' must be provided, pointing to the api
# url of the RabbitMQ Managment Plugin (http://www.rabbitmq.com/management.html)
# optional: 'rabbitmq_user' (default: guest) and 'rabbitmq_pass' (default: guest)
#
# If you have less than 5 queues, you don't have to set the queues parameters
# All queues metrics will be collected
# If you have more than 5 queues: you can set 5 queue names. Metrics will be collected
# for these queues. For the other queues, aggregate will be calculated.
#
# # If you have less than 3 nodes, you don't have to set the nodes parameters
# All nodes metrics will be collected
# If you have more than 3 nodes: you can set 3 node names. Metrics will be collected
# for these nodes. For the other nodes, aggregate will be calculated.
#
# Warning: aggregate are calculated on the 100 first queues/nodes.
- rabbitmq_api_url: http://localhost:15672/api/
rabbitmq_user: guest
rabbitmq_pass: guest
nodes:
- rabbit@localhost
- rabbit2@domain
queues:
- queue1
- queue2