[Plugin] IPMI for unRAID 6.1+


Recommended Posts

On 4/19/2019 at 10:56 PM, dmacias said:
On 4/17/2019 at 4:22 AM, icehrt said:
HI,
Wondering if there is a way to allow using the -W discretereading for the call to ipmisensors.
I'm using a hp DL380 G6 that supports ipmi but with the default ipmisensors command I get back 
ID | Name            | Type         | Reading    | Units | Event1  | UID Light       | OEM Reserved | N/A        | N/A   | 'OEM Event = 0000h'2  | Sys. Health LED | OEM Reserved | N/A        | N/A   | 'OEM Event = 0000h'3  | Power Supply 1  | Power Supply | N/A        | N/A   | 'Presence detected'4  | Power Supply 2  | Power Supply | N/A        | N/A   | 'Presence detected'5  | Power Supplies  | Power Supply | N/A        | N/A   | 'Fully Redundant'7  | Fan 1           | Fan          | N/A        | N/A   | 'transition to Running'8  | Fan 2           | Fan          | N/A        | N/A   | 'transition to Running'9  | Fan 3           | Fan          | N/A        | N/A   | 'transition to Running'10 | Fan 4           | Fan          | N/A        | N/A   | 'transition to Running'11 | Fan 5           | Fan          | N/A        | N/A   | 'transition to Running'12 | Fan 6           | Fan          | N/A        | N/A   | 'transition to Running'13 | Fans            | Fan          | N/A        | N/A   | 'Fully Redundant'15 | Temp 1          | Temperature  | 20.00      | C     | 'OK'16 | Temp 2          | Temperature  | 40.00      | C     | 'OK'17 | Temp 3          | Temperature  | 40.00      | C     | 'OK'18 | Temp 4          | Temperature  | 33.00      | C     | 'OK'19 | Temp 5          | Temperature  | 33.00      | C     | 'OK'20 | Temp 6          | Temperature  | 31.00      | C     | 'OK'21 | Temp 7          | Temperature  | 30.00      | C     | 'OK'22 | Temp 8          | Temperature  | 35.00      | C     | 'OK'23 | Temp 9          | Temperature  | 31.00      | C     | 'OK'24 | Temp 10         | Temperature  | 37.00      | C     | 'OK'25 | Temp 11         | Temperature  | 32.00      | C     | 'OK'26 | Temp 12         | Temperature  | 36.00      | C     | 'OK'27 | Temp 13         | Temperature  | 30.00      | C     | 'OK'28 | Temp 14         | Temperature  | 31.00      | C     | 'OK'29 | Temp 15         | Temperature  | 30.00      | C     | 'OK'30 | Temp 16         | Temperature  | 29.00      | C     | 'OK'31 | Temp 17         | Temperature  | 30.00      | C     | 'OK'32 | Temp 18         | Temperature  | 30.00      | C     | 'OK'33 | Temp 19         | Temperature  | 31.00      | C     | 'OK'34 | Temp 20         | Temperature  | 29.00      | C     | 'OK'35 | Temp 21         | Temperature  | 34.00      | C     | 'OK'36 | Temp 22         | Temperature  | 32.00      | C     | 'OK'37 | Temp 23         | Temperature  | 34.00      | C     | 'OK'38 | Temp 24         | Temperature  | 31.00      | C     | 'OK'39 | Temp 25         | Temperature  | 29.00      | C     | 'OK'40 | Temp 26         | Temperature  | 29.00      | C     | 'OK'41 | Temp 27         | Temperature  | 30.00      | C     | 'OK'42 | Temp 28         | Temperature  | 31.00      | C     | 'OK'43 | Temp 29         | Temperature  | 51.00      | C     | 'OK'44 | Temp 30         | Temperature  | 50.00      | C     | 'OK'45 | Memory          | Memory       | N/A        | N/A   | 'Presence detected'46 | Power Meter     | Current      | N/A        | N/A   | 'Device Enabled'
 

Wheres if I use ipmisensors -W discretereading I get the following 

