Ipmitool - Perl interface to the ipmitool.
use Ipmitool; use Data::Dumper; $i = Ipmitool->new(-ipaddress => "10.8.151.179", -username => "root", -password => "changeme"); $i->print(); %FRU = $i->fru(); print Dumper($i); $i->bmc("info");
Ipmitool module lets you manage Intelligent Platform Management Interface (IPMI) functions of either the local system, via a kernel device driver, or a remote system, using IPMI V1.5 and IPMI v2.0. These functions include printing FRU information, LAN configuration, sensor readings, and remote chassis power control.
This function will create object of ipmitool class, takes ipaddress, username, password as a input paramter
This function will access perticular machine's fru information and returns the FRU HASH.
This function prints the bmc information of the machine.
http://ipmitool.sourceforge.net/manpage.html
Manjunath Kumatagi, <manjunath.kumatagi@gmail.com<gt>
Copyright (C) 2010 by Manjunath Kumatagi
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Ipmitool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ipmitool
CPAN shell
perl -MCPAN -e shell install Ipmitool
For more information on module installation, please visit the detailed CPAN module installation guide.