Converters for producing hardware sensor data sample messages from notification events.
Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
Bases: exceptions.ValueError
Bases: ceilometer.agent.plugin_base.NotificationBase
A generic class for extracting samples from sensor data notifications.
A notification message can contain multiple samples from multiple sensors, all with the same basic structure: the volume for the sample is found as part of the value of a ‘Sensor Reading’ key. The unit is in the same value.
Subclasses exist solely to allow flexibility with stevedore configuration.
Read and process a notification.
The guts of a message are in dict value of a ‘payload’ key which then itself has a payload key containing a dict of multiple sensor readings.
If expected keys in the payload are missing or values are not in the expected form for transformations, KeyError and ValueError are caught and the current sensor payload is skipped.
Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
Bases: ceilometer.ipmi.notifications.ironic.SensorNotification