ID | Name            | Type         | Reading    | Units | Event1  | UID Light       | OEM Reserved | N/A        | N/A   | 'OEM Event = 0000h'2  | Sys. Health LED | OEM Reserved | N/A        | N/A   | 'OEM Event = 0000h'3  | Power Supply 1  | Power Supply | 220.00     | W     | 'Presence detected'4  | Power Supply 2  | Power Supply | 35.00      | W     | 'Presence detected'5  | Power Supplies  | Power Supply | N/A        | N/A   | 'Fully Redundant'7  | Fan 1           | Fan          | 78.40      | %     | 'transition to Running'8  | Fan 2           | Fan          | 78.40      | %     | 'transition to Running'9  | Fan 3           | Fan          | 78.40      | %     | 'transition to Running'10 | Fan 4           | Fan          | 78.40      | %     | 'transition to Running'11 | Fan 5           | Fan          | 78.40      | %     | 'transition to Running'12 | Fan 6           | Fan          | 78.40      | %     | 'transition to Running'13 | Fans            | Fan          | N/A        | N/A   | 'Fully Redundant'15 | Temp 1          | Temperature  | 20.00      | C     | 'OK'16 | Temp 2          | Temperature  | 40.00      | C     | 'OK'17 | Temp 3          | Temperature  | 40.00      | C     | 'OK'18 | Temp 4          | Temperature  | 33.00      | C     | 'OK'19 | Temp 5          | Temperature  | 33.00      | C     | 'OK'20 | Temp 6          | Temperature  | 31.00      | C     | 'OK'21 | Temp 7          | Temperature  | 30.00      | C     | 'OK'22 | Temp 8          | Temperature  | 35.00      | C     | 'OK'23 | Temp 9          | Temperature  | 31.00      | C     | 'OK'24 | Temp 10         | Temperature  | 37.00      | C     | 'OK'25 | Temp 11         | Temperature  | 32.00      | C     | 'OK'26 | Temp 12         | Temperature  | 36.00      | C     | 'OK'27 | Temp 13         | Temperature  | 30.00      | C     | 'OK'28 | Temp 14         | Temperature  | 30.00      | C     | 'OK'29 | Temp 15         | Temperature  | 30.00      | C     | 'OK'30 | Temp 16         | Temperature  | 29.00      | C     | 'OK'31 | Temp 17         | Temperature  | 30.00      | C     | 'OK'32 | Temp 18         | Temperature  | 30.00      | C     | 'OK'33 | Temp 19         | Temperature  | 31.00      | C     | 'OK'34 | Temp 20         | Temperature  | 29.00      | C     | 'OK'35 | Temp 21         | Temperature  | 34.00      | C     | 'OK'36 | Temp 22         | Temperature  | 32.00      | C     | 'OK'37 | Temp 23         | Temperature  | 34.00      | C     | 'OK'38 | Temp 24         | Temperature  | 31.00      | C     | 'OK'39 | Temp 25         | Temperature  | 29.00      | C     | 'OK'40 | Temp 26         | Temperature  | 29.00      | C     | 'OK'41 | Temp 27         | Temperature  | 31.00      | C     | 'OK'42 | Temp 28         | Temperature  | 31.00      | C     | 'OK'43 | Temp 29         | Temperature  | 51.00      | C     | 'OK'44 | Temp 30         | Temperature  | 49.00      | C     | 'OK'45 | Memory          | Memory       | N/A        | N/A   | 'Presence detected'46 | Power Meter     | Current      | 256.00     | W     | 'Device Enabled'
 

As you can see I can get values some values back.
Would be nice to be able to view these.
 
Cheers 

I should be able to add that.

 

I know this is a while ago I am sorry for that!

I would like to know whether I can somehow make this happen?

With the " -w discretereading " added to the ipmi-sensors command my dl380 g6 shows NA just like in the post.

I would like to able to see all the readings in Unraid if possbile.

Edited by superslider
Link to comment
  • 4 weeks later...
  • 2 weeks later...
On 10/24/2021 at 9:02 AM, igorekDE said:

 

Hi all! Can you tell if you have fan control on mainboard asrock x470d4u? a couple of months ago it worked for me but now it does not.

2.png

3.png

ASRock Rack updated the BMC in a way that negates the previous fan settings. They made it more inline with what they did with the X570D4U and X570D4U-2L2T.

 

I believe the method that @Horfic came up with for the X570D4U should now work with the X470D4U. Overall, we really need an update to this plugin to include these new commands for these ASRock Rack motherboards.

 

https://forums.unraid.net/topic/38108-plugin-ipmi-for-unraid-61/?do=findComment&comment=984253

Edited by ramblinreck47
Link to comment
On 9/21/2021 at 10:42 PM, 3dee said:

