Hi, Starting with libsensors 3.1, you can call sensors_init with NULL as parameter and libsensors will use its own configuration path (so that the application does not need to know it). Furthermore, this will also take into account files in /etc/sensors.d/*, which is the preferred method to do any configuration.
The attached patch uses NULL for sensors_init. The downside of this is that the mechanism to reload the configuration file cannot be used any longer. I am not sure what other pieces of the code need to be touched to ensure that libsensors 3.1 is present. Best regards, Michael
libsensors.patch
Description: Binary data
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
