Jump to content
dmacias

[Plugin] IPMI for unRAID 6.1+

1098 posts in this topic Last Reply

Recommended Posts

btw, thanks for pointing me to a way to correct threshold values using ipmitool.

 

 

+ found another small bug: my asrock avoton board has serveral values without lnc/unc values set by default (ipmitool returns "na") - this causes readings inside lc/uc ranges to be in orange/warning state instead green/ok...

Share this post


Link to post

btw, thanks for pointing me to a way to correct threshold values using ipmitool.

 

 

+ found another small bug: my asrock avoton board has serveral values without lnc/unc values set by default (ipmitool returns "na") - this causes readings inside lc/uc ranges to be in orange/warning state instead green/ok...

Ok thanks. I'll have to add more logic.

Share this post


Link to post

Ok thanks. I'll have to add more logic.

... thats the way any software goes ;)

 

 

btw, i wasn't completely precise - as far ipmitool can tell, the sensor in question simply doesn't support these particular "na" threshold values (means it also isn't possible to set them to something sane); i.e. true for most voltages on this board...

Share this post


Link to post

I might need a little pushing. l seriously had planned to start on the fan control the past couple weeks since I went through this plugin and updated it but other things came up.

 

I would like some feedback on the layout or settings for fan control. I had planned to model it after the dynamix fan control plugin.

 

I think ipmi-based control over fans would be brilliant.  I haven't installed the dynamix one since I can't use it, but you can't go wrong patterning it after something bonienl does :)

 

It would be nice to replace the Dynamix System Temperature plugin with one that uses ipmi values too.  There is a start of a conversation here:

  https://lime-technology.com/forum/index.php?topic=36543.msg361884#msg361884

but it didn't get any traction.

Share this post


Link to post

I'll look into it. I just always installed the temp plugin too since it shows my system and cpu temp just no fans. But if I included it then I won't need the other plugin. Plus ipmitool is more or less based on a standard with more accurate sensor names and readings. Plus there's no sensor.conf wizardry involved.

Share this post


Link to post

 

 

btw, thanks for pointing me to a way to correct threshold values using ipmitool.

 

 

+ found another small bug: my asrock avoton board has serveral values without lnc/unc values set by default (ipmitool returns "na") - this causes readings inside lc/uc ranges to be in orange/warning state instead green/ok...

 

What's your full read out of "ipmitool -vc sdr"?

Share this post


Link to post

I'll look into it. I just always installed the temp plugin too since it shows my system and cpu temp just no fans. But if I included it then I won't need the other plugin. Plus ipmitool is more or less based on a standard with more accurate sensor names and readings. Plus there's no sensor.conf wizardry involved.

This would be great. Never been able to get fan control to work. Always had to just set them to high speed. Would be really nice if I could get them to reduce speed automatically when it's not needed.

Share this post


Link to post

I think ipmi-based control over fans would be brilliant.  I haven't installed the dynamix one since I can't use it...

 

I went ahead and installed the standard Fan Auto Control plugin just to check it out, but I'm having trouble interpreting it.  Is this how it works?

* Below the Low temp threshold, fan speed is set to the "Minimum PWM value"

* Above the High temp threshold, fan speed is set to 100%

* Between the thresholds, fan speed increases linearly as the temp increases

Is that what it is doing?

 

Assuming I'm on the right track... it appears that this just looks at the motherboard temp.  Can we also take hard drive temps (and maybe even the CPU temp) into consideration somehow?

 

Also, the current IPMI Tool plugin can display the RPM of multiple fans, will it be able to control the speed of multiple fans too?

 

Thanks!

Share this post


Link to post

 

 

I think ipmi-based control over fans would be brilliant.  I haven't installed the dynamix one since I can't use it...

 

I went ahead and installed the standard Fan Auto Control plugin just to check it out, but I'm having trouble interpreting it.  Is this how it works?

* Below the Low temp threshold, fan speed is set to the "Minimum PWM value"

* Above the High temp threshold, fan speed is set to 100%

* Between the thresholds, fan speed increases linearly as the temp increases

Is that what it is doing?

 

Assuming I'm on the right track... it appears that this just looks at the motherboard temp.  Can we also take hard drive temps (and maybe even the CPU temp) into consideration somehow?

 

Also, the current IPMI Tool plugin can display the RPM of multiple fans, will it be able to control the speed of multiple fans too?

 

Thanks!

 

I reinstalled the fan plugin and your right about the way it works except it just monitors hard drive temps.

 

I think my plan then is to have a temp source (an ipmi temp or hd avg) for each fan with min and max temp values then and a min rpm/value for each fan. Then linearly control them between min and max temp and anything equal or greater than max is full on.

Share this post


Link to post

That sounds good dmacias, thanks for working on this!

 

What do you think of adding secondary triggers?  For instance, if the fan speeds increase linearly based on hd temps, perhaps if the IPMI MB temp hits a certain number it could instantly bump all fans to 100% regardless of hd temp?

 

Just trying to figure out how to make use of the other sensors.  Seems a shame to have them and not use them :)

