I'm sure that the script you found on deadcat was unique to a certain system build.  The first thing I would check is `which /usr/bin/sensors` to see if you had that utility.<br><br><div><span class="gmail_quote">On 10/10/07, 
<b class="gmail_sendername">Maik Heinelt</b> <<a href="mailto:maik@vegasystems.com">maik@vegasystems.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hello,<br>I`d like to view the temperature of my machines in Hobbit.<br>I only found a temperature script on <a href="http://www.deadcat.net">www.deadcat.net</a>, but there wans`t a
<br>manual how to use it.<br>I also found the following script, but it doesn`t work on my linux machines.<br><br>#!/bin/sh<br><br># THRESHOLD VALUES FOR TEMPERATURE<br>YTMP=72<br>RTMP=80<br>#<br>SENSORS="/usr/bin/sensors -f"
<br>STMP=${BBTMP}/SENSE.$$<br>COLOR=green<br>MSG=default<br>#<br>${SENSORS} > ${STMP}<br># PARSE TEMPERATURE INFORMATION.<br><br>TMP=`${GREP} -i temp ${STMP}|cut -d"(" -f1|cut -d"?" -f1|cut -d"+"
<br>- -f2|cut -d"." -f1`<br><br>    if [ ${TMP} -lt ${YTMP} ];<br>    then<br>        COLOR=green<br><br>MSG="The Temperature is currently ${TMP}F, which does not exceed the<br>Warning level (${YTMP}F)"
<br><br>    fi<br>    if [ ${TMP} -gt ${YTMP} ] && [ ${TMP} -lt ${RTMP} ];<br>    then<br>        COLOR=yellow<br><br>MSG="The Temperature is currently ${TMP}F, which is exceeds the Warning<br>level (${YTMP}F)"
<br><br>    fi<br>    if [ ${TMP} -gt ${RTMP} ];<br>    then<br>        COLOR=red<br><br>MSG="The Temperature is currently ${TMP}F, which exceeds the Panic level<br>(${RTMP}F!)"<br><br>    fi<br>rm ${STMP}<br><br>
$BB $BBDISP "status $MACHINE.temp $COLOR `date`<br>$MSG<br>temp : $TMP<br>"<br><br>LM_sensors is installed and working well.<br><br>Can somebody give me an advise, please?<br><br>Maik<br>-----BEGIN PGP SIGNATURE-----
<br>Version: GnuPG v1.4.6 (MingW32)<br>Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br><br>iD8DBQFHDFr5r4r+EhimPOURAp6DAKDVMyyX1Nbf47G6+PkVI+lJV54JowCcDVdP<br>XtuvQadl6KSlyMkqNeZ/91s=
<br>=1FAV<br>-----END PGP SIGNATURE-----<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br><br clear="all">
<br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>--- Henry Spencer