Warning: Undefined array key "action" in /home/bakers/html/entryreply.php on line 5

Warning: Undefined variable $output in /home/bakers/html/entryreply.php on line 50

Warning: Undefined array key "EntrySubject" in /home/bakers/html/entryreply.php on line 51

Warning: Undefined variable $logintext in /home/bakers/html/entryreply.php on line 97

Warning: Undefined variable $reply_name in /home/bakers/html/entryreply.php on line 103

Warning: Undefined variable $reply_email in /home/bakers/html/entryreply.php on line 104
Perturb.org - interesting technology related things from around the internet

Monitor a Linux box using IPMI

To monitor the hardware of a server (fans/power/chassis) you'll need to install and setup IPMI.

yum install ipmitool
service start ipmi

You should have a /dev/ipmi0 now that acts as the interface to the IPMI board. You can list all the sensors you're able to monitor:

ipmitool sdr

To setup an IP address use the following commands:

ipmitool lan print 1
ipmitool lan set 1 ipaddr 10.3.1.190
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 10.3.1.1

Then setup the user to allow a login

ipmitool user set name 3 ipmi
ipmitool user set password 3 password
ipmitool user enable 3
ipmitool user priv 3 4
ipmitool user list

You may have to reset the IPMI board for IP address changes to take effect.

ipmitool mc reset cold


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.239.50.33
To prevent spam please submit by clicking the kitten: