[hobbit] OpenIPMI and ipmitool

Richard Leyton richard at leyton.org
Tue Oct 17 23:12:34 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've some *very* basic scripts which wrap ipmitool to extract  
temperatures and so forth (from Sun boxen). I'm in the process of  
tweaking them, and a few other useful (to me) scripts, for public  
release in case they're of use to others.

But there's no rocket science involved really. It's essentially  
running this (in my case):

<bash snippet>
/opt/ipmitool/bin/ipmitool -A password -H $ip -g -I lan -U adminuser - 
P $pass sensor | grep TEMP | awk '{print $1,$4,$9}' > $BBTMP/temp.$host
cpu_temp=`grep CPU $BBTMP/temp.$host | awk '{print $2}'|sed 's/\..*//g'`
</bash snippet>

And then spitting the data down at Hobbit for graphy goodness.  
However, the format from the above command probably depends on the  
underlying implementation of IPMI. Whilst I'm a long way from being  
an  IPMI expert, I'd be very surprised if the above stuff, which  
works fine for x2100's, worked for <insert beige box of choice>.

fwiw, the main other scripts I'm hoping to make available are a very  
basic hook to process inbound e-mail, and store it up in Hobbit/alert  
if nothing. Like many others I'm sure, one of the chief reasons for  
using a monitoring system is 'to cut back on e-mails telling me  
everything is OK' and the likes, but I never quite really got around  
to seeing the numbers decline. So a bit of .procmail and perl  
hackery, and all my cvs/svn commits, batch processes and so forth,  
pile in in a nice 'backwardly compatible' way :-). The other script  
is a file watcher of sorts, that I use for checking off-host nightly  
tar balls have run through, where the file watching capabilities of  
Hobbit couldn't do what I wanted (yet ;-); and a mysql replication  
monitor.

btw, anybody know what happened to 'The Shire'?

Regards,

Richard

On 17 Oct 2006, at 20:55, Rob Munsch wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The good news:  i got OpenIPMI working on dell systems running Debian.
> The less good: now what ???
>
> Are there any existing scripts in use for calling ipmitool, or some
> other poller, and integrating the results into hobbit?  I'd like to
> start with something simple like temp graphs and RAID health would be
> nice.  I searched the archives and deadcat for IPMI but got no hits...
>
> If not, i guess i'm going to have to figure out how to call and parse
> this myself - a messy proposition. :D
>
> - --
> Rob Munsch
> Solutions For Progress IT
> www.solutionsforprogress.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFNTUoBvBcJFK6xYURAuqnAJ94uNRtNKp8s7w+JM5ABf1kuwc/JwCfUYUk
> YjPC9IWN/S3L4kbGxbBqnYo=
> =TZ+X
> -----END PGP SIGNATURE-----
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>

- --
Richard Leyton - richard at leyton.org
http://www.leyton.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFNUdG/xc2haTGSMMRAgEuAKC44vErzUXNopni1hQkaRa30Nx+lQCeKeB0
bL0DRETXFKqsSJh/XbARR3w=
=HEf+
-----END PGP SIGNATURE-----



More information about the Xymon mailing list