The ceilometer.alarm.evaluator ModuleΒΆ

class ceilometer.alarm.evaluator.Evaluator(notifier)[source]

Bases: object

Base class for alarm rule evaluator plugins.

evaluate(alarm)[source]

Interface definition.

evaluate an alarm alarm Alarm: an instance of the Alarm

classmethod within_time_constraint(alarm)[source]

Check whether the alarm is within at least one of its time limits.

If there are none, then the answer is yes.