Ipmitool

From Leo's Notes
Revision as of 02:01, 8 January 2019 by Leo (talk | contribs)
This page was last edited on 8 January 2019, at 02:01.

ipmitool is a utility to fetch information from devices that support the Intelligent Platform Management Interface. This includes servers such as the HP Proliant DL380 G6 which I have at home.

The project can be found at:

Installation

Clone the repository from https://github.com/ipmitool/ipmitool, then run autoconf, ./configure, make.

A docker image containing this binary can be found at:

Usage

Poll the data from iLO by running ipmitool. An example output is given below.

/tmp # ./ipmitool -I lanplus -H X.X.X.X -U Administrator -P XXXXXXXXXX sensor
Unable to Get Channel Cipher Suites
UID Light

The data can be parsed then pushed into a logging server.

Troubleshooting

$ autoconf
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:38: error: possibly undefined macro: AM_PROG_LIBTOOL

Fix this by running:

$ autoreconf -i