Monitoring Dell IDRAC6 in Home Assistant?

Has anyone been able to monitor there dell r710 with Home Assistant? Just setting up my R710 server and would like to monitor temps and any critical notifications from the IDRAC6 interface.

I use Nagios to monitor my 710, as well as a ton of other devices.
The nice thing about it being outside of Home Assistant, I can use it to tell me if Home Assistant goes down, or if any of my devices stop responding to pings, or if my MQTT broker isn’t running.

Be nice to have control over system power too, to remotely power on my beefy server via HA

I setup Netdata on my server. Now I can monitor all sensors and notifications. Also if you use IMPI you can see the power, current, fans RPM, etc.

I have see that you can send curl commands to the idrac to set fan speeds and also power down or cycle the server remotely.

Here’s a link on how to adjust the fans: https://www.spxlabs.com/blog/2019/3/16/silence-your-dell-poweredge-server

Just playing around and adding more each day.

1 Like

Hi, there … do you happen to have your netdata and HA config (SNMP, IMPI etc) for this? Looking to replicate!

Sure.

Do you have Netdata installed and working? If you have made it that far you view the api of netdata at http://xxx.xxx.xx.x:19999/api/v1/allmetrics?format=json. Just substitute your ip of the server for the x’s.

Once there you can view all sensors.

Here is a snip of my setup for HA. Your sensor names may not be the same:

sensor:

  - platform: netdata

    host: '192.168.1.60'

    port: '19999'

    name: DellServer

    resources:

      system:

        data_group: system.cpu

        element: system

      system.ram:

        data_group: system.ram

        element: used

      system.swap:

        data_group: system.swap

        element: used

      net_drops.eno1:

        data_group: net_drops.eno1

        element: inbound

      disk_space._mnt_data_used:

        data_group: disk_space._mnt_data

        element: used

      ambient.temp:

        data_group: ipmi.temperatures_c

        element: i14_n5_r2

      fan.rpm1:

        data_group: ipmi.rpm

        element: i48_n36_r2

      fan.rpm2:

        data_group: ipmi.rpm

        element: i49_n37_r2

      fan.rpm3:

        data_group: ipmi.rpm

        element: i50_n38_r2

      fan.rpm4:

        data_group: ipmi.rpm

        element: i51_n39_r2

      fan.rpm5:

        data_group: ipmi.rpm

        element: i52_n40_r2

      amps.supply.1:

        data_group: ipmi.amps

        element: i148_n49_r2

      amps.supply.2:

        data_group: ipmi.amps

        element: i149_n50_r2

      volts.supply.1:

        data_group: ipmi.volts

        element: i150_n51_r2

      volts.supply.2:

        data_group: ipmi.volts

        element: i151_n52_r2

      watts:

        data_group: ipmi.watts

        element: i152_n61_r2

      apconline:

        data_group: apcupsd_local.online

        element: online

      apc_charge:

        data_group: apcupsd_local.charge

        element: battery_charge

      apcupsd_load:

        data_group: apcupsd_local.load

        element: load

      apcupsd_battery_voltage:

        data_group: apcupsd_local.battery_voltage

        element: battery_voltage

      core0_temperature_1:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp2

      core0_temperature_2:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp3

      core0_temperature_3:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp4

      core0_temperature_4:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp10

      core0_temperature_5:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp11

      core0_temperature_6:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp12

      core1_temperature_1:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp2

      core1_temperature_2:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp3

      core1_temperature_3:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp4

      core1_temperature_4:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp10

      core1_temperature_5:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp11

      core1_temperature_6:

        data_group: sensors.coretemp-isa-0000_temperature

        element: coretemp-isa-0000_temp12

      hassio_cpu_used:

        data_group: cgroup_qemu.slice_101.scope.cpu

        element: system

Let me know if you need anything more.

Yes, I have HA working…probably more curious around the SNMP OID’s etc you have used on the iDrac side and/or IPMI that you had to configure.

Cheers

F

Enable SNMP on the Idrac and set a SNMP Community Name:

image

What OS you run on 710? Is that proxmox then netdata runs on host or VM?
Thanks

Yes Proxmox as the OS. I installed Netdata in the root of the OS. Just ssh into proxmox and run:
bash <(curl -Ss https://my-netdata.io/kickstart.sh)

You can find more information here: Installation guide · Netdata Agent | Learn Netdata

2 Likes

Appreciate your reply. I was/am little hesitant to install that on base/host and was trying via docker but was not getting all I need. Also still couldn’t figure out how to enable all sensor like CPU temperature etc.

By the way I have r720 and run bare metal Proxmox with OpenMediaVault, Ubuntu server all under different VMs.
Thanks

1 Like

Once you have Netdata running add the platform. Netdata - Home Assistant

That way you can pull any sensor that Netdata sees.

1 Like

Thanks, I have installed netdata on Proxmox and see data in UI and playing with it find out what I need in HA. I will see how it goes!

1 Like

Solution?

If you are purely interested in monitoring the Dell iDRAC without additional software needed to be run on your server (i.e. Netdata) I have created the following code which will work for you, using SNMP sensors.

My only caveat is it is designed for iDRAC7, so some of the “baseoid”'s may need to be changed, but these can easily be discovered using the tool I mention in my post.

1 Like

Hello everyone, I followed the instructions and installed Netdata on my R710 (Proxmox 7.1). I also activated IMPI and SNMP. Unfortunately, Netdata does not show me any information for the fans. What am I doing wrong? How do I set Netdata to use IMPI?

I then also tried to install netdata on my R210II with Pfsense 2.6.0, Netdata also shows me a lot here, but no information about the fans.

Can anybody help me further? Thank you in advance.

Hey, you still having the same issue or if you fixed it could you explain how you did it and what went wrong?

I didnt set this up using netdat, did you give @Richard.Huish code a try already?

As always I hope you have a great day!

How did you get the IDRAC IPMI data into netdata? What did you need to install?