Hi there,
Is it possible to configure Sensu to connect to multiple RabbitMQ servers? What about Redis servers? Would I need to specify a single host that will load balance across servers running each of these components, or will Sensu round-robin for me?
Said another way, can I configure Sensu like so:
{
"rabbitmq": {
"ssl": {
"cert_chain_file": "/etc/sensu/ssl/cert.pem",
"private_key_file": "/etc/sensu/ssl/key.pem"
},
"host": ["rabbitmq-host-1", "rabbitmq-host-2"],
"port": 5671,
"vhost": "/sensu",
"user": "sensu",
"password": "SUBSTITUTE_ME"
}
}
``
You need to specify a single host.
If you are going to use multiple rabbitmq servers and multiple redis
servers, you must understand how they cluster and then load balance
them.
Some more reading:
http://failshell.io/sensu/high-availability-sensu/
https://github.com/sensu/sensu-docs/blob/master/source/docs/0.13/scaling_strategies.md
···
On Wed, Sep 24, 2014 at 3:24 PM, Jonathan Fenocchi <jfenocchi@slightlyremarkable.com> wrote:
Hi there,
Is it possible to configure Sensu to connect to multiple RabbitMQ servers?
What about Redis servers? Would I need to specify a single host that will
load balance across servers running each of these components, or will Sensu
round-robin for me?
Said another way, can I configure Sensu like so:
{
"rabbitmq": {
"ssl": {
"cert_chain_file": "/etc/sensu/ssl/cert.pem",
"private_key_file": "/etc/sensu/ssl/key.pem"
},
"host": ["rabbitmq-host-1", "rabbitmq-host-2"],
"port": 5671,
"vhost": "/sensu",
"user": "sensu",
"password": "SUBSTITUTE_ME"
}
}
Thanks, this answers my question. Scaling/HA Sensu isn’t built-in.
···
On Wednesday, September 24, 2014 9:13:58 PM UTC-5, Kyle Anderson wrote:
You need to specify a single host.
If you are going to use multiple rabbitmq servers and multiple redis
servers, you must understand how they cluster and then load balance
them.
Some more reading:
http://failshell.io/sensu/high-availability-sensu/
https://github.com/sensu/sensu-docs/blob/master/source/docs/0.13/scaling_strategies.md
On Wed, Sep 24, 2014 at 3:24 PM, Jonathan Fenocchi > > jfen...@slightlyremarkable.com wrote:
Hi there,
Is it possible to configure Sensu to connect to multiple RabbitMQ servers?
What about Redis servers? Would I need to specify a single host that will
load balance across servers running each of these components, or will Sensu
round-robin for me?
Said another way, can I configure Sensu like so:
{
“rabbitmq”: {
"ssl": {
"cert_chain_file": "/etc/sensu/ssl/cert.pem",
"private_key_file": "/etc/sensu/ssl/key.pem"
},
"host": ["rabbitmq-host-1", "rabbitmq-host-2"],
"port": 5671,
"vhost": "/sensu",
"user": "sensu",
"password": "SUBSTITUTE_ME"
}
}
host": ["rabbitmq-host-1", "rabbitmq-host-2"],
Hi
I want to do the same, so instead of using ``There you could configure the HA IP right?
Thanks
···
El miércoles, 24 de septiembre de 2014, 23:13:58 (UTC-3), Kyle Anderson escribió:
You need to specify a single host.
If you are going to use multiple rabbitmq servers and multiple redis
servers, you must understand how they cluster and then load balance
them.
Some more reading:
http://failshell.io/sensu/high-availability-sensu/
https://github.com/sensu/sensu-docs/blob/master/source/docs/0.13/scaling_strategies.md
On Wed, Sep 24, 2014 at 3:24 PM, Jonathan Fenocchi > jfen...@slightlyremarkable.com wrote:
Hi there,
Is it possible to configure Sensu to connect to multiple RabbitMQ servers?
What about Redis servers? Would I need to specify a single host that will
load balance across servers running each of these components, or will Sensu
round-robin for me?
Said another way, can I configure Sensu like so:
{
“rabbitmq”: {
“ssl”: {
“cert_chain_file”: “/etc/sensu/ssl/cert.pem”,
“private_key_file”: “/etc/sensu/ssl/key.pem”
},
“host”: [“rabbitmq-host-1”, “rabbitmq-host-2”],
“port”: 5671,
“vhost”: “/sensu”,
“user”: “sensu”,
“password”: “SUBSTITUTE_ME”
}
}
At the original time that this email was composed, sensu didn’t have client-side configuration suitable for this. Now it does:
https://sensuapp.org/docs/0.26/reference/rabbitmq.html#configure-sensu-to-use-the-rabbitmq-cluster
···
On Mon, Oct 17, 2016 at 12:48 PM, Kernel Panic netwarrior863@gmail.com wrote:
host": ["rabbitmq-host-1", "rabbitmq-host-2"],
Hi
I want to do the same, so instead of using ``There you could configure the HA IP right?
Thanks
El miércoles, 24 de septiembre de 2014, 23:13:58 (UTC-3), Kyle Anderson escribió:
You need to specify a single host.
If you are going to use multiple rabbitmq servers and multiple redis
servers, you must understand how they cluster and then load balance
them.
Some more reading:
http://failshell.io/sensu/high-availability-sensu/
https://github.com/sensu/sensu-docs/blob/master/source/docs/0.13/scaling_strategies.md
On Wed, Sep 24, 2014 at 3:24 PM, Jonathan Fenocchi
jfen...@slightlyremarkable.com wrote:
Hi there,
Is it possible to configure Sensu to connect to multiple RabbitMQ servers?
What about Redis servers? Would I need to specify a single host that will
load balance across servers running each of these components, or will Sensu
round-robin for me?
Said another way, can I configure Sensu like so:
{
“rabbitmq”: {
“ssl”: {
“cert_chain_file”: “/etc/sensu/ssl/cert.pem”,
“private_key_file”: “/etc/sensu/ssl/key.pem”
},
“host”: [“rabbitmq-host-1”, “rabbitmq-host-2”],
“port”: 5671,
“vhost”: “/sensu”,
“user”: “sensu”,
“password”: “SUBSTITUTE_ME”
}
}