[PLUGIN] IPMI for 6.11+


Recommended Posts

3 hours ago, Denisy said:

 

Hi All,

 

I`m having exactly same issue as reported above on my Supermicro A1SRi-2758F.  The plugin worked perfectly for over 2 year before this has happened recently.  I tried to install the previous version by dmacias, but it`s too old and isn`t loading correctly (I'm using unRAID 6.12.8) and dmidecode returns correct information (same as before)   

Does this produce any output?

 

Do you use a network connection? If so may need to add additional details.

 

/usr/sbin/ipmi-sensors --output-sensor-thresholds --comma-separated-output '.
        "--output-sensor-state --no-header-output --interpret-oem-data

 

 

Additional parts for network

 

--always-prefix -h 'ipaddr' -u 'user) -p 'password' --session-timeout=5000 --retransmission-timeout=1000 

 

 

Screen print of settings may be useful.

Link to comment

First what a GREAT plugin! - I just installed it and everything works out of the box!
I just have one question or two (Might be stupid ones, sorry)

 

I have a red icon on PSU1 Power Out is this a warning? (Haven't seen anything in the IPMI configuration.

image.thumb.png.b2f9ef448fb7cba99fa83d76b771f5c3.png

IPMI interface:
image.thumb.png.03db83e77db2bbee848f399810bbe9a0.png

And does all the N/A mean that I can remove them, or that they could get a value if for example the PSU2 would take over?

 

Also I could never get the IPMI e-mail notification service working, would enabling notification use the Unraid e-mail notification instead?

Thanks again your work is much appreciated.
 

Link to comment
13 minutes ago, casperse said:

First what a GREAT plugin! - I just installed it and everything works out of the box!
I just have one question or two (Might be stupid ones, sorry)

 

I have a red icon on PSU1 Power Out is this a warning? (Haven't seen anything in the IPMI configuration.

image.thumb.png.b2f9ef448fb7cba99fa83d76b771f5c3.png

IPMI interface:
image.thumb.png.03db83e77db2bbee848f399810bbe9a0.png

And does all the N/A mean that I can remove them, or that they could get a value if for example the PSU2 would take over?

 

Also I could never get the IPMI e-mail notification service working, would enabling notification use the Unraid e-mail notification instead?

Thanks again your work is much appreciated.
 

Would you be able to send the raw sensor data

 

/usr/sbin/ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --no-header-output --interpret-oem-data

 

 

Link to comment
3 hours ago, SimonF said:

Would you be able to send the raw sensor data

 

/usr/sbin/ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --no-header-output --interpret-oem-data

 

 

Yes of course:
 

# /usr/sbin/ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --no-header-output --interpret-oem-data
3,CPU Temperature,Temperature,Nominal,31.00,C,N/A,N/A,N/A,98.00,99.00,100.00,'OK'
5,MB Temperature,Temperature,Nominal,24.00,C,N/A,N/A,N/A,60.00,70.00,95.00,'OK'
6,TR1 Temperature,Temperature,N/A,N/A,C,N/A,N/A,N/A,100.00,100.00,100.00,N/A
7,TR2 Temperature,Temperature,N/A,N/A,C,N/A,N/A,N/A,100.00,100.00,100.00,N/A
8,TR3 Temperature,Temperature,N/A,N/A,C,N/A,N/A,N/A,100.00,100.00,100.00,N/A
9,CPU Package Temp,Temperature,Nominal,35.00,C,N/A,N/A,N/A,95.00,100.00,105.00,'OK'
10,VRM Temperature,Temperature,Nominal,41.00,C,N/A,N/A,N/A,110.00,110.00,110.00,'OK'
11,PSU1 Temperature,Temperature,Nominal,26.00,C,N/A,N/A,N/A,50.00,63.00,63.00,'OK'
12,PSU2 Temperature,Temperature,Nominal,37.00,C,N/A,N/A,N/A,50.00,63.00,63.00,'OK'
15,12V Voltage,Voltage,Nominal,12.12,V,9.60,10.20,10.80,13.20,13.80,14.40,'OK'
16,3.3V Voltage,Voltage,Nominal,3.34,V,2.64,2.80,2.98,3.63,3.79,3.97,'OK'
17,3.3VSB Voltage,Voltage,Nominal,3.36,V,2.64,2.80,2.98,3.63,3.79,3.97,'OK'
18,5VSB Voltage,Voltage,Nominal,5.11,V,4.01,4.25,4.51,5.50,5.76,6.00,'OK'
19,5V Voltage,Voltage,Nominal,5.04,V,4.01,4.25,4.51,5.50,5.76,6.00,'OK'
20,CPU Core Voltage,Voltage,Nominal,1.00,V,0.00,0.00,0.00,2.11,2.21,2.30,'OK'
21,DRAM VDDQ Volt.,Voltage,Nominal,1.33,V,0.80,0.85,0.90,2.20,2.30,2.40,'OK'
23,CPU Input Volt.,Voltage,Nominal,1.79,V,1.20,1.26,1.34,2.32,2.42,2.53,'OK'
24,PSU1 Voltage,Voltage,Nominal,227.00,V,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
25,PSU2 Voltage,Voltage,Nominal,227.00,V,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
28,PSU1 Current,Current,Nominal,1.20,A,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
29,PSU2 Current,Current,Nominal,0.00,A,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
32,CPU_FAN,Fan,Nominal,2040.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
33,CPU_OPT_FAN,Fan,Nominal,2040.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
34,MB_CHA_FAN1,Fan,N/A,N/A,RPM,0.00,360.00,360.00,N/A,N/A,N/A,N/A
35,MB_CHA_FAN2,Fan,Nominal,1800.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
36,MB_CHA_FAN3,Fan,N/A,N/A,RPM,0.00,360.00,360.00,N/A,N/A,N/A,N/A
37,MB_CHA_FAN4,Fan,N/A,N/A,RPM,0.00,360.00,360.00,N/A,N/A,N/A,N/A
38,MB_CHA_FAN5,Fan,N/A,N/A,RPM,0.00,360.00,360.00,N/A,N/A,N/A,N/A
43,MB_AIO_PUMP,Fan,N/A,N/A,RPM,0.00,360.00,360.00,N/A,N/A,N/A,N/A
44,CHA_FAN1,Fan,Nominal,2400.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
45,CHA_FAN2,Fan,Nominal,2160.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
46,CHA_FAN3,Fan,Nominal,2040.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
47,CHA_FAN4,Fan,Nominal,1920.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
48,CHA_FAN5,Fan,Nominal,1920.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
49,CHA_FAN6,Fan,Nominal,1680.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
50,CHA_FAN7,Fan,Nominal,1680.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
51,CHA_FAN8,Fan,Nominal,1920.00,RPM,0.00,360.00,360.00,N/A,N/A,N/A,'OK'
52,PSU1 FAN,Fan,Nominal,6840.00,RPM,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
53,PSU2 FAN,Fan,Nominal,0.00,RPM,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
56,PSU1 Power In,Power Supply,Nominal,264.00,W,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
57,PSU2 Power In,Power Supply,Nominal,8.00,W,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
60,PSU1 Power Out,Power Supply,Nominal,240.00,W,N/A,N/A,N/A,1896.00,2000.00,2000.00,'OK'
61,PSU2 Power Out,Power Supply,Nominal,0.00,W,N/A,N/A,N/A,1896.00,2000.00,48.00,'OK'
64,PSU1 Over Temp,Temperature,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
65,PSU2 Over Temp,Temperature,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
68,PSU1 AC Lost,Power Supply,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'Presence detected'
69,PSU2 AC Lost,Power Supply,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'Presence detected'
72,PSU1 Slow FAN1,Fan,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
73,PSU2 Slow FAN1,Fan,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
76,PSU1 PWR Detect,Power Supply,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'Presence detected'
77,PSU2 PWR Detect,Power Supply,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'Presence detected'
80,PSU1 Over Curr,Current,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
81,PSU2 Over Curr,Current,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'transition to OK'
85,VERSION_ERR,Version Change,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'OK'
87,Watchdog2,Watchdog 2,Nominal,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,'OK'


The email notification in the IPMI would require me to have my own e-mail server (Google have to many special steps for the IPMI to work)

Sorry I thought there was a integration between this IPMI and the Unraid Notification Settings.
I can see that its a event notification (My mistake)

UPDATE:
After running the command I now have it Green?
image.thumb.png.16a34316d4e21022e07bf3dc90c3692c.png

Edited by casperse
Link to comment
On 2/21/2024 at 2:14 AM, SimonF said:

Does this produce any output?

 

Do you use a network connection? If so may need to add additional details.

 

/usr/sbin/ipmi-sensors --output-sensor-thresholds --comma-separated-output '.
        "--output-sensor-state --no-header-output --interpret-oem-data

 

 

Additional parts for network

 

--always-prefix -h 'ipaddr' -u 'user) -p 'password' --session-timeout=5000 --retransmission-timeout=1000 

 

 

Screen print of settings may be useful.

Hi thank you for your attention!

 

No I don`t use network connection.  The ipmi web-interface that is built-in with bios is accessible and  is working fine.

 

But it doesn`t work via plugin any more.  I cant even access the settings via the plugin interface: just getting a blank page as on screenshot attached.

 

dmidecode:

andle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Supermicro
        Product Name: A1SAi
        Version: 123456789
        Serial Number: removed
        UUID: Not Settable
        Wake-up Type: Power Switch
        SKU Number: 081315D9
        Family: SMC X10

 

Screenshot 2024-02-24 14.22.59.png

Screenshot 2024-02-24 14.27.58.png

Edited by Denisy
Link to comment
1 hour ago, Denisy said:

Hi thank you for your attention!

 

No I don`t use network connection.  The ipmi web-interface that is built-in with bios is accessible and  is working fine.

 

But it doesn`t work via plugin any more.  I cant even access the settings via the plugin interface: just getting a blank page as on screenshot attached.

 

dmidecode:

andle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Supermicro
        Product Name: A1SAi
        Version: 123456789
        Serial Number: removed
        UUID: Not Settable
        Wake-up Type: Power Switch
        SKU Number: 081315D9
        Family: SMC X10

 

Screenshot 2024-02-24 14.22.59.png

Screenshot 2024-02-24 14.27.58.png

Are you using my version of the plugin? Or the original authors one.

Link to comment

Hi Simon,

 

I'm working through an issue with the Open Files plugin made by dlandon. It has stopped working on one of my unRAID systems and times out trying to get the list of open files and processes. I enabled logging at Tools --> PHP Settings and it's reporting this error:

 

[26-Feb-2024 14:04:42 America/Denver] PHP Warning:  Undefined variable $display in /usr/local/emhttp/plugins/ipmi/include/ipmi_helpers.php on line 8
[26-Feb-2024 14:04:42 America/Denver] PHP Warning:  Trying to access array offset on value of type null in /usr/local/emhttp/plugins/ipmi/include/ipmi_helpers.php on line 8
[26-Feb-2024 14:04:57 America/Denver] PHP Warning:  Undefined variable $display in /usr/local/emhttp/plugins/ipmi/include/ipmi_helpers.php on line 8
[26-Feb-2024 14:04:57 America/Denver] PHP Warning:  Trying to access array offset on value of type null in /usr/local/emhttp/plugins/ipmi/include/ipmi_helpers.php on line 8

 

The 2 lines repeat ad-nauseum every 5 - 15 seconds. I've removed the IPMI plugin to see if that would fix the Open Files issue, but dlandon suggested I mention this to you. Alas removing it didn't fix my Open Files issue. Let me know if you need any further details. Thanks!

Link to comment
On 11/26/2023 at 2:24 PM, mja00 said:

Yep found their fork for the other X570 board and simply adding an or check for the board I have made it pick up and start working. Thanks! 

Grab the ipmi2json and ipmifan from this post then throw them into a text editor to do the edits below.

- ipmi2json, line 166:

$com   = ($board_model == "X570D4I-2T" || $board_model == "X570D4U") ? 'd6' : '01';

- ipmi2json, line 171:

if ($board_model == "X570D4I-2T" || $board_model == "X570D4U") {

- ipmifan, line 413:
 

if ($board_model == "X570D4I-2T" || $board_model == "X570D4U") {

Basically, just adding on the board to each check. This ensures the custom script changes that arstropica made also apply to the X570D4U boards. This most likely also works for the x570d4u-2l2t, you just need to use that as the model name, though you can confirm the model name using 

dmidecode -qt2|awk -F: '/^\tProduct Name:/ {print $2}'

 

 

I'm still not able to detect my fans on my X570D4U board after downloading those two and making the changes you suggested. Is there anything else I'm missing?

Link to comment

Is i possible to get this plugin working to control fans according to HDD temperature on GIGABYTE MJ11-EC1-OT, running BMC and not IPMI. I can see all statistics, including HDD temp, but in the setting of this plugins I can not control the fans at all, only monitor RPM and HDD temps.

 

 

Skærmbillede 2024-03-06 kl. 22.46.46.png

Edited by whc
Link to comment
18 hours ago, whc said:

Is i possible to get this plugin working to control fans according to HDD temperature on GIGABYTE MJ11-EC1-OT, running BMC and not IPMI. I can see all statistics, including HDD temp, but in the setting of this plugins I can not control the fans at all, only monitor RPM and HDD temps.

 

 

Skærmbillede 2024-03-06 kl. 22.46.46.png

You'll have to reach out to Gigabyte support and ask them for the IPMI commands to control the fans on the system and what their values are if that is not already documented in their manual.  Once you get that, then yeah you can get this plugin to work.

Link to comment
23 hours ago, whc said:

Is i possible to get this plugin working to control fans according to HDD temperature on GIGABYTE MJ11-EC1-OT, running BMC and not IPMI. I can see all statistics, including HDD temp, but in the setting of this plugins I can not control the fans at all, only monitor RPM and HDD temps.

 

 

Skærmbillede 2024-03-06 kl. 22.46.46.png

a little googling forund this:

 

For fan settings we have below information:

Below IPMI command format for fan control.

Set Fan Control 0x3c 0x16

Byte1: 0x02

Byte2: FAN_NO

Byte3: Duty1

Byte4: Duty2

Byte5: Duty3

Byte6: Temp1

Byte7: Temp2

Byte8: Temp3

 

Get Fan Control 0x3c 0x16

Byte1: 0x03

Byte2: FAN_NO

 

Ex. Get fan 1 status $ Ipmitool -I lanplus -H 192.168.50.43 -U admin -P admin raw 0x3c 0x16 0x03 0x01

– 01 0a 32 64 14 50 5f

 

Ex. Set fan 1 $ipmitool -I lanplus -H 192.168,50.43 -U admin -P admin raw 0x3c 0x16 0x02 0x01 0x14 0x32 0x64 0x14 0x50 0x5f

- 01 14 32 64 14 50 5f

 

Link to comment
13 hours ago, spl147 said:

a little googling forund this:

 

For fan settings we have below information:

Below IPMI command format for fan control.

Set Fan Control 0x3c 0x16

Byte1: 0x02

Byte2: FAN_NO

Byte3: Duty1

Byte4: Duty2

Byte5: Duty3

Byte6: Temp1

Byte7: Temp2

Byte8: Temp3

 

Get Fan Control 0x3c 0x16

Byte1: 0x03

Byte2: FAN_NO

 

Ex. Get fan 1 status $ Ipmitool -I lanplus -H 192.168.50.43 -U admin -P admin raw 0x3c 0x16 0x03 0x01

– 01 0a 32 64 14 50 5f

 

Ex. Set fan 1 $ipmitool -I lanplus -H 192.168,50.43 -U admin -P admin raw 0x3c 0x16 0x02 0x01 0x14 0x32 0x64 0x14 0x50 0x5f

- 01 14 32 64 14 50 5f

 

Nice find sir, how to implement it to the IPMI plugin?

Edited by whc
Link to comment

SM H11SSL here.. FAN Controll dosnt work. Temperature and RPMs are shown correct. CPU FAN is on FANA but spinns allways at max. Dont know what the user / password for my BMC is

 

 

UPDATE: ok figured out it only works with PWM Fans. § Pin FANs dosnt work

Edited by Gee1
Link to comment
SM H11SSL here.. FAN Controll dosnt work. Temperature and RPMs are shown correct. CPU FAN is on FANA but spinns allways at max. Dont know what the user / password for my BMC is
 
 
UPDATE: ok figured out it only works with PWM Fans. § Pin FANs dosnt work

Oh my….
Link to comment
  • 2 weeks later...
On 3/10/2024 at 6:04 PM, Gee1 said:

can u create more FAN profiles? EG instead FAN1234 do FAN1 FAN2 FAN3 FAN4

If you're able to control each fan individually via the IPMI-RAW commands, then yes you can create a separate profile for each. Reading this comment by me might help you get it working by building a custom config out

 

On 3/11/2024 at 2:15 AM, whc said:

How do one go about and do that?

with the plugin installed, the executable ipmi-raw should be on your path and so you should be able to send raw ipmi commands from your terminal

Edited by Gunny
Link to comment

Asrock rack b650d4u-2l2t/bcm
not work fan control

 

 

Spoiler

image.thumb.png.df32f1646a5d82d6a6b6ac4b201dc1c7.png

 

 

Spoiler

image.thumb.png.9c1f7ae50d3209c9d96477070d25c424.png

 

Can you tell me what needs to be done to make the fan control work?

Indicators work, management doesn’t.

 

Spoiler

image.thumb.png.0272326a6ab05b8033b447d17900b2b8.png

 

Spoiler

image.png.e6bb306e2a7201aa3dec6383885f881e.png

 

Spoiler

image.png.924a7bf5501c157c9eca23789794b106.png

 

Edited by muwahhid
Link to comment

My fans are only spinning down for maybe half a second then they go back to full speed. (I only rebooted because I changed my PSU). Before the reboot, everything was working perfectly. I somehow seems that something overwrites the settings, that the plugin makes and sets the fans back to 100%.

 

The Log says, that the plugin sets my fans to 2% speed. But the RPM stays at the absolute max:

 

 

image.thumb.png.7b5580cff46373badf57dc2ab928acc1.png

 

image.thumb.png.b89b5900bb1bcbcaabe167d79389ab0e.png

 

image.thumb.png.900f74d3aa09759210c4d8a94ac5259f.png

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.