The ceilometer.alarm.service ModuleΒΆ
-
class
ceilometer.alarm.service.AlarmEvaluationService[source] Bases:
ceilometer.alarm.service.AlarmService,ceilometer.openstack.common.service.Service-
start()[source]
-
-
class
ceilometer.alarm.service.AlarmNotifierService[source] Bases:
ceilometer.openstack.common.service.Service-
notify_alarm(context, data)[source] Notify that alarm has been triggered.
Parameters: - context – Request context.
- data –
(dict):
- actions, the URL of the action to run; this is mapped to extensions automatically
- alarm_id, the ID of the alarm that has been triggered
- alarm_name, the name of the alarm that has been triggered
- severity, the level of the alarm that has been triggered
- previous, the previous state of the alarm
- current, the new state the alarm has transitioned to
- reason, the reason the alarm changed its state
- reason_data, a dict representation of the reason
-
start()[source]
-
stop()[source]
-
-
class
ceilometer.alarm.service.AlarmService[source] Bases:
object