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

class ceilometer.alarm.service.PartitionedAlarmService[source]

Bases: ceilometer.alarm.service.AlarmService, ceilometer.openstack.common.service.Service

allocate(context, data)[source]
assign(context, data)[source]
presence(context, data)[source]
start()[source]
stop()[source]
class ceilometer.alarm.service.SingletonAlarmService[source]

Bases: ceilometer.alarm.service.AlarmService, ceilometer.openstack.common.service.Service

start()[source]

Previous topic

The ceilometer.alarm Module

Next topic

The ceilometer.alarm.rpc Module

This Page