The aodh.evaluator.event Module

class aodh.evaluator.event.Alarm(alarm)[source]

Bases: object

Wrapped alarm object to hold converted values for this evaluator.

event_type_to_watch(event_type)[source]
fired_and_no_repeat()[source]
class aodh.evaluator.event.Event(event)[source]

Bases: object

Wrapped event object to hold converted values for this evaluator.

get_value(field)[source]
class aodh.evaluator.event.EventAlarmEvaluator(conf)[source]

Bases: aodh.evaluator.Evaluator

evaluate(alarm)[source]
evaluate_events(events)[source]

Evaluate the events by referring related alarms.

exception aodh.evaluator.event.InvalidEvent[source]

Bases: exceptions.Exception

Error raised when the received event is missing mandatory fields.

Previous topic

The aodh.evaluator.composite Module

Next topic

The aodh.evaluator.gnocchi Module

Project Source

This Page