Share this post


Link to post

I won't make it just hard drive temps. A drop down for each fan with any temp sensor, cpu, mb, hard drive (possibly a drop down checklist of hard drives like the shares menu).  Also some global temp min/max.

Share this post


Link to post

I updated the plugin. See op. I added temp and fan display to the bottom of the unRAID webGui and event monitoring daemon start and stop with unRAID independent of the array.

 

I also added a fan control page. It's not fully functional yet. The page works fine and you can save and apply settings but the fan script is not finished yet. Soon but not 6.2 soon

Share this post


Link to post

Thanks for the update!

 

I do get an error message, see encl pic.

Are you using remote access? If not, can you give me the output of this command

"/usr/bin/ipmitool -vc sdr"

Share this post


Link to post

This is what I get. Its the SuperMicro board in my signature.

 

root@unRAID1:~# /usr/bin/ipmitool -vc sdr
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error Response 0xc1 from Get PICMG Properities
No PICMG Extenstion discovered
CPU Temp,33,degrees C,ok,3.1,Processor,Temperature,40.000,-4.000,89.000,100.000,100.000,95.000,0.000,0.000,0.000,-128.000,127.000
System Temp,33,degrees C,ok,7.1,System Board,Temperature,30.000,-4.000,74.000,90.000,85.000,80.000,-9.000,-7.000,-5.000,-128.000,127.000
Peripheral Temp,38,degrees C,ok,7.2,System Board,Temperature,30.000,-4.000,74.000,90.000,85.000,80.000,-9.000,-7.000,-5.000,-128.000,127.000
PCH Temp,45,degrees C,ok,7.3,System Board,Temperature,25.000,-4.000,67.000,100.000,95.000,90.000,-11.000,-8.000,-5.000,-128.000,127.000
VRM Temp,37,degrees C,ok,8.1,Memory Module,Temperature,25.000,-4.000,74.000,105.000,100.000,95.000,-9.000,-7.000,-5.000,-128.000,127.000
DIMMA1 Temp,29,degrees C,ok,32.64,Memory Device,Temperature,30.000,168.000,206.000,90.000,85.000,80.000,1.000,2.000,4.000,0.000,255.000
DIMMA2 Temp,31,degrees C,ok,32.65,Memory Device,Temperature,30.000,168.000,206.000,90.000,85.000,80.000,1.000,2.000,4.000,0.000,255.000
DIMMB1 Temp,29,degrees C,ok,32.68,Memory Device,Temperature,30.000,168.000,206.000,90.000,85.000,80.000,1.000,2.000,4.000,0.000,255.000
DIMMB2 Temp,30,degrees C,ok,32.69,Memory Device,Temperature,30.000,168.000,206.000,90.000,85.000,80.000,1.000,2.000,4.000,0.000,255.000
FAN1,900,RPM,ok,29.1,Fan Device,Fan,12800.000,2000.000,17000.000,25500.000,25400.000,25300.000,300.000,500.000,700.000,0.000,25500.000
FAN2,1000,RPM,ok,29.2,Fan Device,Fan,12800.000,2000.000,17000.000,25500.000,25400.000,25300.000,300.000,500.000,700.000,0.000,25500.000
FAN3,,,ns,29.3,Fan Device,Fan,12800.000,2000.000,17000.000,25500.000,25400.000,25300.000,300.000,500.000,700.000,0.000,25500.000
FAN4,,,ns,29.4,Fan Device,Fan,12800.000,2000.000,17000.000,25500.000,25400.000,25300.000,300.000,500.000,700.000,0.000,25500.000
FANA,1400,RPM,ok,29.5,Fan Device,Fan,12800.000,2000.000,17000.000,25500.000,25400.000,25300.000,300.000,500.000,700.000,0.000,25500.000
Vcpu,1.818,Volts,ok,3.2,Processor,Voltage,1.800,1.620,1.944,2.106,2.088,1.899,1.242,1.260,1.395,0.171,2.466
VDIMM,1.320,Volts,ok,32.1,Memory Device,Voltage,1.425,1.201,1.642,1.747,1.719,1.642,1.096,1.124,1.201,0.137,1.922
12V,12,Volts,ok,7.17,System Board,Voltage,12.000,10.776,12.918,13.224,13.224,12.918,10.164,10.521,10.776,0.219,13.224
5VCC,4.969,Volts,ok,7.33,System Board,Voltage,5.000,4.473,5.372,5.589,5.527,5.372,4.225,4.380,4.473,0.071,7.976
3.3VCC,3.314,Volts,ok,7.32,System Board,Voltage,3.299,2.969,3.554,3.689,3.659,3.554,2.804,2.894,2.969,0.179,4.004
VBAT,3.045,Volts,ok,7.18,System Board,Voltage,3.000,2.595,3.495,3.690,3.600,3.495,2.400,2.490,2.595,0.045,3.870
AVCC,3.314,Volts,ok,7.36,System Board,Voltage,3.299,2.594,3.494,3.689,3.599,3.494,2.399,2.489,2.594,0.164,3.989
VSB,3.239,Volts,ok,7.35,System Board,Voltage,3.299,2.594,3.494,3.689,3.599,3.494,2.399,2.489,2.594,0.149,3.974
Chassis Intru,AAh,ok,23.1,
root@unRAID1:~#

