The apmec.mem.monitor_drivers.ceilometer.ceilometer Module

The apmec.mem.monitor_drivers.ceilometer.ceilometer Module

class apmec.mem.monitor_drivers.ceilometer.ceilometer.MEAMonitorCeilometer

Bases: apmec.mem.monitor_drivers.abstract_driver.MEAMonitorAbstractDriver

call_alarm_url(mea, kwargs)

must be used after call heat-create in plugin

get_description()

Return description of MEA Monitor plugin.

get_name()

Return a symbolic name for the MEA Monitor plugin.

get_type()

Return one of predefined type of the hosting mea drivers.

monitor_call(mea, kwargs)

Monitor.

Return boolean value True if MEA is healthy or return an event string like ‘failure’ or ‘calls-capacity-reached’ for specific MEA health condition.

Parameters:
  • mea
  • kwargs
Returns:

boolean

Returns:

True if MEA is healthy

monitor_url(plugin, context, mea)

Return the url of mea to monitor.

Parameters:
  • plugin
  • context
  • mea
Returns:

string

Returns:

url of mea to monitor

process_alarm(mea, kwargs)

Check alarm state. if available, will be processed

apmec.mem.monitor_drivers.ceilometer.ceilometer.config_opts()
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.