Hemdal.Event.Notification (Hemdal v1.0.3)

View Source

Consume events from Hemdal.Event to generate the notifications via Hemdal.Notifier. It's based on the configuration from the Hemdal.Config.Notifier module and based on the configuration for the log_level and the level of the event, it could be reported or not.

The log levels could be:

  • debug it's reporting everything to the notifier.
  • warn notifies if the previous status is different from the new one.
  • error notifies only if the change is from/to error status.

Summary

Functions

process_event(map, state)