This is a follow-up of Collectd IPMI plugin not loading thread. I'm trying to do the same thing: enable the collectd IPMI plugin.
1. Install ipmitool
# apt install ipmitool
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
freeipmi-common libfreeipmi17
Suggested packages:
freeipmi-tools
Recommended packages:
openipmi
The following NEW packages will be installed:
freeipmi-common ipmitool libfreeipmi17
0 upgraded, 3 newly installed, 0 to remove and 88 not upgraded.
Need to get 3,393 kB of archives.
...
Display More
# ipmitool mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 1.01
IPMI Version : 2.0
Manufacturer ID : 10876
Manufacturer Name : Super Micro Computer Inc.
...
Aux Firmware Rev Info :
0x06
0x01
0x00
0x00
Display More
2. Install openipmi
# apt install openipmi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libopenipmi0 libsnmp-base libsnmp40
Suggested packages:
snmp-mibs-downloader
The following NEW packages will be installed:
libopenipmi0 libsnmp-base libsnmp40 openipmi
0 upgraded, 4 newly installed, 0 to remove and 88 not upgraded.
Need to get 5,109 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bookworm/main amd64 libopenipmi0 amd64 2.0.33-1+b1 [551 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libsnmp-base all 5.9.3+dfsg-2 [1,753 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libsnmp40 amd64 5.9.3+dfsg-2 [2,556 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 openipmi amd64 2.0.33-1+b1 [248 kB]
Fetched 5,109 kB in 1s (6,731 kB/s)
...
Display More
# systemctl start openipmi
# systemctl status openipmi
● openipmi.service - LSB: OpenIPMI Driver init script
Loaded: loaded (/etc/init.d/openipmi; generated)
Active: active (exited) since Tue 2025-08-12 13:33:58 EDT; 8min ago
Docs: man:systemd-sysv-generator(8)
Process: 489816 ExecStart=/etc/init.d/openipmi start (code=exited, status=0/SUCCESS)
CPU: 76ms
Aug 12 13:33:58 openmediavault systemd[1]: Starting openipmi.service - LSB: OpenIPMI Driver init script...
Aug 12 13:33:58 openmediavault openipmi[489816]: Starting ipmi drivers ipmi.
Aug 12 13:33:58 openmediavault systemd[1]: Started openipmi.service - LSB: OpenIPMI Driver init script.
# ls -l /dev/ipmi0
3. Check which sensors are available:
# ipmitool sensor list
CPU Temp | 31.000 | degrees C | ok | 5.000 | 5.000 | na | na | 100.000 | 100.000
System Temp | 29.000 | degrees C | ok | 5.000 | 5.000 | na | na | 85.000 | 90.000
Peripheral Temp | 33.000 | degrees C | ok | 5.000 | 5.000 | na | na | 85.000 | 90.000
M2NVMeSSD Temp1 | na | | na | na | na | na | na | na | na
M2NVMeSSD Temp2 | na | | na | na | na | na | na | na | na
VRMCpu Temp | 37.000 | degrees C | ok | 5.000 | 5.000 | na | na | 100.000 | 105.000
VRMSoc Temp | 42.000 | degrees C | ok | 5.000 | 5.000 | na | na | 100.000 | 105.000
VRMABCD Temp | 41.000 | degrees C | ok | 5.000 | 5.000 | na | na | 100.000 | 105.000
VRMEFGH Temp | 44.000 | degrees C | ok | 5.000 | 5.000 | na | na | 100.000 | 105.000
P1_DIMMA~D Temp | 36.000 | degrees C | ok | 5.000 | 5.000 | na | na | 85.000 | 90.000
P1_DIMME~H Temp | 38.000 | degrees C | ok | 5.000 | 5.000 | na | na | 85.000 | 90.000
FAN1 | 1260.000 | RPM | ok | 280.000 | 420.000 | na | na | 35560.000 | 35700.000
FAN2 | na | | na | na | na | na | na | na | na
FAN3 | na | | na | na | na | na | na | na | na
...
VDDCR | 0.751 | Volts | ok | 0.400 | 0.499 | na | na | 1.732 | 1.804
VMEMABCD | 1.225 | Volts | ok | 0.979 | 1.003 | na | na | 1.465 | 1.489
VMEMEFGH | 1.228 | Volts | ok | 0.976 | 0.997 | na | na | 1.466 | 1.487
VDD_5_DUAL | 5.129 | Volts | ok | 4.019 | 4.139 | na | na | 6.029 | 6.149
VDD_33_DUAL | 3.293 | Volts | ok | 2.613 | 2.681 | na | na | 3.922 | 3.990
SOCRUN | 0.813 | Volts | ok | 0.297 | 0.489 | na | na | 1.143 | 1.341
SOCDUAL | 0.900 | Volts | ok | 0.711 | 0.725 | na | na | 1.068 | 1.082
Chassis Intru | 0x0 | discrete | 0x0000| na | na | na | na | na | na
Display More
4. Use a simple IPI configuration:
# cat /etc/collectd/collectd.conf.d/ipmi.conf
LoadPlugin ipmi
<Plugin "ipmi">
Sensor "FAN1"
Sensor "VRMCpu Temp"
IgnoreSelected false
NotifySensorAdd false
NotifySensorRemove true
NotifySensorNotPresent false
SELEnabled false
SELClearEvent false
</Plugin>
Display More
5. Restart collectd.service
# systemctl restart collectd.service
# systemctl status collectd.service -n 100
● collectd.service - Statistics collection and monitoring daemon
Loaded: loaded (/lib/systemd/system/collectd.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/collectd.service.d
└─openmediavault.conf
Active: active (running) since Tue 2025-08-12 13:20:56 EDT; 17s ago
Docs: man:collectd(1)
man:collectd.conf(5)
https://collectd.org
Process: 487704 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
Main PID: 487706 (collectd)
Tasks: 13 (limit: 154331)
Memory: 8.2M
CPU: 66ms
CGroup: /system.slice/collectd.service
└─487706 /usr/sbin/collectd
Aug 12 13:20:56 openmediavault systemd[1]: Starting collectd.service - Statistics collection and monitoring daemon...
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "cpu" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "df" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "interface" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "ipmi" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: ipmi plugin: Legacy configuration found! Please update your config file.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "load" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "memory" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "rrdcached" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "syslog" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "unixsock" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: plugin_load: plugin "uptime" successfully loaded.
Aug 12 13:20:56 openmediavault collectd[487706]: Systemd detected, trying to signal readiness.
Aug 12 13:20:56 openmediavault systemd[1]: Started collectd.service - Statistics collection and monitoring daemon.
Aug 12 13:20:56 openmediavault collectd[487706]: Initialization complete, entering read-loop.
Display More
I honestly don't understand why the ipmi plugin: Legacy configuration found! Please update your config file. message.
6. Check that collectd is doing its thing:
# collectdctl -s /run/collectd.socket listval
localhost/cpu-0/cpu-idle
localhost/cpu-0/cpu-interrupt
...
localhost/rrdcached/queue_length
localhost/uptime/uptime
There's no IPMI stuff. I'm a bit of a loss of what else I should be doing.
The Collectd IPMI plugin not loading thread shows that when installing openipmi, it also installed libmariadb3 libsnmp-base libsnmp30 mariadb-common mysql-common as dependencies. My system didn't do that. I manually installed libmariadb3 libsnmp-base mariadb-common mysql-common just in case, but that didn't make any difference. That thread also mentions it works with "long sensor names", so I tried this configuration:
LoadPlugin ipmi
<Plugin "ipmi">
Sensor "FAN1 (0x41)"
Sensor "VRMCpu Temp (0x10)"
# IgnoreSelected false
NotifySensorAdd false
NotifySensorRemove true
NotifySensorNotPresent false
SELEnabled false
SELClearEvent false
</Plugin>
Display More
But that didn't work either. Thanks!!