On 10 April 2013 17:43, Nikita Gubenko <nikita.gube...@gmail.com> wrote:
> Hello
> Are there any email notifications in cloudstack or any "hooks" where I can
> add notifications myself? For example on VM create/destroy/etc
>
If you are using 4.0.0 or 4.0.1 or any prior release then
notifications are based on listEvents output. This is the same thing
you see on the top left of the UI that gives you notifications for vm
create, destroy etc. For email I'm not sure if events can be put into
them. You'll need to set up an smtp host and tweak the settings in the
alert.smtp.host|user|password configuration in the global settings.

With 4.1 (about to release in a week or two) cloudstack pushes such
events in to a an event bus like Rabbit MQ. You'll need to externally
set that up and there is more control on subscribing to the class of
notifications you are interested in. There is a spec published on how
this works , not quite a deployment document but I think you can glean
the essentials out of it:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Event+Notification+with+message+oriented+middleware+Proposal

You can take the rabbitMQ stuff for a spin if you like once the RC
vote begins for a release artifact.

Reply via email to