Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] IPMI for unRAID 6.1+

Featured Replies

  • Author
 
You can already do that, I edited my post, wrote before seeing how the plugin works. [emoji5]

Yes that's the way the fan control has always been. The original point of the plugin's fan control was to control the side fans of my case based on hdd temps especially during parity checks/rebuilds.
  • Replies 1.6k
  • Views 359.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I had released on CA, but there was an issue with FAN control and Config editor which I am in the process of resolving, So have removed for now.

  • I've been using this plug in for a very long time and absolutely love it.  Thanks so much!   I have a request.  Would it be possible to move the "IPMI Summary" on the Dashboard from the top

  • cinereus
    cinereus

    I just wrote a basic greasemonkey script to do this:   // ==UserScript== // @name Move IMPI elements to bottom of unRAID dashboard // @include http://YOURHOSTNAMEORIP/Dashboard // @grant

Posted Images

@dmacias, I was missing your script after having switched away from my ASROCK board and great to having it back 🙂

 

I have connected my CPU fan to FANA and FAN1-4 are all case fans. I chose settings according to this (see picture attached). CPU Fan is now running much lower than before (1.000rpm vs. 2.300).

 

No changes yet on the FAN1-4 in terms of rpm as I just installed a dual parity drive and data-rebuild is running, hence the quite high disk temperature requires FAN1-4 to run high.

 

Edited by EdgarWallace

On 19/06/2017 at 0:27 AM, dmacias said:

If someone with a Supermicro X10 or X11 wants to give it a try here's the latest beta I've been working on. It is fully functional. No bugs or issues that I know of yet other than I'm still working on ASRock dual cpu support and Supermicro X9 support. So fan control will not work for a X9 board yet.
This is a new separate repo I split from my unRAID plugins repo and when I feel this is right I'll push an update to the main repo and point it to this one.


https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugin/ipmi.plg

 

 

Just to report that I've been using the beta for over 24 hours on an X11 and it's working great, thanks

I have X10DAC and It work just fine


Sent from my iPhone using Tapatalk

I've got the new beta installed. Is this update for that branch?

SafariScreenSnapz033.thumb.jpg.e973f3aac7778bcc6c8523b305975765.jpg

  • Author
4 hours ago, wgstarks said:
I've got the new beta installed. Is this update for that branch?
SafariScreenSnapz033.thumb.jpg.e973f3aac7778bcc6c8523b305975765.jpg


It's for the beta. I won't update the old repo except to update the plugin file to point to the beta/new repo.
2017.06.21
The update was to fix the auto setting and to return the fans to the previous mode set in the BMC.

Edited by dmacias

I tried to install the beta Supermicro plugin but it says the url is invalid.  Perhaps there is a issue with the link on page 1 of this thread.

 

 

plugin: installing: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg
plugin: downloading https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg
plugin: downloading: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg ... failed (Invalid URL / Server error response)
plugin: wget: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg download failure (Invalid URL / Server error response)
 

13 minutes ago, Switchblade said:

I tried to install the beta Supermicro plugin but it says the url is invalid.  Perhaps there is a issue with the link on page 1 of this thread.

 

 

plugin: installing: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg
plugin: downloading https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg
plugin: downloading: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg ... failed (Invalid URL / Server error response)
plugin: wget: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugins/ipmi.plg download failure (Invalid URL / Server error response)
 

 

 

That should be "plugin", not "plugins".

 

https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/plugin/ipmi.plg

 

  • Author

Forgot to remove the tablesorter package. It uses a cdn link now. It's fixed now.

 

That did it, no issues with install.

 

Very nice plugin!  This is my first mb with IPMI and I love it!  I didn't realize I would be able to use your plugin to configure and control the fans.   Again, very nice!

 

Thank you!

Just tested the beta, it works like a charm on my X11SSi-LN4F. Great work!

 

Only one point which I didn't got to run.

Quote

Low temperature threshold (°C): Lowest temperature in the linear range to determine fan speed. Below this temperature the fan will turn off unless minimum is set.

