The aodh.evaluator.event Module

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.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.