Skip to content
Dimitrios Amaxilatis edited this page Feb 14, 2012 · 1 revision

Source File

sensors.sh

Resulting Capability

:cpu:temperature

Additional applications

lm-sensors - displays temperature from system sensors

Extra configuration

Based on the available sensors on your system you will need to edit the associative array in sensors.sh and replace the reported name of the sensor as the key of the Hash map and the name you want to use for it as the value.

ie for the cpu temperature reported as temp1 you should use

names["temp1"]="cpu"

Crontab rule Example

run every hour

0 * * * * /var/autoReports/sensors.sh