Merge "Add elements for Ceilometer alarm services"

This commit is contained in:
Jenkins 2014-10-30 08:51:34 +00:00 committed by Gerrit Code Review
commit 9ff3cc446e
9 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1 @@
Enable the Ceilometer Alarm Evaluator service

View File

@ -0,0 +1,3 @@
ceilometer
os-refresh-config
os-svc-install

View File

@ -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

View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
os-svc-enable -n ceilometer-alarm-evaluator
os-svc-restart -n ceilometer-alarm-evaluator

View File

@ -0,0 +1 @@
Enable the Ceilometer Alarm Notification service

View File

@ -0,0 +1,4 @@
ceilometer
ceilometer-alarm-evaluator
os-refresh-config
os-svc-install

View File

@ -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

View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
os-svc-enable -n ceilometer-alarm-notifier
os-svc-restart -n ceilometer-alarm-evaluator

View File

@ -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}}