event-alarm: devstack plugin support
Change-Id: I3956e318126ea91559aaa24f9c030ef0bac46e62
This commit is contained in:
parent
fb697129bc
commit
37d7d79d69
@ -273,6 +273,7 @@ function start_aodh {
|
|||||||
|
|
||||||
run_process aodh-notifier "$AODH_BIN_DIR/aodh-notifier --config-file $AODH_CONF"
|
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-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
|
# stop_aodh() - Stop running processes
|
||||||
@ -282,7 +283,7 @@ function stop_aodh {
|
|||||||
restart_apache_server
|
restart_apache_server
|
||||||
fi
|
fi
|
||||||
# Kill the aodh screen windows
|
# 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
|
stop_process $serv
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
enable_service aodh-api
|
enable_service aodh-api
|
||||||
# Alarming
|
# Alarming
|
||||||
enable_service aodh-notifier aodh-evaluator
|
enable_service aodh-notifier aodh-evaluator
|
||||||
|
# Listener for Event Alarming
|
||||||
|
enable_service aodh-listener
|
||||||
# Ensure legacy ceilometer alarm stuffs is disabled
|
# Ensure legacy ceilometer alarm stuffs is disabled
|
||||||
disable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator
|
disable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user