[hobbit] OpenIPMI and ipmitool

Buchan Milne bgmilne at staff.telkomsa.net
Wed Oct 18 09:34:44 CEST 2006


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061018/7e91f434/attachment.sig>


More information about the Xymon mailing list