My fans didn't turn of, probably because I'm not able to don't set a minimum, a value between 1 an 64 is mandatory. If I'm setting a minimum lower than 19 at FAN1234, which is equivalent to 1000RPM on my CPU cooler connected to FAN1, my fan rotates at 1000RPM nonetheless probably forced by the mainboard. So turning fans of isn't possible on my board.

 

Edit: Enabling Network Connection Disables the fancontroll, an doesn't stets the MB back to auto!!!

 

I still have some feature ideas.

  1. It would be great to have the possibility to set a Fan speed maximum (1-64) because most stock coolers don't really have a better cooling performance just by maxing out the rpm of a loud fan.
  2. It would also be great to be able to set shorter Temperature Polling Time cycle because a CPU variates match faster in temperature than once a minute something like 5 to 15 seconds would be nice.

Edited by Diggewuff

  • Author
7 hours ago, Diggewuff said:

Just tested the beta, it works like a charm on my X11SSi-LN4F. Great work!

 

Only one point which I didn't got to run.

My fans didn't turn of, probably because I'm not able to don't set a minimum, a value between 1 an 64 is mandatory. If I'm setting a minimum lower than 19 at FAN1234, which is equivalent to 1000RPM on my CPU cooler connected to FAN1, my fan rotates at 1000RPM nonetheless probably forced by the mainboard. So turning fans of isn't possible on my board.

 

Edit: Enabling Network Connection Disables the fancontroll, an doesn't stets the MB back to auto!!!

 

I still have some feature ideas.

  1. It would be great to have the possibility to set a Fan speed maximum (1-64) because most stock coolers don't really have a better cooling performance just by maxing out the rpm of a loud fan.
  2. It would also be great to be able to set shorter Temperature Polling Time cycle because a CPU variates match faster in temperature than once a minute something like 5 to 15 seconds would be nice.

Unless you lower the thresholds of the fans on the Supermicro, they will spin up to full if they fall below the threshold.

I changed Temperature Polling Times to seconds and added 10 sec intervals below a minute.  Everyone will need to change settings, save and restart fan control otherwise the polling will be 6 times less. So 1 min = 10 sec.
I added fan max speed.

Didn't see the edit about the network connection change and fan control. I'll fix that on next update.

 

I see there is an update ready, but when I tell it to update, I get this error,

 

plugin: updating: ipmi.plg
plugin: downloading: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/archive/tablesorter-2.27.6-x86_64-1.txz ... failed (Invalid URL / Server error response)
plugin: wget: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/archive/tablesorter-2.27.6-x86_64-1.txz download failure (Invalid URL / Server error response)

 

 

 

updateready.JPG

  • Author
I see there is an update ready, but when I tell it to update, I get this error,  

plugin: updating: ipmi.plg
plugin: downloading: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/archive/tablesorter-2.27.6-x86_64-1.txz ... failed (Invalid URL / Server error response)
plugin: wget: https://raw.githubusercontent.com/dmacias72/IPMI-unRAID/master/archive/tablesorter-2.27.6-x86_64-1.txz download failure (Invalid URL / Server error response)

 

 

 

updateready.thumb.JPG.b844db7219752c0a958ede6ffffe623e.JPG

 

I pulled the update. There should be a new update reverting the changes. I need to investigate more the impact of running the fan control script in intervals less than a minute. The script uses smartctl to get the highest drive temp. I was starting and stopping the script a lot, testing some settings and apparently one of my parity drives got a sata error. I didn't notice this till this morning after the mover caused parity errors on that parity drive. I'm not sure if they are related but I decided to pull the update till I can look through the logs. Also check why I wasn't notified till the parity errors. I would like anyone using the beta to update just in case.

 

 

 

Recently I upgraded to a Supermicro board with IPMI support.

 

Time to install your plugin :) When done thru CA it installs version 2016.10.24, is this the expected version?

 

  • Author
Recently I upgraded to a Supermicro board with IPMI support.
 
Time to install your plugin [emoji4] When done thru CA it installs version 2016.10.24, is this the expected version?
 

