Skip to content

collectors LMSensorsCollector

Rob Smith edited this page Oct 29, 2012 · 9 revisions

LMSensorsCollector

This class collects data from libsensors. It should work against libsensors 2.x and 3.x, pending support within the PySensors Ctypes binding: http://pypi.python.org/pypi/PySensors/

Requires: 'sensors' to be installed, configured, and the relevant kernel modules to be loaded. Requires: PySensors requires Python 2.6+

If you're having issues, check your version of 'sensors'. This collector written against: sensors version 3.1.2 with libsensors version 3.1.2

Dependencies

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
fahrenheit True True/False str
measure_collector_time False Collect the collector run time in ms bool

Example Output

__EXAMPLESHERE__
Clone this wiki locally