Re: Server Temperature Monitor?

2009-02-02 Thread Matthew Walker
On Mon, February 2, 2009 11:50 am, Kimball Larsen wrote: > I would like to get emails if the temperature in my server room (or > the temp on certain sensors of my servers) ever goes up past a certain > threshold. What tools exist and what configurations should I consider > to do this? > > Thanks!

Re: Server Temperature Monitor?

2009-02-02 Thread Marc Christensen
Kimball Larsen wrote: > I would like to get emails if the temperature in my server room (or the > temp on certain sensors of my servers) ever goes up past a certain > threshold. What tools exist and what configurations should I consider > to do this? You can look at the lm_sensors package. It ca

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 11:50 AM, Kimball Larsen wrote: > I would like to get emails if the temperature in my server room (or the temp > on certain sensors of my servers) ever goes up past a certain threshold. > What tools exist and what configurations should I consider to do this? It's funny, I'

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
I've attempted to set up lm-sensors, but can't seem to get it to correctly report valid temperature readings. :( - Kimball http://www.kimballlarsen.com On Feb 2, 2009, at 11:58 AM, Marc Christensen wrote: Kimball Larsen wrote: I would like to get emails if the temperature in my server room

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 12:25 PM, Kimball Larsen wrote: > I've attempted to set up lm-sensors, but can't seem to get it to correctly > report valid temperature readings. :( If you take a look at: http://www.lm-sensors.org/wiki/Devices ...you'll notice the AMD K8 device row talks about how there

Re: Server Temperature Monitor?

2009-02-02 Thread Shane Hathaway
Kimball Larsen wrote: I've attempted to set up lm-sensors, but can't seem to get it to correctly report valid temperature readings. :( IMHO, lm_sensors is not easy to set up. It never seems to work without tweaking. How far have you gotten? Also, some server motherboards provide little inf

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 12:37 PM, Shane Hathaway wrote: > Also, some server motherboards provide little info via lm_sensors, but > provide extensive info via IPMI. If lm_sensors isn't providing info, we > should try IPMI next. I'm game. Looking at my distro, I see freeipmi and OpenIPMI. Two diffe

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
Ok, I've learned a bit more: I'm running Ubuntu (latest) with a 2.6.24 stock kernel This is using the AMD K8 device for core temp readings My server's motherboard is: TYAN Tiger K8SSA S3850 One chip that sensors-detect is not able to help with is: Analog Devices ADT7476 "Note: there is no drive

Re: Server Temperature Monitor?

2009-02-02 Thread Levi Pearson
Joseph Hall writes: > On Mon, Feb 2, 2009 at 12:37 PM, Shane Hathaway wrote: >> Also, some server motherboards provide little info via lm_sensors, but >> provide extensive info via IPMI. If lm_sensors isn't providing info, we >> should try IPMI next. > > I'm game. Looking at my distro, I see fr

Re: Server Temperature Monitor?

2009-02-02 Thread Shane Hathaway
Joseph Hall wrote: On Mon, Feb 2, 2009 at 12:37 PM, Shane Hathaway wrote: Also, some server motherboards provide little info via lm_sensors, but provide extensive info via IPMI. If lm_sensors isn't providing info, we should try IPMI next. I'm game. Looking at my distro, I see freeipmi and Op

Re: Server Temperature Monitor?

2009-02-02 Thread Matthew Walker
On Mon, February 2, 2009 1:28 pm, Joseph Hall wrote: > On Mon, Feb 2, 2009 at 1:13 PM, Shane Hathaway wrote: >> The main thing you need is ipmitool, which is an IPMI client. Try this: >> >> ipmitool sensor list >> >> I noticed about 3 years ago that one of the key differences that make a >> mot

Re: Server Temperature Monitor?

2009-02-02 Thread Shane Hathaway
Joseph Hall wrote: Well, either I don't have a server-class motherboard in this box, or it's not configured correctly. # ipmitool sensor list Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory Get Device ID command failed Unable to open SDR for readin

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
I guess I don't have ipmi hardware installed: modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.24-21-generic/kernel/ drivers/char/ipmi/ipmi_si.ko): No such device - Kimball http://www.kimballlarsen.com On Feb 2, 2009, at 1:45 PM, Shane Hathaway wrote: Joseph Hall wrote: We

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
It appears that my temp readings may not be all that unbelievable - my server room's ambient temperature is currently hovering just about 55 degrees - and here is what sensors -f has to say about my cores: /usr/sbin# sensors -f k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +84.2°F Core1 T

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 1:51 PM, Kimball Larsen wrote: > I guess I don't have ipmi hardware installed: > > modprobe ipmi_si > FATAL: Error inserting ipmi_si > (/lib/modules/2.6.24-21-generic/kernel/drivers/char/ipmi/ipmi_si.ko): No > such device Ditto. I guess it's time to look into that link fro

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 1:59 PM, Kimball Larsen wrote: > So, given that I'm not much of a shell scripter guy, anyone have any tips > for how to get the system to mail me if the temp ever gets above, say, 160 > F? Here's an ugly one-liner for a cron job: TEMP=$(sensors -f | grep -m 1 F); TEMP=$(ec

Re: Server Temperature Monitor?

2009-02-02 Thread Shane Hathaway
Kimball Larsen wrote: I guess I don't have ipmi hardware installed: modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.24-21-generic/kernel/drivers/char/ipmi/ipmi_si.ko): No such device Nope, sorry. Maybe IPMI isn't as common as I hoped. Shane /* PLUG: http://plug.org, #ut

Re: Server Temperature Monitor?

2009-02-02 Thread Doran L. Barton
On Monday 02 February 2009 13:59:52 Kimball Larsen wrote: > It appears that my temp readings may not be all that unbelievable - my > server room's ambient temperature is currently hovering just about 55 > degrees - and here is what sensors -f has to say about my cores: > > /usr/sbin# sensors -f > k

Re: Server Temperature Monitor?

2009-02-02 Thread Jason Hall
On Mon, Feb 2, 2009 at 2:17 PM, Joseph Hall wrote: > Here's an ugly one-liner for a cron job: > > TEMP=$(sensors -f | grep -m 1 F); TEMP=$(echo $TEMP | sed > 's/[^[:digit:]]//g'); if [ "$TEMP" -ge 160 ]; then echo 'TOO HOT' | > mail root -s 'TOO HOT'; fi > > Of course, you could beautify it and pu

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
Thanks for the ugly one-liner. :) In attempting to understand what it does, I have pulled it apart to run it a piece at a time. I find the following: /etc# TEMP=$(sensors -f | grep -m 1 F); echo $TEMP Core0 Temp: +82.4°F /etc# TEMP=$(sensors -f | grep -m 1 F); TEMP=$(echo $TEMP | sed 's/ [^

Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
I would like to get emails if the temperature in my server room (or the temp on certain sensors of my servers) ever goes up past a certain threshold. What tools exist and what configurations should I consider to do this? Thanks! - Kimball http://www.kimballlarsen.com /* PLUG: http://pl

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 3:45 PM, Kimball Larsen wrote: > Thanks for the ugly one-liner. :) > > In attempting to understand what it does, I have pulled it apart to run it a > piece at a time. I find the following: > > /etc# TEMP=$(sensors -f | grep -m 1 F); echo $TEMP > Core0 Temp: +82.4°F > /etc#

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 4:05 PM, Joseph Hall wrote: > # Check to see if the resulting digit is =< 160 That would be >= or => or however your language of choice says it. -- Joseph http://blog.josephhall.com/ /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman

Re: Server Temperature Monitor?

2009-02-02 Thread Joseph Hall
On Mon, Feb 2, 2009 at 1:13 PM, Shane Hathaway wrote: > The main thing you need is ipmitool, which is an IPMI client. Try this: > > ipmitool sensor list > > I noticed about 3 years ago that one of the key differences that make a > motherboard server-class rather than desktop-class is the presenc

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
I'm a bad man. I modified the script that was suggested, commented it heavily and slapped it into a cron job. Works fantastically well - and I have it sending mail to an account that is checked all the time (every minute) so it will hollar at me pretty quickly if the temp ever gets too ho

ctags, cscope, etc.

2009-02-02 Thread Andrew McNabb
I recall attendind a PLUG presentation several years ago which discussed ctags, cscope, and other tools. Since it was so long ago, I can't really remember anything that they discussed. Does anyone have any recommendations about using source code tools with Vim? I'm particularly interested in tho

Re: Server Temperature Monitor?

2009-02-02 Thread Dennis Muhlestein
Kimball Larsen wrote: I'm a bad man. I modified the script that was suggested, commented it heavily and slapped it into a cron job. Works fantastically well - and I have it sending mail to an account that is checked all the time (every minute) so it will hollar at me pretty quickly if the t

Re: ctags, cscope, etc.

2009-02-02 Thread Barry Roberts
On 02/02/2009 05:03 PM, Andrew McNabb wrote: I recall attendind a PLUG presentation several years ago which discussed ctags, cscope, and other tools. Since it was so long ago, I can't really remember anything that they discussed. Does anyone have any recommendations about using source code tool

Re: ctags, cscope, etc.

2009-02-02 Thread Levi Pearson
Andrew McNabb writes: > I recall attendind a PLUG presentation several years ago which discussed > ctags, cscope, and other tools. Since it was so long ago, I can't > really remember anything that they discussed. Does anyone have any > recommendations about using source code tools with Vim? I'

Re: Server Temperature Monitor?

2009-02-02 Thread Charles Curley
On Mon, Feb 02, 2009 at 05:07:09PM -0700, Dennis Muhlestein wrote: > Kimball Larsen wrote: >> I'm a bad man. > Ah, but what is too hot? Will your MB survive nicely at 159F > indefinitely but melt at 160F? You don't expect him to read the motherboard and processor manuals and/or data sheets, do

Re: ctags, cscope, etc.

2009-02-02 Thread Charles Curley
On Mon, Feb 02, 2009 at 05:03:24PM -0700, Andrew McNabb wrote: > I recall attendind a PLUG presentation several years ago which discussed > It looks like ctags has good support for a variety of languages, but > cscope has more features overall, and I'm sure I'm not aware of > everything out there.

Re: Server Temperature Monitor?

2009-02-02 Thread Frank Sorenson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kimball Larsen wrote: > I would like to get emails if the temperature in my server room (or the > temp on certain sensors of my servers) ever goes up past a certain > threshold. What tools exist and what configurations should I consider > to do this?

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
On Feb 2, 2009, at 5:07 PM, Dennis Muhlestein wrote: Kimball Larsen wrote: I'm a bad man. I modified the script that was suggested, commented it heavily and slapped it into a cron job. Works fantastically well - and I have it sending mail to an account that is checked all the time (every

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
On Feb 2, 2009, at 5:25 PM, Charles Curley wrote: On Mon, Feb 02, 2009 at 05:07:09PM -0700, Dennis Muhlestein wrote: Kimball Larsen wrote: I'm a bad man. Ah, but what is too hot? Will your MB survive nicely at 159F indefinitely but melt at 160F? You don't expect him to read the motherb

Re: Server Temperature Monitor?

2009-02-02 Thread Dave Smith
Kimball Larsen wrote: Possibly not - but if the temp ever gets to 150 in the first place, the new A/C unit I installed is no longer working properly, and I'll be alerted to the fact I gotta get some cold air in that server room asap. That's the only reason I needed this. :) I am working on

Re: Server Temperature Monitor?

2009-02-02 Thread Levi Pearson
Dave Smith writes: > I am working on a project at work that does exactly > this. Unfortunately, it's not exactly available to the public. :) We > allow users to customize alarms and thresholds and can take > preventative action like shutting down equipment that is over-heating > or alerting the s

Re: Server Temperature Monitor?

2009-02-02 Thread Dave Smith
Levi Pearson wrote: I used to work on a gadget that also did temperature monitoring for racks of computer equipment, among other things. I can't tell from what you wrote if you guys built the separate temperature monitor devices or bought them off the shelf. I'm surprised that separate monitori

Re: Server Temperature Monitor?

2009-02-02 Thread Kimball Larsen
On Feb 2, 2009, at 9:07 PM, Dave Smith wrote: Kimball Larsen wrote: Possibly not - but if the temp ever gets to 150 in the first place, the new A/C unit I installed is no longer working properly, and I'll be alerted to the fact I gotta get some cold air in that server room asap. That's

Re: Server Temperature Monitor?

2009-02-02 Thread Mike Lovell
Frank Sorenson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kimball Larsen wrote: I would like to get emails if the temperature in my server room (or the temp on certain sensors of my servers) ever goes up past a certain threshold. What tools exist and what configurations should I c