Merge "Add elements for Ceilometer alarm services"
This commit is contained in:
commit
9ff3cc446e
1
elements/ceilometer-alarm-evaluator/README.md
Normal file
1
elements/ceilometer-alarm-evaluator/README.md
Normal file
@ -0,0 +1 @@
|
||||
Enable the Ceilometer Alarm Evaluator service
|
3
elements/ceilometer-alarm-evaluator/element-deps
Normal file
3
elements/ceilometer-alarm-evaluator/element-deps
Normal file
@ -0,0 +1,3 @@
|
||||
ceilometer
|
||||
os-refresh-config
|
||||
os-svc-install
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
os-svc-daemon -i "$CEILOMETER_VENV_DIR" ceilometer-alarm-evaluator ceilometer ceilometer-alarm-evaluator --config-dir /etc/ceilometer
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
os-svc-enable -n ceilometer-alarm-evaluator
|
||||
|
||||
os-svc-restart -n ceilometer-alarm-evaluator
|
1
elements/ceilometer-alarm-notifier/README.md
Normal file
1
elements/ceilometer-alarm-notifier/README.md
Normal file
@ -0,0 +1 @@
|
||||
Enable the Ceilometer Alarm Notification service
|
4
elements/ceilometer-alarm-notifier/element-deps
Normal file
4
elements/ceilometer-alarm-notifier/element-deps
Normal file
@ -0,0 +1,4 @@
|
||||
ceilometer
|
||||
ceilometer-alarm-evaluator
|
||||
os-refresh-config
|
||||
os-svc-install
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
os-svc-daemon -i "$CEILOMETER_VENV_DIR" ceilometer-alarm-notifier ceilometer ceilometer-alarm-notifier --config-dir /etc/ceilometer
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
os-svc-enable -n ceilometer-alarm-notifier
|
||||
|
||||
os-svc-restart -n ceilometer-alarm-evaluator
|
@ -35,6 +35,15 @@ readonly_user_password={{ceilometer.snmpd_readonly_user_password}}
|
||||
{{/ceilometer.snmpd_readonly_user_name}}
|
||||
|
||||
|
||||
[alarm]
|
||||
evaluation_service=ceilometer.alarm.service.SingletonAlarmService
|
||||
rest_notifier_ssl_verify=false
|
||||
notifier_rpc_topic=alarm_notifier
|
||||
partition_rpc_topic=alarm_partition_coordination
|
||||
evaluation_interval=60
|
||||
record_history=true
|
||||
|
||||
|
||||
[api]
|
||||
{{#haproxy}}
|
||||
{{#stunnel.connect_ip}}
|
||||
|
Loading…
Reference in New Issue
Block a user