Add elements for Ceilometer alarm services
Adds Ceilometer alarm-evaluator and alarm-notifier services: * element for alarm-evaluator * element for alarm-notifier * configuration options for alarm services Change-Id: I223d24256dcd4e9515149bdbdb9d021b0ef4d00e
This commit is contained in:
parent
5dc2bc56a8
commit
41be9d9a13
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
|
@ -33,6 +33,15 @@ readonly_user_password={{ceilometer.snmpd_readonly_user_password}}
|
|||||||
{{/ceilometer.snmpd_readonly_user_name}}
|
{{/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]
|
[api]
|
||||||
{{#haproxy}}
|
{{#haproxy}}
|
||||||
{{#stunnel.connect_ip}}
|
{{#stunnel.connect_ip}}
|
||||||
|
Loading…
Reference in New Issue
Block a user