Getting hddtemp to work with glances

896 views
Skip to first unread message

Jason Kern

unread,
Aug 13, 2015, 10:00:21 AM8/13/15
to Glances Users
Am running glances as a webserver with the -w option under Ubuntu 14.04. Figured out how to get hddtemp to run as daemon /etc/default/hddtemp but glances still doesn't pick up on it even though I can nc localhost 7634 and it gives me the temps. I notice in the glances.conf file under the sensors section under aliases I have core 0_alias=CPU Core 0 this is being ignored because on the glances webpage sensor still shows as core 0. Why does the entire [sensors] section get ignored in glances.conf (no commented out lines btw)?

Nicolargo

unread,
Aug 14, 2015, 5:53:38 AM8/14/15
to Glances Users
Hi Jason,

Two questions:
- what is your Glances version ?
- is it working when you run Glances in terminal mode ?

Can you also try to run Glances in debug mode (-d) and PastBin us the /tmp/glances.log file.

Jason Kern

unread,
Aug 14, 2015, 8:39:35 AM8/14/15
to Glances Users
Glances is currently the latest 2.4.2 installed via python-pip on Ubuntu 14.04. Glances does work in the terminal however when I try to load with the -d option it just sits there forever with the Glances "an eye on your system". Tried in the terminal with the debug (-d) gave me this. 


Thats just the output the terminal gives me using the -d option glances WILL NOT load. the log files don't tell me anything other than glances server started on 0.0.0.0<port> using bottle etc.

Nicolargo

unread,
Aug 14, 2015, 9:36:40 AM8/14/15
to Glances Users
I just open an issue for the -d crach: https://github.com/nicolargo/glances/issues/650

For your HDDTemp issue, does it work in terminal mode (without the -d) ?

Jason Kern

unread,
Aug 14, 2015, 9:56:42 AM8/14/15
to Glances Users
Glances will launch in webserver mode without the -d option whenever I try to debug the program it will not load. As for hddtemp it works in terminal when I nc localhost 7634 but as for showing the temps in the glances sensors section, it does not work.

Jason Kern

unread,
Nov 15, 2015, 10:24:39 AM11/15/15
to Glances Users
When will glances work with hddtemp in webserver mode?
Reply all
Reply to author
Forward
0 new messages