The aodh.notifier.rest Module

The aodh.notifier.rest Module

Rest alarm notifier.

class aodh.notifier.rest.RestAlarmNotifier(conf)[source]

Bases: aodh.notifier.AlarmNotifier

Rest alarm notifier.

notify(action, alarm_id, alarm_name, severity, previous, current, reason, reason_data, headers=None)[source]

Notify that an alarm has been triggered.

Parameters:
  • action – The action that is being attended, as a parsed URL.
  • alarm_id – The triggered alarm.
  • alarm_name – The name of triggered alarm.
  • severity – The level of triggered alarm
  • previous – The previous state of the alarm.
  • current – The current state of the alarm.
  • reason – The reason the alarm changed its state.
  • reason_data – A dict representation of the reason.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.