OpenIPMI and ipmitool
-----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-----
-----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-----
Richard Leyton wrote:
-----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-----
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The Shire is still there...I just sent out a call for scripts last week in the hopes I would get them up but as the year winds to an end our sales folks are trying to make their numbers and that tends to make my life hell...
Right now I'm just going to get the scripts I got, give them a perusal and figure out the best way to make them available on The Shire. Now if only the days had a few more hours...
=G=
On Tuesday 17 October 2006 23:12, Richard Leyton wrote:
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>.
For our X4100/X4200s, we are using IPMI for management functions (reboot, reset etc.), but the ILOM supports SNMP as well, so I was going to rather do templates for devmon. IPMI seems quite a bit slower than SNMP ...
SNMP may not be enabled by default (while IPMI is), you have to enable it either in the web interface or the command-line interface.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
participants (4)
-
bgmilne@staff.telkomsa.net
-
gjohnson@trantor.org
-
richard@leyton.org
-
rmunsch@solutionsforprogress.com