The ceilometer.hardware.pollsters.generic Module

class ceilometer.hardware.pollsters.generic.GenericHardwareDeclarativePollster[source]

Bases: ceilometer.agent.plugin_base.PollsterBase

classmethod build_pollsters()[source]
generate_samples(host_url, data)[source]

Generate a list of Sample from the data returned by inspector

Parameters:
  • host_url – host url of the endpoint
  • data – list of data returned by the corresponding inspector
get_samples(manager, cache, resources=None)[source]

Return an iterable of Sample instances from polling the resources.

Parameters:
  • manager – The service manager invoking the plugin
  • cache – A dictionary for passing data between plugins
  • resources – end point to poll data from
class ceilometer.hardware.pollsters.generic.MeterDefinition(definition_cfg)[source]

Bases: object

exception ceilometer.hardware.pollsters.generic.MeterDefinitionException(message, definition_cfg)[source]

Bases: exceptions.Exception

Previous topic

The ceilometer.hardware.inspector.snmp Module

Next topic

The ceilometer.hardware.pollsters.util Module

Project Source

This Page