Share this post


Link to post

Nope, If I go to Tools, IPMI tool all my sensors are gone.

 

And the normal Dynamix temp and fan readings at the bottom right of the Web GUI is gone as well but it looks like it’s get overwritten by the error message as well. I was able to select and copy it:

Array Started• Dynamix webGui v2016.02.09 Warning: array_combine(): Both parameters should have an equal number of elements in /usr/local/emhttp/plugins/ipmitool-plugin/include/ipmitool_helpers.php on line 59 Warning: array_combine(): Both parameters should have an equal number of elements in

Share this post


Link to post

Give me a min.  I'll pull the update, you'll have to uninstall the plugin then reinstall

Share this post


Link to post

I updated the plugin back to the previous version. I'll test later with your ipmitool output and get it fixed. Thanks for your help.

Share this post


Link to post

I updated the plugin back to the previous version. I'll test later with your ipmitool output and get it fixed. Thanks for your help.

Ok, thanks!

Share this post


Link to post

I updated the plugin back to the previous version. I'll test later with your ipmitool output and get it fixed. Thanks for your help.

Ok, thanks!

Thanks it was the chassis intrusion that was throwing if off.

Share this post


Link to post

Give it a try now. I just filtered any sensors without the proper data. Also if your using the dynamix temp plugin you should uninstall it and set up temps through this plugin. Who wants to use that lm_sensors witchcraft anyway when you can use ipmi data.

 

Also if anyone had input on the number of sensors to display in the footer, I could add more. 2 temps & 2 fans or 3 & 2. I'm not sure how many is too much though.

Share this post


Link to post

Appears to be working properly for me on my SuperMicro MBD-X10SLL-F. Looks like its time to start looking for compatible fans for my drive cages. My vote would be to see all fan speeds.

Share this post


Link to post

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.