aodh for reboot of virtual machine
Hi,
I have a question about the event from aodh. I create an alarm as following:
aodh alarm create --name ins_reboot_start --alarm-action "log://" --description "instance reboot start" --enable True --repeat-actions True --severity "moderate" --event-type compute.instance.reboot.start -t event
Then if I reboot the virtual machine by typing:
$sudo reboot
in the virtual machine, I cannot get any log in /var/log/aodh/listener.log
But if I reboot the virtual machine in horizon by clicking soft reboot (or hard reboot), I can get log.
Is there any way to get "log://" (or "http://") when reboot the virtual machine by typing "sudo reboot"
Thank you.