Closed rmenessec closed 8 years ago
@rmenessec The error is on the sensor plugin. As a workaround. Can you try to run Glances 2.6 with the --disable-sensors options?
@asergi Perhaps a issue following the implementation of compat.py script ? Can you have a look, we can schedule an hotfix (version 2.6.1) if the bug is confirmed.
Also getting this on upgrade from 2.5.1 to 2.6. Web view works, --disable-sensors works in console, as does running on a VM (no sensors). I tried hiding specific sensors in glances.conf but that does not seem to be functional - they still show up in web view. My output from sensors
:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +50.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +50.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +46.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +49.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +46.0°C (high = +80.0°C, crit = +100.0°C)
nct6776-isa-0290
Adapter: ISA adapter
Vcore: +0.87 V (min = +0.00 V, max = +1.74 V)
in1: +1.84 V (min = +0.00 V, max = +0.00 V) ALARM
AVCC: +3.30 V (min = +2.98 V, max = +3.63 V)
+3.3V: +3.30 V (min = +2.98 V, max = +3.63 V)
in4: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM
in5: +1.70 V (min = +0.00 V, max = +0.00 V) ALARM
in6: +0.82 V (min = +0.00 V, max = +0.00 V) ALARM
3VSB: +3.44 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.28 V (min = +2.70 V, max = +3.63 V)
fan1: 2928 RPM (min = 0 RPM)
fan2: 1016 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +41.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
CPUTIN: +43.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN: +35.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
PECI Agent 0: +51.0°C (high = +80.0°C, hyst = +75.0°C)
(crit = +100.0°C)
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
PCH_MCH_TEMP: +0.0°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled
radeon-pci-0100 Adapter: PCI adapter temp1: +50.0°C (crit = +120.0°C, hyst = +90.0°C)
Python is 2.7.6. Ubuntu 14.04, kernel 4.2.
On Ubuntu 16.04 on a Lenovo T440p, glances works in console with sensors enabled, with python 2.7.11.
@nicolargo , that worked. I'm using glances in console-only mode.
@rmenessec i just add a workaround in the DEVELOP branch, can you test it ?
@nicolargo , seems to work.
I'm finding that glances.conf is mostly undocumented. Should I open a separate bug for documentation?
@rmenessec Most of the specific configuration file documentation is in the Anatomy of the application chapter: http://glances.readthedocs.org/en/latest/aoa/index.html
Feel free to open an issue and propose improvement for it.
Failing on one machine, but not the second one I upgraded. Both machines are running Ubuntu 15.10. The machine where it fails has AuFS and bind mounts. Both machines have the same /etc/glances/glances.conf:
Removing glances.conf or the alias has no effect. Works again after downgrading back to 2.5.1.