From 8d1370343753b669569f3010a83c82ca8a2904ef Mon Sep 17 00:00:00 2001 From: Eoghan Glynn Date: Tue, 30 Jul 2013 14:14:55 +0000 Subject: [PATCH] Launch ceilometer-alarm-* services. Add ceilometer-alarm-notify and ceilometer-alarm-eval to the set of ceilometer services launchable by devstack when explicitly enabled in the localrc. Change-Id: I1575437c588cf9079f1e3a6c855123eae09c5dac --- lib/ceilometer | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/ceilometer b/lib/ceilometer index 548496e707..dd370a08fb 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -1,8 +1,11 @@ # lib/ceilometer # Install and start **Ceilometer** service -# To enable Ceilometer services, add the following to localrc -# enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api +# To enable a minimal set of Ceilometer services, add the following to localrc: +# enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api +# +# To ensure Ceilometer alarming services are enabled also, further add to the localrc: +# enable_service ceilometer-alarm-notify ceilometer-alarm-eval # Dependencies: # - functions @@ -136,12 +139,14 @@ function start_ceilometer() { screen_it ceilometer-acentral "ceilometer-agent-central --config-file $CEILOMETER_CONF" screen_it ceilometer-collector "ceilometer-collector --config-file $CEILOMETER_CONF" screen_it ceilometer-api "ceilometer-api -d -v --log-dir=$CEILOMETER_API_LOG_DIR --config-file $CEILOMETER_CONF" + screen_it ceilometer-alarm-notify "ceilometer-alarm-notifier --config-file $CEILOMETER_CONF" + screen_it ceilometer-alarm-eval "ceilometer-alarm-singleton --config-file $CEILOMETER_CONF" } # stop_ceilometer() - Stop running processes function stop_ceilometer() { # Kill the ceilometer screen windows - for serv in ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api; do + for serv in ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api ceilometer-alarm-notify ceilometer-alarm-eval; do screen -S $SCREEN_NAME -p $serv -X kill done }