Hi everyone,

 

is there now an option to split the FAN1234 and FANA groups up for fan control? I would like to control each fan individually.

 

grafik.thumb.png.272c7806b6d9317d32a0d5789891b275.png

 

grafik.thumb.png.3ec97c6f3174395ee655ef5714fd7bd6.png

 

 

My Mainboard is a Supermicro X10DRi.


Thanks.

Welcome to the world of stupid Supermicro IPMI controls. They group fans together and there's not a way you can change that. I haven't seen anyone come up with a code to fix that.

  • Thanks 1
Link to comment
  • 2 weeks later...

I'm having problems resetting the authentication type to none because I don't think there's a username and password option in my BIOS settings, unless I'm missing something. The username and password fields on the unRAID page aren't configurable anymore.  Removing and reinstalling just brings back the old config.  I have a SuperMicro X9DRi-LN4F+ and it says that the connection worked but I still get this notification: "Nov 13 14:02:57 unRAID ipmiseld[29964]: IPMI Event: localhost *Warning* Session Audit - Invalid Username or Password." Is it because I had localhost and the LAN IP?  I can't reset anything.

image.thumb.png.f9b68200fa4eb3304e72bf933a91f0f6.png

Edited by iamgadgetman
Link to comment
13 hours ago, JorgeB said:

I never enabled the "Enable Network Connection" option, not exactly sure what's for, but everything works for me with that option disable.

I wish I could change it but everything in the settings tab is unclickable.  The only thing that works is the done button.  When I try reset BMC it seems to just reset all the network connections but doesn't change this screen.  It's like I'm stuck with this config.  I even tried ipmitool but I'm either too naive to use it or there are issues there too, because it kept failing to send commands.

Link to comment
On 11/18/2021 at 1:43 AM, markswift said:

Just checking in to see if anyone has a working solution for the X470D4U?

 

Many thanks in advance. 

I'd also throw a +1 since the new BMC versions add some nice functionality.

image.png.2538677f8ed890a71f22aa58e07953d7.png

 

Edit: I forgot about this. So I'll report back after going through some of that level of jank.

Edit2: So just going through replacing the ipmi2json and ipmifan files and running configure it actually detected Fan1 as Fan2 and found no others. In the Fan Control tab it populated Fan1 as Fan1 afterwards but when you made changes to Fan1 in the it would update Fan2 in the BMC and set Fan1 to the minimum 20% quickly causing an overheat if you have a load. So looks like some debug time is required if someone has the time but it's not too far off... just not for me in the early morning on a Saturday.

Edited by xWeegix
Afterthought and testing
Link to comment
On 11/22/2021 at 4:24 PM, doesntaffect said:

I was wondering how I can reset the plugin, since the IP of my BMC controller has changed. Reinstalled the plugin, which didn't do the trick. Tried also to edit the config and changed the IP there, still the old IP is shown under "settings". 

 

Any advice?

I would start with checking those links to where some people have modified the plugin to see if there are settings files there. I'd bet there is a few ways to figure it out but it depends on where and how far you wanna dig. Probably easier would be to check the plugin page on github and look for the path there.

 

edit: just a quick look in the install script make this look like a good place to start
image.png.2326bc76f2ee7c144370b91e2d62f873.png

Edited by xWeegix
  • Like 1
Link to comment
  • 2 weeks later...

Hi,

 

i have a Asus WS C422 PRO/SE Board and i want to change the Fan / Temp Settings.

The Support of Asus say, it´s only work with BMC (the nice Fan Control in the BIOS have only from Asus the "Gaming" Boards 😞 ).

OK, the PlugIn is installed via Apps and and the TAB "Sensors" shows me the Front and Rear Fans RPM (that´s ok). 

Now i want to Control the Fans, but there is nothing shows in the "Settings" Tab (no Fan Control is show). 

Can i "activate" it, or must i go a another way? 

The Dynamix Fan Control i have tested, but there is not working...

For me is important to control the Fans, because my Case is installed in a Rack and the fans are running with the Stock rpm, and looks, that they not controlled, so my drives will be very hot...

 

Thanks a lot for your help.

Link to comment
On 12/7/2021 at 11:05 PM, Fuggin said:

I keep getting connection fail in the IPMI IP address field.

 

I can log in through the browser no problem, but won't connect in unraid. Please advise.

