Hi all, I have a spare USB GSM modem and it's card. I want to setup a very simple server room temperature monitor using it. Anyone has experience to share? - Program required - Script example Currently I have something like this that will send email if temp reaches something. Invoked by cron. #!/bin/bash # lm_sensors must be installed and configured first # This will check the CPU temp and send email # Changelog: # 18 Feb 2009 - created temp=$(/sbin/service lm_sensors status | /bin/grep CPU | /bin/cut -c 15-16) /bin/echo $temp #function to send mail with subject "Hot" func_mail_hot () { /bin/echo $temp | /bin/mail -s "server is hot" notification at arinet.org } #function to send mail with subject "Cool" func_mail_cool () { /bin/date >> /var/log/temp.log /bin/echo $temp >> /var/log/temp.log } #testing the temperature of CPU ((temp>40)) && func_mail_hot || func_mail_cool Thank you -- Fajar.
I would not have it doing the alerting. I'd have something poll it and graph the temp so you can see a good graph of room temp over time. And have that same something do the alerting. But do your servers have sensors too? You really need to monitor those as well because there can be a huge difference in room temp and server temp, and there is not always a good coorelation between them. Munin is a good program for graphing and it has limited alerting that would be sufficient for this. -- ?Don't eat anything you've ever seen advertised on TV? - Michael Pollan, author of "In Defense of Food"
I am attempting to install Etherpad on a CentOS 5.7 system. The system is at current patchlevels. I am using a cookbook found at http://pauleira.com/13/installing-etherpad/ My main problem seems to be that this howto is a couple of years old and none of the software is still at the levels described. Does anyone have any experience with installing the current version of etherpad on the current version of CentOS? Thanks, Harold