Skip to contentSkip to conversation

Logging and plotting

lm-sensors Phillip Susi 4 participants 7 messages Mar 18, 2011 – Mar 19, 2011

lore
Share & tools
lore
#1 lore raw

Hi,

Have a look at munin. My temperature logs:-
http://mail.planet-ian.com/munin/planet-ian.com/alpha2.planet-ian.com/sensors_temp.html

Regards
Ian Dobson
--------------------------------------------------
From: "Phillip Susi" <[email protected]>
Sent: Friday, March 18, 2011 8:11 PM
To: <[email protected]>
Subject: [lm-sensors] Logging and plotting

Quoted 7 lines

Is there a way to log the sensors from a server over say, a 24 hour period, and plot the results?

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw
In reply to Phillip Susi
Quoted 10 lines · Ian Dobson

From: "Phillip Susi" <[email protected]>
Sent: Friday, March 18, 2011 8:11 PM
To: <[email protected]>
Subject: [lm-sensors] Logging and plotting

Quoted 2 lines

Is there a way to log the sensors from a server over say, a 24 hour period, and plot the results?

Have a look at munin. My temperature logs:-
http://mail.planet-ian.com/munin/planet-ian.com/alpha2.planet-ian.com/sensors_temp.html

Alternatively, sensord is included in lm-sensors, it's not exactly user-friendly to setup, but it does a decent job for logging (over 7 days) and plotting (daily and weekly graphs). See an example graph at:
http://www.lm-sensors.org/wiki/ProjectInformation

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#5 lore raw
In reply to Phillip Susi
Quoted 4 lines · Jean Delvare

Alternatively, sensord is included in lm-sensors, it's not exactly user-friendly to setup, but it does a decent job for logging (over 7 days) and plotting (daily and weekly graphs). See an example graph at:
http://www.lm-sensors.org/wiki/ProjectInformation

Ahh, that looks more like what I was looking for, but this munin thing looks pretty cool too, now that I have it going.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#6 lore raw
In reply to Phillip Susi
Quoted 8 lines · Phillip Susi

Is there a way to log the sensors from a server over say, a 24 hour period, and plot the results?

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

I use a Perl-based CGI called Systemgraph:
http://www.decagon.de/sw/systemgraph/

Systemgraph collects the data in RRDtool databases on the host machine being measured. As long as the host is "up" and "crond" is running, Systemgraph will quietly collect data. Impact to system resources, even on an Intel Atom 230 CPU or VIA C7-D 1.5GHz CPU is minimal in my experience.

In my case I use Fedora Core. The FC RPMs also worked for me under RHEL6 (Scientific Linux 6.0). I have used Apache and BOA as the web server for Systemgraph. OpenSuse, Gentoo and Slackware are also supported. Source code is available.

Setup should take about 15 minutes or less. Install the appropriate files. Edit the Systemgraph config file. Possibly make minor edits to one or more of the Systemgraph Perl scripts (usually rrd_health.pl which handles sensors that LM_Sensors would talk to). Wait for the data to display.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors