Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

OMV-script for easy setup of sensors (Temperature and Fanspeed)

Notifications You must be signed in to change notification settings

fergbrain/omvsensors

 
 

Repository files navigation

omvsensors

OMV-script for easy setup of sensors (CPU Temperature, Fanspeed, and HDD Temperature)

#Requirements:

Based on Solo0815's instructions:

And Jay-Jay instructions:

Note: Please run your current install-remove script to delete any existing version of omvsensors before using this version, otherwise you risk leaving random files in places that could cause conflict. You may also need to delete Temperature.js, which can be done with:
rm /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/Temperature.js

Note: Do the following as root or sudo the commands:

  1. Install lm-sensors in OpenMediaVault: apt-get install lm-sensors

  2. Install hddtemp in OMV: apt-get install hddtemp

  3. Detect your sensors in lm-sensors:

sensors-detect

...answer "yes" at the question: if the sensors should be added automatically

  1. Check that your CPU temp sensors are working:
sensors

...you should get something like:

~$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +58.5°C  (high = +70.0°C, crit = +100.0°C)
  1. Download it: wget https://github.com/fergbrain/omvsensors/archive/master.zip
  2. Unpack it: unzip master.zip
  3. Install it:
cd omvsensors-master
./install-remove.sh

The script will lead you through the installation (and if removal) process.

Edit '/etc/omv-sensor.conf' to fit your needs, then run:

/usr/share/openmediavault/scripts/collectd.d/sensors

...to create the rrd-scripts for OMV.

After that, please run:

/etc/init.d/collectd restart

...to collect the values for your coretemp/hddtemp/fanspeed.

You can run:

omv-mkgraph

...to create the graphs.

Don't forget to run:

/usr/share/openmediavault/scripts/collectd.d/sensors
omv-mkgraph

...each time after changing the configuration file to make your changes happen in OMV

About

OMV-script for easy setup of sensors (Temperature and Fanspeed)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%