BrightcoveOS/Diamond — pull request #47 by bmhatfield (2012-04-13 03:25:21+00:00)
Title: SensorsCollector, which collects data from libsensors via PySensors

This is very simple collector that gathers system sensors data from libsensors (lm-sensors) via PySensors.

It depends on PySensors and lm-sensors being installed.

PySensors can be found here: http://pypi.python.org/pypi/PySensors/
lm-sensors is generally installed as an OS package.

A drawback of this collector is that PySensors currently requires Python 2.6+ (which excludes RHEL by default), but a different libsensors binding could be used in the future, as this collector only has 5 lines of code depending on PySensors.