There's a beta version in the OP. I'm moving it to its own repo. So when I was ready I was going to update the CA version to point to the new repo (IPMI-unRAID).

Maybe you could shed some light on the issue in the post above. The plugin webgui uses unRAID vars to get the hdd temps but the fan control script uses hdparm to check standby and then smartctl to get highest temp. Could intervals of 10, 20 or 30 seconds cause problems.
49 minutes ago, dmacias said:


There's a beta version in the OP. I'm moving it to its own repo. So when I was ready I was going to update the CA version to point to the new repo (IPMI-unRAID).

Maybe you could shed some light on the issue in the post above. The plugin webgui uses unRAID vars to get the hdd temps but the fan control script uses hdparm to check standby and then smartctl to get highest temp. Could intervals of 10, 20 or 30 seconds cause problems.

 

Ok, installed your beta version and have a look.

 

Regarding hdparm and smartctl. Just reading the disk state using hdparm doesn't cause negative impact on disk operation, but reading smart attributes using smartctl may have impact on disk operation, depending on disk brand and model. Therefor temperature reading in the GUI is set to an interval of several minutes (this is set thru Tunable (poll_attributes) under disk settings). Bringing it down to lower than a minute can give bad disk performance as it will interfere too much with normal disk operation. My advice: keep 1 minute as the lowest interval.

 

Would it be possible to implement a functonality to set Different Intervalls for each Zone?

For example

1sec for CPU FanA and

5min for HDD Fan1234?

  • Author
 
Ok, installed your beta version and have a look.
 
Regarding hdparm and smartctl. Just reading the disk state using hdparm doesn't cause negative impact on disk operation, but reading smart attributes using smartctl may have impact on disk operation, depending on disk brand and model. Therefor temperature reading in the GUI is set to an interval of several minutes (this is set thru Tunable (poll_attributes) under disk settings). Bringing it down to lower than a minute can give bad disk performance as it will interfere too much with normal disk operation. My advice: keep 1 minute as the lowest interval.
 

That's what I thought. Thank you for clarifying that. I run both tunable and fan control at 3 min intervals.
  • Author
Would it be possible to implement a functonality to set Different Intervalls for each Zone?
For example
1sec for CPU FanA and
5min for HDD Fan1234?

That could lead to a similar problem by hammering the ipmi. It could freeze up the IPMI Settings/Readings pages and possibly the entire webgui if you have temps and fans in the footer. I have had this happen before when an ipmi command hung.

My question to you would be what use case would you need such fine control over the CPU fan? Is there a situation where the temp is going to rise that dramatically in less than a minute. The fan should already be spinning and cooling to some degree. It might have a small spike in temp but should even out.

The way the fan control its written right now it would be difficult to add this. The highest hard drive temp is injected as a sensor when I get ipmi sensor readings. So it shows up like an ipmi sensor. I wrote the fan control script with the mindset to minimize executions. It won't execute if the pwm is the same when polling. I also have it round the (% value x 16) then x 4 to get the pwm instead of just rounding x 64. Partly so it won't execute when a value changes just 1 point and goes from say 30 to 31 then back to 30. It needs to go to 32 or drop to 28. This then creates a +/- 4 in accuracy. So if you were to run it at a smaller interval, it may not even change anything.

I would say run it a little longer and watch the fan log.
22 minutes ago, dmacias said:

The highest hard drive temp is injected as a sensor when I get ipmi sensor readings. So it shows up like an ipmi sensor.

Just want to be sure, is this the correct temp?

 

SafariScreenSnapz034.thumb.jpg.f287958df9a8722af006cc11384d6f02.jpg

  • Author
Just want to be sure, is this the correct temp?
 
SafariScreenSnapz034.thumb.jpg.f287958df9a8722af006cc11384d6f02.jpg

That temp is the highest hdd temp pulled from from unRAID webgui. It may differ depending on when it was polled and when the webgui actually pulled it from the hard drive.

Thanks. I actually had thought it was a physical sensor in the drive bay (glad it's not). Was wondering how it was connected to the mobo.:$:D

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.