apmec.mem.monitor_drivers.abstract_driver
Module¶apmec.mem.monitor_drivers.abstract_driver.
MEAMonitorAbstractDriver
¶Bases: apmec.api.extensions.PluginInterface
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: |
|
---|---|
Returns: | boolean |
Returns: | True if MEA is healthy |
monitor_get_config
(plugin, context, mea)¶Return dict of monitor configuration data.
Parameters: |
|
---|---|
Returns: | dict |
Returns: | dict of monitor configuration data |
monitor_service_driver
(plugin, context, mea, service_instance)¶monitor_url
(plugin, context, mea)¶Return the url of mea to monitor.
Parameters: |
|
---|---|
Returns: | string |
Returns: | url of mea to monitor |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.