Created
May 17, 2013 22:19
-
-
Save piavlo/5602361 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{rabbit, [ | |
{ssl_listeners, [5671]}, | |
{ssl_options, [{cacertfile,"/etc/rabbitmq/ssl/cacert.pem"}, | |
{certfile,"/etc/rabbitmq/ssl/server_cert.pem"}, | |
{keyfile,"/etc/rabbitmq/ssl/server_key.pem"}, | |
{verify,verify_peer}, | |
{fail_if_no_peer_cert,true}]} | |
]}, | |
{rabbitmq_stomp, [{tcp_listeners, [61613]}, | |
{ssl_listeners, [61614]} | |
]} | |
]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rabbitmq | |
connector = rabbitmq | |
plugin.rabbitmq.vhost = /mcollective | |
plugin.rabbitmq.pool.size = 1 | |
plugin.rabbitmq.pool.1.host = rabbit1 | |
plugin.rabbitmq.pool.1.port = 61614 | |
plugin.rabbitmq.pool.1.user = mcollective | |
plugin.rabbitmq.pool.1.password = changeme | |
plugin.rabbitmq.pool.1.ssl = true | |
plugin.rabbitmq.pool.1.ssl.ca = /etc/sensu/ssl/cacert.pem | |
plugin.rabbitmq.pool.1.ssl.key = /etc/sensu/ssl/client_key.pem | |
plugin.rabbitmq.pool.1.ssl.cert = /etc/sensu/ssl/client_cert.pem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For rabbitmq with ssl setup follow one of debian/centos sensu guides for rabbitmq: | |
http://docs.sensuapp.org/0.9/installing_rabbitmq_debian.html | |
http://docs.sensuapp.org/0.9/installing_rabbitmq_centos.html | |
http://docs.sensuapp.org/0.9/ssl.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rabbitmq | |
connector = rabbitmq | |
plugin.rabbitmq.vhost = /mcollective | |
plugin.rabbitmq.pool.size = 1 | |
plugin.rabbitmq.pool.1.host = rabbit1 | |
plugin.rabbitmq.pool.1.port = 61614 | |
plugin.rabbitmq.pool.1.user = mcollective | |
plugin.rabbitmq.pool.1.password = changeme | |
plugin.rabbitmq.pool.1.ssl = true | |
plugin.rabbitmq.pool.1.ssl.ca = /etc/sensu/ssl/cacert.pem | |
plugin.rabbitmq.pool.1.ssl.key = /etc/sensu/ssl/client_key.pem | |
plugin.rabbitmq.pool.1.ssl.cert = /etc/sensu/ssl/client_cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment