[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.

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

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.