Hello, is Sensors sorted on OMV 3.0 Banana Pi? I'm not getting it in System information.
CPU, Cores, MB - On.
What do you see when you run sensors in a shell?
If that gives sensor information I can add it to the list of devices
Hello, is Sensors sorted on OMV 3.0 Banana Pi? I'm not getting it in System information.
CPU, Cores, MB - On.
What do you see when you run sensors in a shell?
If that gives sensor information I can add it to the list of devices
Any way to add ipmi info to sensors?
# ipmitool sensor
CPU1 Temp | 36.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 81.000 | 84.000 | 86.000
CPU2 Temp | 39.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 81.000 | 84.000 | 86.000
System Temp | 34.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
Peripheral Temp | 37.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
PCH Temp | 43.000 | degrees C | ok | -11.000 | -8.000 | -5.000 | 90.000 | 95.000 | 100.000
FAN1 | 3825.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN2 | 3675.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN3 | 2775.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN4 | na | | na | na | na | na | na | na | na
FAN5 | na | | na | na | na | na | na | na | na
FAN6 | na | | na | na | na | na | na | na | na
FANA | 2775.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FANB | 2850.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
VTT | 0.992 | Volts | ok | 0.816 | 0.864 | 0.912 | 1.344 | 1.392 | 1.440
CPU1 Vcore | 0.816 | Volts | ok | 0.480 | 0.512 | 0.544 | 1.488 | 1.520 | 1.552
CPU2 Vcore | 0.896 | Volts | ok | 0.480 | 0.512 | 0.544 | 1.488 | 1.520 | 1.552
VDIMM AB | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM CD | 1.504 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM EF | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM GH | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
3.3V | 3.264 | Volts | ok | 2.640 | 2.784 | 2.928 | 3.648 | 3.792 | 3.936
+3.3VSB | 3.360 | Volts | ok | 2.640 | 2.784 | 2.928 | 3.648 | 3.792 | 3.936
5V | 4.992 | Volts | ok | 4.096 | 4.288 | 4.480 | 5.504 | 5.696 | 6.912
+5VSB | 4.992 | Volts | ok | 4.096 | 4.288 | 4.480 | 5.504 | 5.696 | 6.912
12V | 12.084 | Volts | ok | 10.176 | 10.494 | 10.812 | 13.250 | 13.568 | 13.886
VBAT | 3.216 | Volts | ok | 2.400 | 2.544 | 2.688 | 3.312 | 3.456 | 3.600
HDD Status | 0x0 | discrete | 0x0000| na | na | na | na | na | na
Chassis Intru | 0x0 | discrete | 0x0000| na | na | na | na | na | na
Alles anzeigen
Any way to add ipmi info to sensors?
# ipmitool sensor
CPU1 Temp | 36.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 81.000 | 84.000 | 86.000
CPU2 Temp | 39.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 81.000 | 84.000 | 86.000
System Temp | 34.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
Peripheral Temp | 37.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
PCH Temp | 43.000 | degrees C | ok | -11.000 | -8.000 | -5.000 | 90.000 | 95.000 | 100.000
FAN1 | 3825.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN2 | 3675.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN3 | 2775.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN4 | na | | na | na | na | na | na | na | na
FAN5 | na | | na | na | na | na | na | na | na
FAN6 | na | | na | na | na | na | na | na | na
FANA | 2775.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FANB | 2850.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
VTT | 0.992 | Volts | ok | 0.816 | 0.864 | 0.912 | 1.344 | 1.392 | 1.440
CPU1 Vcore | 0.816 | Volts | ok | 0.480 | 0.512 | 0.544 | 1.488 | 1.520 | 1.552
CPU2 Vcore | 0.896 | Volts | ok | 0.480 | 0.512 | 0.544 | 1.488 | 1.520 | 1.552
VDIMM AB | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM CD | 1.504 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM EF | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
VDIMM GH | 1.488 | Volts | ok | 1.104 | 1.152 | 1.200 | 1.648 | 1.696 | 1.744
3.3V | 3.264 | Volts | ok | 2.640 | 2.784 | 2.928 | 3.648 | 3.792 | 3.936
+3.3VSB | 3.360 | Volts | ok | 2.640 | 2.784 | 2.928 | 3.648 | 3.792 | 3.936
5V | 4.992 | Volts | ok | 4.096 | 4.288 | 4.480 | 5.504 | 5.696 | 6.912
+5VSB | 4.992 | Volts | ok | 4.096 | 4.288 | 4.480 | 5.504 | 5.696 | 6.912
12V | 12.084 | Volts | ok | 10.176 | 10.494 | 10.812 | 13.250 | 13.568 | 13.886
VBAT | 3.216 | Volts | ok | 2.400 | 2.544 | 2.688 | 3.312 | 3.456 | 3.600
HDD Status | 0x0 | discrete | 0x0000| na | na | na | na | na | na
Chassis Intru | 0x0 | discrete | 0x0000| na | na | na | na | na | na
Alles anzeigen
# ipmitool -I open sdr list
CPU1 Temp | 36 degrees C | ok
CPU2 Temp | 38 degrees C | ok
System Temp | 34 degrees C | ok
Peripheral Temp | 37 degrees C | ok
PCH Temp | 43 degrees C | ok
FAN1 | 3900 RPM | ok
FAN2 | 3675 RPM | ok
FAN3 | 2775 RPM | ok
FAN4 | no reading | ns
FAN5 | no reading | ns
FAN6 | no reading | ns
FANA | 2775 RPM | ok
FANB | 2850 RPM | ok
VTT | 0.99 Volts | ok
CPU1 Vcore | 0.82 Volts | ok
CPU2 Vcore | 0.90 Volts | ok
VDIMM AB | 1.49 Volts | ok
VDIMM CD | 1.50 Volts | ok
VDIMM EF | 1.49 Volts | ok
VDIMM GH | 1.49 Volts | ok
3.3V | 3.26 Volts | ok
+3.3VSB | 3.36 Volts | ok
5V | 4.99 Volts | ok
+5VSB | 4.99 Volts | ok
12V | 12.08 Volts | ok
VBAT | 3.22 Volts | ok
HDD Status | 0x00 | ok
Chassis Intru | 0x00 | ok
Alles anzeigen
@jhmiller I'm hoping that you might be able to aadd my sensors into the plugin assuming that they aren't already there. I'm having some trouble trying to get the plugin to work. Getting sad faces when I try to add in dashboard. /usr/bin/sensors is workig though. Below is the information. Thanks for the plugin!
[omv ~] sensors
w83627hf-isa-0a00
Adapter: ISA adapter
in0: +3.49 V (min = +0.00 V, max = +4.08 V)
in1: +3.49 V (min = +0.00 V, max = +4.08 V)
in2: +3.49 V (min = +2.82 V, max = +3.79 V)
in3: +3.02 V (min = +4.08 V, max = +4.08 V) ALARM
in4: +3.01 V (min = +4.08 V, max = +4.08 V) ALARM
in5: +3.02 V (min = +4.06 V, max = +4.06 V) ALARM
in6: +3.06 V (min = +4.08 V, max = +4.08 V) ALARM
in7: +3.30 V (min = +4.08 V, max = +4.08 V) ALARM
in8: +3.23 V (min = +3.95 V, max = +4.08 V) ALARM
fan1: 0 RPM (min = 0 RPM, div = 8)
fan2: 0 RPM (min = 664 RPM, div = 8) ALARM
fan3: 0 RPM (min = 0 RPM, div = 8)
temp1: -42.0°C (high = -1.0°C, hyst = -2.0°C) sensor = thermistor
temp2: -42.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
temp3: -42.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
cpu0_vid: +1.419 V
beep_enable: enabled
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +38.0°C (high = +81.0°C, crit = +101.0°C)
Core 1: +37.0°C (high = +81.0°C, crit = +101.0°C)
Core 2: +35.0°C (high = +81.0°C, crit = +101.0°C)
Core 8: +38.0°C (high = +81.0°C, crit = +101.0°C)
Core 9: +37.0°C (high = +81.0°C, crit = +101.0°C)
Core 10: +36.0°C (high = +81.0°C, crit = +101.0°C)
w83795adg-i2c-0-2f
Adapter: SMBus I801 adapter at 0400
in0: +0.95 V (min = +0.60 V, max = +1.49 V)
in1: +0.95 V (min = +0.60 V, max = +1.49 V)
in2: +1.53 V (min = +1.35 V, max = +1.65 V)
in3: +1.26 V (min = +1.13 V, max = +1.38 V)
in4: +1.84 V (min = +1.63 V, max = +2.00 V)
in5: +1.26 V (min = +1.13 V, max = +1.38 V)
in6: +1.55 V (min = +1.20 V, max = +1.65 V)
in7: +1.55 V (min = +1.20 V, max = +1.65 V)
in11: +1.14 V (min = +0.00 V, max = +2.05 V)
+3.3V: +3.27 V (min = +2.96 V, max = +3.63 V)
3VSB: +3.26 V (min = +2.96 V, max = +3.63 V)
Vbat: +3.23 V (min = +2.70 V, max = +3.63 V)
fan1: 4299 RPM (min = 709 RPM)
fan2: 4258 RPM (min = 709 RPM)
fan3: 4205 RPM (min = 709 RPM)
fan4: 0 RPM (min = 709 RPM) ALARM
fan5: 0 RPM (min = 709 RPM) ALARM
fan6: 0 RPM (min = 709 RPM) ALARM
fan7: 0 RPM (min = 709 RPM) ALARM
fan8: 0 RPM (min = 709 RPM) ALARM
temp1: +71.8°C (high = +85.0°C, hyst = +80.0°C)
(crit = +100.0°C, hyst = +95.0°C) sensor = thermal diode
temp5: +29.5°C (high = +85.0°C, hyst = +80.0°C)
(crit = +75.0°C, hyst = +70.0°C) sensor = thermistor
temp7: +37.2°C (high = +95.0°C, hyst = +92.0°C)
(crit = +95.0°C, hyst = +92.0°C) sensor = Intel PECI
temp8: +30.0°C (high = +95.0°C, hyst = +92.0°C)
(crit = +95.0°C, hyst = +92.0°C) sensor = Intel PECI
intrusion0: ALARM
coretemp-isa-0001
Adapter: ISA adapter
Core 0: +32.0°C (high = +81.0°C, crit = +101.0°C)
Core 1: +23.0°C (high = +81.0°C, crit = +101.0°C)
Core 2: +31.0°C (high = +81.0°C, crit = +101.0°C)
Core 8: +27.0°C (high = +81.0°C, crit = +101.0°C)
Core 9: +29.0°C (high = +81.0°C, crit = +101.0°C)
Core 10: +28.0°C (high = +81.0°C, crit = +101.0°C)
Alles anzeigen
[omv ~] ls /var/lib/rrdcached/db/localhost/sensors*
/var/lib/rrdcached/db/localhost/sensors-coretemp-isa-0000:
temperature-temp10.rrd temperature-temp11.rrd temperature-temp12.rrd temperature-temp2.rrd temperature-temp3.rrd temperature-temp4.rrd
/var/lib/rrdcached/db/localhost/sensors-coretemp-isa-0001:
temperature-temp10.rrd temperature-temp11.rrd temperature-temp12.rrd temperature-temp2.rrd temperature-temp3.rrd temperature-temp4.rrd
/var/lib/rrdcached/db/localhost/sensors-w83627hf-isa-0a00:
fanspeed-fan1.rrd fanspeed-fan3.rrd temperature-temp2.rrd voltage-in0.rrd voltage-in2.rrd voltage-in4.rrd voltage-in6.rrd voltage-in8.rrd
fanspeed-fan2.rrd temperature-temp1.rrd temperature-temp3.rrd voltage-in1.rrd voltage-in3.rrd voltage-in5.rrd voltage-in7.rrd
/var/lib/rrdcached/db/localhost/sensors-w83795adg-i2c-0-2f:
fanspeed-fan1.rrd fanspeed-fan3.rrd fanspeed-fan5.rrd fanspeed-fan7.rrd temperature-temp1.rrd temperature-temp7.rrd voltage-in0.rrd voltage-in12.rrd voltage-in14.rrd voltage-in2.rrd voltage-in4.rrd voltage-in6.rrd
fanspeed-fan2.rrd fanspeed-fan4.rrd fanspeed-fan6.rrd fanspeed-fan8.rrd temperature-temp5.rrd temperature-temp8.rrd voltage-in11.rrd voltage-in13.rrd voltage-in1.rrd voltage-in3.rrd voltage-in5.rrd voltage-in7.rrd
Alles anzeigen
I have made changes to the detection script, please follow the instructions below to get the latest version.
rm /usr/share/openmediavault/mkconf/sensors
wget -O /usr/share/openmediavault/mkconf/sensors https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-sensors/master/usr/share/openmediavault/mkconf/sensors
chmod +x /usr/share/openmediavault/mkconf/sensors
/usr/share/openmediavault/mkconf/sensors
Refresh OMV webui after and before checking graphs. Also, start by only trying CPU temps.
If that does not work try running sh -x /usr/share/openmediavault/mkconf/sensors and show me the output so I can try to figure whats wrong.
Your last script works great for me with some little modifications in order to configure on a Qnap TS-251 with Fintek F71882fg :
omv-mkconf sensors output :
root@silbernas:~# omv-mkconf sensors
# sensors-detect revision $Revision$
# Board: AMI Corporation Aptio CRB
# Kernel: 3.16.0-4-amd64 x86_64
# Processor: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (6/55/8)
Running in automatic mode, default answers to all questions
are assumed.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... Yes
Found `Fintek F71869A Super IO Sensors' Success!
(address 0x290, driver `f71882fg')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no):
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO):
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Found unknown SMBus adapter 8086:0f12 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.
Next adapter: SMBus I801 adapter at e000 (i2c-0)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus ssc (i2c-1)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus vga (i2c-2)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus panel (i2c-3)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus dpc (i2c-4)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus dpb (i2c-5)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus dpd (i2c-6)
Do you want to scan it? (yes/NO/selectively):
Next adapter: DPDDC-B (i2c-7)
Do you want to scan it? (yes/NO/selectively):
Now follows a summary of the probes I have just done.
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
Driver `f71882fg':
* ISA bus, address 0x290
Chip `Fintek F71869A Super IO Sensors' (confidence: 9)
Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):
#----cut here----
# Chip drivers
modprobe coretemp
modprobe f71882fg
/usr/bin/sensors -s
#----cut here----
You really should try these commands right now to make sure everything
is working properly. Monitoring programs won't work until the needed
modules are loaded.
Unloading i2c-dev... OK
Unloading cpuid... OK
root@silbernas:~#
Alles anzeigen
Sensors output :
root@silbernas:~# sensors
f71869a-isa-0290
Adapter: ISA adapter
+3.3V: +3.30 V
in1: +0.67 V
in2: +0.82 V
in3: +0.99 V
in4: +0.99 V
in5: +0.99 V
in6: +1.00 V
3VSB: +3.33 V
Vbat: +3.20 V
fan1: 2262 RPM
fan2: 0 RPM ALARM
fan3: 0 RPM ALARM
temp1: +39.0°C (high = +117.0°C, hyst = +113.0°C)
(crit = +100.0°C, hyst = +96.0°C) sensor = thermistor
temp2: +34.0°C (high = +117.0°C, hyst = +113.0°C)
(crit = +100.0°C, hyst = +96.0°C) sensor = thermistor
temp3: +41.0°C (high = +70.0°C, hyst = +68.0°C)
(crit = +85.0°C, hyst = +83.0°C) sensor = thermistor
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +41.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +41.0°C (high = +105.0°C, crit = +105.0°C)
root@silbernas:~#
Alles anzeigen
In /usr/share/openmediavault/mkconf/sensors i add the lines :
[...]
do_sys1() {
if [ ! -z $sys_fan ]; then
case "$sys_fan" in
"sensors-emc6d103-i2c-1-2d"*) rrd=1 ;;
"sensors-nct6792*"*) rrd=1 ;;
"sensors-nct6776"*) rrd=1 ;;
"sensors-nct6779"*) rrd=1 ;;
"sensors-w83627thf"*) rrd=1 ;;
"sensors-it8728"*) rrd=3 ;;
"sensors-fschds-"*) rrd=3 ;;
"sensors-f71869a"*) rrd=1 ;;
...
# Get MB temp
...
elif [ -e /var/lib/rrdcached/db/localhost/sensors-f71869a*/temperature-temp2.rrd ]; then
mb_temp="sensors-f71869a*"
...
# Get SYS FAN
...
elif [ -e /var/lib/rrdcached/db/localhost/sensors-f71869a*/fanspeed-fan1.rrd ]; then
sys_fan="sensors-f71869a*"
[...]
BTW, when will the plugin moved to stable ?
Thx.
Regards,
Thanks for the information, I have added it to the script if you would like to check it out.
hopefully others will find it useful as well.
BTW, when will the plugin moved to stable ?
Not sure, I have lots of ideas but no time to try them out, simple fixes and adding other peoples stuff is fine as it takes no time but more complex stuff requires a lot more time.
Thanks for the information, I have added it to the script if you would like to check it out.
It works fine with your latest script loaded from Github, thanks for updating !
Do you plan to release a new package with the new script soon on omv-extras testing repo ?
Regards,
Could you also please add entries for it8721 ("ITE IT8721F/IT8758E Super IO Sensors" / Qnap TS-239 Pro II+ series) :
[...]
do_mb1() {
if [ ! -z $mb_temp ]; then
case "$mb_temp" in
"sensors-nct6792*"*) rrd=1 ;;
"sensors-nct6776"*) rrd=1 ;;
"sensors-nct6779"*) rrd=1 ;;
"sensors-w83627thf"*) rrd=1 ;;
"sensors-it8771"*) rrd=1 ;;
"sensors-it8728"*) rrd=1 ;;
"sensors-it8721"*) rrd=1 ;;
"sensors-thinkpad-isa"*) rrd=11 ;;
"sensors-fschds-"*) rrd=3 ;;
*) rrd=2 ;;
...
do_mb1f() {
if [ ! -z $mb_temp ]; then
case "$mb_temp" in
"sensors-nct6792*"*) rrd=1 ;;
"sensors-nct6776"*) rrd=1 ;;
"sensors-nct6779"*) rrd=1 ;;
"sensors-w83627thf"*) rrd=1 ;;
"sensors-it8771"*) rrd=1 ;;
"sensors-it8728"*) rrd=1 ;;
"sensors-it8721"*) rrd=1 ;;
"sensors-thinkpad-isa"*) rrd=11 ;;
"sensors-fschds-"*) rrd=3 ;;
*) rrd=2 ;;
...
do_sys1() {
if [ ! -z $sys_fan ]; then
case "$sys_fan" in
"sensors-emc6d103-i2c-1-2d"*) rrd=1 ;;
"sensors-nct6792*"*) rrd=1 ;;
"sensors-nct6776"*) rrd=1 ;;
"sensors-nct6779"*) rrd=1 ;;
"sensors-w83627thf"*) rrd=1 ;;
"sensors-it8728"*) rrd=3 ;;
"sensors-it8721"*) rrd=1 ;;
"sensors-fschds-"*) rrd=3 ;;
"sensors-f71869a"*) rrd=1 ;;
*) rrd=2 ;;
...
# Get MB temp
if [ -e /var/lib/rrdcached/db/localhost/sensors-atk011*/temperature-temp2.rrd ]; then
mb_temp="sensors-atk0110*"
elif [ -e /var/lib/rrdcached/db/localhost/sensors-it8721*/temperature-temp1.rrd ]; then
mb_temp="sensors-it8721*"
...
# Get SYS FAN
if [ -e /var/lib/rrdcached/db/localhost/sensors-atk011*/fanspeed-fan1.rrd ]; then
sys_fan="sensors-atk0110*"
elif [ -e /var/lib/rrdcached/db/localhost/sensors-it8721*/fanspeed-fan1.rrd ]; then
sys_fan="sensors-it8721*"
...
Regards,
Changed CPU's and now can't get sensor graphs to work.
Old system: dual Xeon E5606 installed in an asus motherboard. The graphs for the core temperatures displayed correctly.
New upgrade: Same motherboard, but now I have dual Xeon X5670 installed.
I have tried to purge and reinstall the sensor package.
However when enabling the core temperatures, I keep getting an error.
What should I do next ?
Here is the details of the error when trying to activate "Show Cores"
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf sensors balls 2>&1' with exit code '1': # sensors-detect revision $Revision$
# Board: ASUSTeK Computer INC. Z8NA-D6(C)
# Kernel: 4.9.0-0.bpo.3-amd64 x86_64
# Processor: Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (6/44/2)
Running in automatic mode, default answers to all questions
are assumed.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... Success!
(driver `i5500_temp')
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... Yes
Found `Winbond W83667HG Super IO Sensors' Success!
(address 0x290, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no):
Found `IPMI BMC KCS'... Success!
(confidence 8, driver `to-be-written')
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO):
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Using driver `i2c-i801' for device 0000:00:1f.3: Intel ICH10
Module i2c-dev loaded successfully.
Next adapter: SMBus I801 adapter at 0400 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2f
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `National Semiconductor LM96080'... No
Probing for `TI / National Semiconductor ADC128D818'... No
Probing for `Analog Devices ADT7470'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83791D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83793R/G'... No
Probing for `Nuvoton W83795G/ADG'... Success!
(confidence 8, driver `w83795')
Probing for `Nuvoton NCT7802Y'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Winbond W83L786NR/NG/R/G'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Maxim MAX6639'... No
Probing for `Analog Devices ADM1029'... No
Probing for `ITE IT8712F'... No
Probing for `SMSC EMC2104'... No
Probing for `Fintek custom power control IC'... No
Probing for `Winbond W83791SD'... No
Next adapter: AST i2c bit bus (i2c-1)
Do you want to scan it? (yes/NO/selectively):
Now follows a summary of the probes I have just done.
Driver `w83627ehf':
* ISA bus, address 0x290
Chip `Winbond W83667HG Super IO Sensors' (confidence: 9)
Driver `to-be-written':
* ISA bus
Chip `IPMI BMC KCS' (confidence: 8)
Driver `i5500_temp':
* Chip `Intel 5500/5520/X58 thermal sensor' (confidence: 5)
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
Driver `w83795':
* Bus `SMBus I801 adapter at 0400'
Busdriver `i2c_i801', I2C address 0x2f
Chip `Nuvoton W83795G/ADG' (confidence: 8)
Note: there is no driver for IPMI BMC KCS yet.
Check http://www.lm-sensors.org/wiki/Devices for updates.
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Copy prog/init/lm_sensors.service to /lib/systemd/system
and run 'systemctl enable lm_sensors.service'
for initialization at boot time.
Unloading i2c-dev... OK
Unloading cpuid... OK
' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/openmediavault/engined/module/sensors.inc(33): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleSensors->applyConfig()
#2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusfS...', '/tmp/bgoutputNv...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
Hi,
I am on a new Terramaster F2-220 and new openmediavault user
I installed sensor plugin and after an error activating Temp CPU I tried to update to the latest version from github following your instruction.
I have always the same error and I' m not able to "apply" changes.
This is the error:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf sensors balls 2>&1' with exit code '2': # sensors-detect revision $Revision$ # Board: AMI Corporation Aptio CRB # Kernel: 4.9.0-0.bpo.3-amd64 x86_64 # Processor: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (6/55/8) Running in automatic mode, default answers to all questions are assumed. Some south bridges, CPUs or memory controllers contain embedded sensors. Do you want to scan for them? This is totally safe. (YES/no): Module cpuid loaded successfully. Silicon Integrated Systems SIS5595... No VIA VT82C686 Integrated Sensors... No VIA VT8231 Integrated Sensors... No AMD K8 thermal sensors... No AMD Family 10h thermal sensors... No AMD Family 11h thermal sensors... No AMD Family 12h and 14h thermal sensors... No AMD Family 15h thermal sensors... No AMD Family 16h thermal sensors... No AMD Family 15h power sensors... No AMD Family 16h power sensors... No Intel digital thermal sensor... Success! (driver `coretemp') Intel AMB FB-DIMM thermal sensor... No Intel 5500/5520/X58 thermal sensor... No VIA C7 thermal sensor... No VIA Nano thermal sensor... No Some Super I/O chips contain embedded sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f Trying family `National Semiconductor/ITE'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Nuvoton/Fintek'... No Trying family `ITE'... Yes Found `ITE IT8772E Super IO Sensors' Success! (address 0xa30, driver `it87') Probing for Super-I/O at 0x4e/0x4f Trying family `National Semiconductor/ITE'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Nuvoton/Fintek'... No Trying family `ITE'... No Some systems (mainly servers) implement IPMI, a set of common interfaces through which system health data may be retrieved, amongst other things. We first try to get the information from SMBIOS. If we don't find it there, we have to read from arbitrary I/O ports to probe for such interfaces. This is normally safe. Do you want to scan for IPMI interfaces? (YES/no): Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No Some hardware monitoring chips are accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): Lastly, we can probe the I2C/SMBus adapters for connected hardware monitoring devices. This is the most risky part, and while it works reasonably well on most systems, it has been reported to cause trouble on some systems. Do you want to probe the I2C/SMBus adapters now? (YES/no): Found unknown SMBus adapter 8086:0f12 at 0000:00:1f.3. Sorry, no supported PCI bus adapters found. Module i2c-dev loaded successfully. Next adapter: SMBus I801 adapter at f000 (i2c-0) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus ssc (i2c-1) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus vga (i2c-2) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus panel (i2c-3) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpc (i2c-4) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpb (i2c-5) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpd (i2c-6) Do you want to scan it? (yes/NO/selectively): Now follows a summary of the probes I have just done. Driver `it87': * ISA bus, address 0xa30 Chip `ITE IT8772E Super IO Sensors' (confidence: 9) Driver `coretemp': * Chip `Intel digital thermal sensor' (confidence: 9) Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local): #----cut here---- # Chip drivers modprobe coretemp modprobe it87 /usr/bin/sensors -s #----cut here---- You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded. Unloading i2c-dev... OK Unloading cpuid... OK
I need a hint, please.
Thank you
Hi,
I am on Openmediavault 3.0.86 and kernel 4.9.0 stock
When I click on "Apply" I have the error window. After I'm into a loop and only "restore" permit me to go out.
I attach output of your command after having the error message.
Thank you very much
I attach output of your command after having the error message.
That does not look correct. It should end like
+ service collectd restart
+ /usr/sbin/omv-mkgraph
+ rm -f /var/cache/openmediavault/cache.omv\controlpanel\login_js.json
+ exit 0
I would first try uninstalling then reinstalling, do not update to latest script, enable CPU temp only and if fails then re-run the command i gave you above.
What sensors are shown when you run sensors from the shell?
Ok. Sorry.
I uninstalled sensor plugin, I installed sensor plugin 3.0, I activated CPU temperature, I click "save", I click "Apply" and I have error again.
Now I run the command and I attach the output.
And this is the output when I run sensors :
Yeah
# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +26.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +26.0°C (high = +105.0°C, crit = +105.0°C)
it8772-isa-0a30
Adapter: ISA adapter
in0: +0.76 V (min = +2.62 V, max = +2.95 V) ALARM
in1: +1.37 V (min = +1.66 V, max = +1.12 V) ALARM
in2: +2.00 V (min = +2.89 V, max = +0.37 V) ALARM
+3.3V: +3.34 V (min = +4.20 V, max = +4.92 V) ALARM
in4: +2.02 V (min = +1.45 V, max = +3.02 V)
in5: +2.02 V (min = +2.62 V, max = +1.12 V) ALARM
in6: +2.22 V (min = +0.38 V, max = +1.62 V) ALARM
3VSB: +3.31 V (min = +5.71 V, max = +3.31 V) ALARM
Vbat: +3.24 V
fan1: 0 RPM (min = 10 RPM) ALARM
fan2: 0 RPM (min = 11 RPM) ALARM
fan3: 0 RPM (min = 94 RPM) ALARM
temp1: +19.0°C (low = -50.0°C, high = +57.0°C) sensor = thermal diode
temp2: +18.0°C (low = -67.0°C, high = -51.0°C) ALARM sensor = thermal diode
temp3: -128.0°C (low = -87.0°C, high = +0.0°C) ALARM sensor = disabled
intrusion0: ALARM
Alles anzeigen
And now, after omv-mkconf sensors, I tried to activate CPU Temperature in WEBGui and no errors when I click on apply! Wonderful!
But in the monitor cpu page I see sad faces...
To make those commands run on boot (they need to be)
edit /etc/rc.local nano /etc/rc.local and put the line in near the bottom but before the exit command.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
modprobe it87
/usr/bin/sensors -s
exit 0
Alles anzeigen
I have added the it877 sensor to the script but you must manually update it by doing
rm /usr/share/openmediavault/mkconf/sensors
wget -O /usr/share/openmediavault/mkconf/sensors https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-sensors/master/usr/share/openmediavault/mkconf/sensors
chmod +x /usr/share/openmediavault/mkconf/sensors
/usr/share/openmediavault/mkconf/sensors
Should be good after this.
Thank you for your assistance!
I made all thinks you write me. And I restart the system
Now module it877 is loaded at bootup.
I clear cache of my browser but in OMV Sensors panel I see only sad faces.
I traied to deactivate CPU temperature and reactivate too, but with the same result.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!