The ceilometer.alarm.notifier
ModuleΒΆ
-
class
ceilometer.alarm.notifier.
AlarmNotifier
[source] Bases:
object
Base class for alarm notifier plugins.
-
notify
(action, alarm_id, alarm_name, severity, previous, current, reason, reason_data)[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.
-