[oclug] Temperature sensors and pager stuff

Scott Moynes smoynes at nexus.carleton.ca
Wed Oct 9 22:27:20 EDT 2002


* Robert Echlin (rechlin at ncf.ca) wrote:
> Hi,
> 1)
> I would like to have a temperature sensor in the computer room that can 
> report to my computer, so I can:
> 
> a) email myself if it's over 32 C
> b) record a temp every 15 minutes (or other short time interval)
> c) send a note to my pager if it's over 34 C
> 
> Any idea how I can connect a temperature sensor to a computer,
> and get Linux drivers for same?

I believe the Dalas Semiconductor 1-Wire temperature sensors are the
typical solution for something like that. There's several available
libraries. You might check out http://www.brianlane.com/digitemp.php,
or google about. With a little scripting glue, it shouldn't be tough.
 
> 3)
> Also on That Other OS, I have software to check on whether specific 
> services are running on various machines, and dial out through the Shiva 
> box to my pager number and leave a number on there.
> Any idea where I can get similar on Linux?

Assuming you can get this Shiva to work (Your best bet is the
Modem-HOWTO), there's several solutions for this. In a previous life,
I used a collection of scripts called "mon" to monitor services and
execute actions based on their status.
-- 
Scott Moynes http://www.icculus.org/openbox/
"Computer science is as much about computers
as astronomy is about telescopes." -- Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20021009/ee4c9787/attachment.bin


More information about the OCLUG mailing list