Configurate ipmitool

Page content

The Intelligent Platform Management Interface (IPMI) is a set of computer interface specifications for an autonomous computer subsystem that provides management and monitoring capabilities independently of the host CPU, firmware (BIOS or UEFI) and operating system.

Ipmitool on pfsense

[2.3.3-RELEASE][]/root: ipmitool
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

# solution
kldload ipmi
nano /boot/loader.conf
#Load ipmi.ko into the kernel

Ipmitool on Linux

modprobe ipmi_msghandler
modprobe ipmi_devintf
modprobe ipmi_si

nano /etc/modules
# OR
nano /etc/modprobe.d/*.conf

Ipmitool Configuration

ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr
ipmitool lan set 1 netmask
ipmitool lan set 1 defgw ipaddr
ipmitool lan set 1 arp respond on
ipmitool lan set 1 access on

ipmitool lan print 1

Monitor ipmi with telegraf

nano /etc/telegraf/telegraf.conf
        path = "/usr/bin/ipmitool"
        servers = ["username:password@lan("]
        interval = "30s"
        timeout = "20s"