1st May 2004 Ian Wells
This page assumes that you are running lm_sensors on an SME Server. It complements lm_sensors for SME
Normally you would use Shad L. Lords' System Monitor
for graphs of the data.
However before this was available I wrote a Server Manager Panel and a cgi script to see the data. This page gives details of these in case anyone finds them useful.
This is a simple panel, although it appears to work.
# chown root lmsensor # chgrp admin lmsensor # chmod 4750 lmsensor
# cp lmsensor /etc/e-smith/web/functions/ # ln -s /etc/e-smith/web/functions/lmsensor /etc/e-smith/web/panels/manager/cgi-bin/lmsensor
You should see the output from all sensors, which may not be what you want.
To restrict the output to a specific sensor edit /etc/e-smith/web/functions/lmsensor, line 66, and add the sensor name.
An alternative to the panel is temperature, a
small CGI script which displays the current temperature.
Line 44 reads the sensor information, and should be modified to suit.
This is not supposed to be a polished script, just a start on which to build.
Copyright © 2004
Ian Wells : The original can be found from http://www.wellsi.com/sme
: Please send additions & corrections to me.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Text and no Back-Cover Text. A copy of the GNU Free Documentation License is available from the Free Software Foundation at http://www.fsf.org/copyleft/fdl.html.