Got it working but I can't see any of the sensors. Using Supermicro X9DRL-3F/iF board. I have Supermicro X9 board selected but won't show anything.

Link to comment

Hello,

i have a X570D4U Board and the plugin does not change the RPM of the fans. (Fans are in manual mode)

I installed the plugin and executed these two commands:

 

curl -o '/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json' -L 'https://raw.githubusercontent.com/lucasteligioridis/IPMI-unRAID/master/source/ipmi/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json' && chmod 755 '/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json'
curl -o '/usr/local/emhttp/plugins/ipmi/scripts/ipmifan' -L 'https://raw.githubusercontent.com/lucasteligioridis/IPMI-unRAID/master/source/ipmi/usr/local/emhttp/plugins/ipmi/scripts/ipmifan' && chmod 755 '/usr/local/emhttp/plugins/ipmi/scripts/ipmifan'

 

Then i run configure and configured the fans to a sensor and temperature.

 

This is the configure result:

 

image.png.0775476cb1a342487d016cf598447bbb.png

 

board.json:

 

{
    "ASRockRack": {
        "raw": "00 3a",
        "auto": "d8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
        "full": "d6 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64",
        "fans": {
            "FAN_POS1": "01",
            "FAN1": "01",
            "FAN2": "01",
            "FAN3": "01",
            "FAN4_1": "01",
            "FAN_POS6": "01",
            "FAN_POS7": "01",
            "FAN_POS8": "01",
            "FAN_POS9": "01",
            "FAN_POS10": "01",
            "FAN_POS11": "01",
            "FAN_POS12": "01",
            "FAN_POS13": "01",
            "FAN_POS14": "01",
            "FAN_POS15": "01",
            "FAN_POS16": "01"
        }
    }
}
 

Does somebody has any idea?

Link to comment
On 11/4/2021 at 5:17 PM, ramblinreck47 said:

Welcome to the world of stupid Supermicro IPMI controls. They group fans together and there's not a way you can change that. I haven't seen anyone come up with a code to fix that.

Thanks. I asked Supermicro Support and they confirmed there is no way :(

 

Quote

Dear ***,

 

Thank you for contacting Supermicro Computer's Technical Support

 

[Q] I would like to set up multiple FAN groups for precise FAN speed control. Alternatively it would be fine to control each FAN individually.

[A] Unfortunately, no. User cannot set up multiple FAN groups or control each FAN individually.

 

Best Regards,

***

 

  • Thanks 1
Link to comment
  • 3 weeks later...
On 12/10/2021 at 8:12 AM, blame said:

Hello,

i have a X570D4U Board and the plugin does not change the RPM of the fans. (Fans are in manual mode)

I installed the plugin and executed these two commands:

 

curl -o '/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json' -L 'https://raw.githubusercontent.com/lucasteligioridis/IPMI-unRAID/master/source/ipmi/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json' && chmod 755 '/usr/local/emhttp/plugins/ipmi/scripts/ipmi2json'
curl -o '/usr/local/emhttp/plugins/ipmi/scripts/ipmifan' -L 'https://raw.githubusercontent.com/lucasteligioridis/IPMI-unRAID/master/source/ipmi/usr/local/emhttp/plugins/ipmi/scripts/ipmifan' && chmod 755 '/usr/local/emhttp/plugins/ipmi/scripts/ipmifan'

 

Then i run configure and configured the fans to a sensor and temperature.

 

This is the configure result:

 

image.png.0775476cb1a342487d016cf598447bbb.png

 

board.json:

 

{
    "ASRockRack": {
        "raw": "00 3a",
        "auto": "d8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00",
        "full": "d6 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64",
        "fans": {
            "FAN_POS1": "01",
            "FAN1": "01",
            "FAN2": "01",
            "FAN3": "01",
            "FAN4_1": "01",
            "FAN_POS6": "01",
            "FAN_POS7": "01",
            "FAN_POS8": "01",
            "FAN_POS9": "01",
            "FAN_POS10": "01",
            "FAN_POS11": "01",
            "FAN_POS12": "01",
            "FAN_POS13": "01",
            "FAN_POS14": "01",
            "FAN_POS15": "01",
            "FAN_POS16": "01"
        }
    }
}
 

Does somebody has any idea?

 

I tried several things, but i cant get it to work with my X570D4U Board :(

Since it works for others here, I think it's because of the board.json file.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.