OMV7 Collectd IPMI plugin help

  • 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


    # ipmitool mc info

    2. Install openipmi

    # apt install openipmi


    # systemctl start openipmi

    # systemctl status openipmi

    Code
    ● 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


    Code
    crw------- 1 root root 244, 0 Aug 10 20:56 /dev/ipmi0


    3. Check which sensors are available:

    # ipmitool sensor list


    4. Use a simple IPI configuration:

    # cat /etc/collectd/collectd.conf.d/ipmi.conf


    5. Restart collectd.service


    # systemctl restart collectd.service

    # systemctl status collectd.service -n 100


    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


    Code
    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:



    But that didn't work either. Thanks!!

  • The full output for is collectdctl -s /run/collectd.socket listval:

  • chente

    Approved the thread.
  • I'm dumb, all I had to do was to carefully read the Wiki:


    > It might be reasonable to start with no specific configuration for sensors and look up the exact names after suitable sensor data has been logged since the strings needed aren't exactly ipmitool sdr names.


    So, this config works fine:

    Code
    LoadPlugin ipmi
    <Plugin "ipmi">
    NotifySensorAdd false
    NotifySensorRemove true
    NotifySensorNotPresent false
    SELEnabled false
    SELClearEvent false
    </Plugin>


    collectdctl -s /run/collectd.socket listval | grep -i ipmi

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!