event-alarm: devstack plugin support

Change-Id: I3956e318126ea91559aaa24f9c030ef0bac46e62
This commit is contained in:
Ryota MIBU 2015-08-26 12:36:44 +09:00
parent fb697129bc
commit 37d7d79d69
2 changed files with 4 additions and 1 deletions

View File

@ -273,6 +273,7 @@ function start_aodh {
run_process aodh-notifier "$AODH_BIN_DIR/aodh-notifier --config-file $AODH_CONF"
run_process aodh-evaluator "$AODH_BIN_DIR/aodh-evaluator --config-file $AODH_CONF"
run_process aodh-listener "$AODH_BIN_DIR/aodh-listener --config-file $AODH_CONF"
}
# stop_aodh() - Stop running processes
@ -282,7 +283,7 @@ function stop_aodh {
restart_apache_server
fi
# Kill the aodh screen windows
for serv in aodh-api aodh-notifier aodh-evaluator; do
for serv in aodh-api aodh-notifier aodh-evaluator aodh-listener; do
stop_process $serv
done
}

View File

@ -3,6 +3,8 @@
enable_service aodh-api
# Alarming
enable_service aodh-notifier aodh-evaluator
# Listener for Event Alarming
enable_service aodh-listener
# Ensure legacy ceilometer alarm stuffs is disabled
disable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator