Setting up lm sensors
This document is a short note on how to set up lm_sensors in Alpine.
Install the neccessary packages. You will need perl to run the sensors-detect script.
Load the i2c-dev module:
Note: If you already know the name of the sensor module, you can modprobe it now, and skip the sensors-detect and perl install.
Run sensors detect:
There are multiple types of sensors that you must skip scanning for (answer "no" to the prompt) because grsec will not allow you to access /proc/port. If you encounter an error that says something like "/dev/port: no such file..", re-run the script and answer "no" to that question on the next attempt. Examples of ones that you must enter "no" for: ISA bus, other Super I/O sensors, and IPMI.
Be sure to enter "yes" (non-default) for the question "Do you want to generate /etc/conf.d/lm_sensors?"
You will not need perl anymore. Remove it before you forget.
Make services start during next reboot.
Start services:Don't forget to save your new server configuration using .