Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.aodh.server.cluster |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 3 | - service.haproxy.proxy.single |
Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 4 | - system.haproxy.proxy.listen.openstack.aodh |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 5 | - system.keepalived.cluster.instance.openstack_telemetry_vip |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 6 | parameters: |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 7 | _param: |
| 8 | openstack_event_alarm_topic: alarm.all |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 9 | # Keep alarm history in database for 30 days |
| 10 | aodh_alarm_history_ttl: 2592000 |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 11 | aodh: |
| 12 | server: |
| 13 | enabled: true |
Mykyta Karpin | dc2b1c1 | 2018-07-17 10:17:06 +0300 | [diff] [blame] | 14 | role: ${_param:openstack_node_role} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 15 | version: ${_param:aodh_version} |
| 16 | cluster: true |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 17 | ttl: ${_param:aodh_alarm_history_ttl} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 18 | debug: false |
| 19 | verbose: true |
Dmitry Kalashnik | bc18692 | 2017-03-28 22:44:03 +0400 | [diff] [blame] | 20 | region: ${_param:openstack_region} |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 21 | event_alarm_topic: ${_param:openstack_event_alarm_topic} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 22 | database: |
Oleh Hryhorov | a4908b0 | 2018-06-04 16:10:46 +0300 | [diff] [blame] | 23 | engine: "mysql" |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 24 | host: ${_param:openstack_database_address} |
| 25 | port: 3306 |
| 26 | name: aodh |
| 27 | user: aodh |
| 28 | password: ${_param:mysql_aodh_password} |
| 29 | bind: |
| 30 | host: ${_param:cluster_local_address} |
| 31 | port: 8042 |
| 32 | identity: |
| 33 | engine: keystone |
| 34 | host: ${_param:keystone_service_host} |
| 35 | port: 35357 |
| 36 | tenant: service |
| 37 | user: aodh |
| 38 | password: ${_param:keystone_aodh_password} |
Mykyta Karpin | f16f02d | 2018-07-05 12:49:46 +0300 | [diff] [blame] | 39 | region: ${_param:openstack_region} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 40 | message_queue: |
| 41 | engine: rabbitmq |
| 42 | port: 5672 |
| 43 | user: openstack |
| 44 | password: ${_param:rabbitmq_openstack_password} |
| 45 | virtual_host: '/openstack' |
| 46 | members: |
| 47 | - host: ${_param:openstack_message_queue_node01_address} |
| 48 | - host: ${_param:openstack_message_queue_node02_address} |
Dmitry Kalashnik | bc18692 | 2017-03-28 22:44:03 +0400 | [diff] [blame] | 49 | - host: ${_param:openstack_message_queue_node03_address} |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 50 | # Check for expired alarm history every day at 2 AM |
| 51 | expirer: |
| 52 | cron: |
| 53 | minute: 0 |
| 54 | hour: 2 |