Sensu RabbitMQ configuration
Issue
- For the Sensu client configuration settings, we currently have the following configuration for /usr/share/openstack-tripleo-heat-templates/environments/monitoring-environment.yaml:
parameter_defaults:
MonitoringRabbitHost: 10.10.10.10
MonitoringRabbitPort: 5672
MonitoringRabbitUserName: sensu
MonitoringRabbitPassword: sensu
MonitoringRabbitUseSSL: false
MonitoringRabbitVhost: "/sensu"
SensuClientCustomConfig:
api:
warning: 10
critical: 20
- However, we need to configure high-availability and we tested manually the following syntax inside /etc/sensu/conf.d/rabbitmq.json fil on sensu_client:
{
"rabbitmq": [
{
"port": 5672,
"host": "10.10.10.10",
"user": "sensu",
"password": "sensu",
"vhost": "/sensu",
"heartbeat": 30,
"prefetch": 1
},
{
"port": 5672,
"host": "10.10.10.11",
"user": "sensu",
"password": "sensu",
"vhost": "/sensu",
"heartbeat": 30,
"prefetch": 1
}
]
}
- How can we configure this parameters on our template (monitoring-environment.yaml) to reflect the change mentioned above to the overcloud nodes?
Environment
- Red Hat OpenStack Platform 13.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.