Check Fan Speed and Voltage

From Nekochan
Revision as of 15:02, 12 December 2006 by Ipaddict (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I know this is invading ESP-land but here is a cronjob I setup in the Peachtree office,

2,17,32,47 * * * * test 32 -le `sysctlrd -p | grep "air temp" | awk '{print $5}' | awk -F. '{print $1}'` && echo "Overtemperature condition in Peachtree Lab" | Mail -s "Overtemperature in Lab"

Something similar can be created for the O3K. This real example sends email if 32C is less than the reported temperature.