Dynamix - V6 Plugins


Recommended Posts

so i contacted unraid developers.. and they say the "hwmonX"  is a Kernel issue and they dont write the kernel

 

maybe the developer of the AutoFan

 

could make it 

1..  use Hard Drive Serial Numbers  not SDx   DevX      numbering

 

2..

since the HwmonX   constantly changes so makes plugin useless if you change hard drives

and seems to be Hwmon0 Hwmon1 Hwmon2  maybe a 3

for each fan..   Save  Fan 1

hwmon0

hwmon1

hwmon2      

with the exact same settings.. this way  when Hwmon0  changes to Hwmon2     it wont bugger up...  this way it be a work around instead of constantly re scanning the for the hwmon change

 

Link to comment

Hi @bonienl,

It seems like this plugin will spin up SAS drives every $INTERVAL minutes. It checks for HD temps, however the test for spun-down status is good for ATA drives and not for SAS drives.

I proposed a small code change (pull request onto your repo) to fix this. Thanks for considering it.

Link to comment

I'm trying to have Dynamix Sleep gracefully shutdown another machine before shutting down the host its running on.

I installed ipmitools via Nerd Pack and when I run the following command via console, it shuts down the remote machine just fine:

ipmitool -I lan -H 192.xx -U ADMIN -P password chassis power soft

 

When adding this same command in the "custom commands before sleep" box in Dynamix Sleep settings, it doesn't execute at all.

Am I doing something wrong?

Link to comment
1 hour ago, Krikro said:

I'm trying to have Dynamix Sleep gracefully shutdown another machine before shutting down the host its running on.

I installed ipmitools via Nerd Pack and when I run the following command via console, it shuts down the remote machine just fine:

ipmitool -I lan -H 192.xx -U ADMIN -P password chassis power soft

 

When adding this same command in the "custom commands before sleep" box in Dynamix Sleep settings, it doesn't execute at all.

Am I doing something wrong?

Just a thought - have you tried giving the full path to the ipmitool command - not sure the environment when you run via the command line is the same as when you run the script.

Link to comment
On 6/18/2022 at 5:44 PM, itimpi said:

Just a thought - have you tried giving the full path to the ipmitool command - not sure the environment when you run via the command line is the same as when you run the script.

I tried "/usr/bin/ipmitool -I lan -H 192.168... -U ADMIN -P password chassis power soft" but that didn't work either I'm afraid

Link to comment

Is there any command before sleep, that will check if any VM is running before executing the sleep mode? (Dynamix S3 Sleep)
My server draws at IDLE around 55 Watts from the wall and i would like to reduce my powerbill. But however I tried to configure my sleep setting there seems to be only two options for me: the server is running the hole time or he will shut down at the given time (my sleep method, because I use the wakeup schedule on my bios to start the server). I would like to delay my shutdown time when i`m gaming on my VM. After VM shutdown I like to continue the sleep schedule (Wait for VM inactivity before Sleep). Using my current settings it will shutdown perfectly at schedule whether I game on my VM  or not.1444482177_S3Sleepsettings.thumb.PNG.3f9579569572bedc9d17a7a08b056818.PNG


I thought the "Wait for host inactivity (IP address)" setting will do the trick but it dosnt seem to recognize my VM IP adress. Are my network settings the problem and i have to set them on bond0? For my VM I forwarded the boot drive and i tried the option "Monitor disks outside array" but it dosent help either. When i use the "Wait for array inactivity" setting it doesn`t shutdown at all (independent if i exclude or include the cache.)

 

Thank you for your help, I'm new to this community and please excuse my poor English skills, I'm not a native speaker.

Link to comment
On 6/19/2022 at 8:42 AM, lgil said:

Hi,

Anyone who updated to 6.10.3 get the fan control working?



Luis Gil
CS381 - MSI MAG B460M Mortar - Intel Core I9 10900T -


 

It worked for me. I mean when I emptied the exclude drives box it worked fine for fan control

The problem is that this plugin was waking up my sas drives (sata were fine) every five minutes when it was pulling the temp reading via smartctl. I had to remove the plugin. Now I have fans at 100% all the time, but at least my drives are sleeping.

 

and 12 drives x 20 Watts 24h x 365 days at current electricity prices... no thank you.

Link to comment
43 minutes ago, azzkickr said:

It worked for me. I mean when I emptied the exclude drives box it worked fine for fan control

The problem is that this plugin was waking up my sas drives (sata were fine) every five minutes when it was pulling the temp reading via smartctl. I had to remove the plugin. Now I have fans at 100% all the time, but at least my drives are sleeping.

 

and 12 drives x 20 Watts 24h x 365 days at current electricity prices... no thank you.

doron has created a PR to add sas support he has added on the sas spin down plugin page for test until the PR is merged.

Link to comment
1 hour ago, SimonF said:

 

Yeah, while it does spin down sas drives, the auto fan control almost immediately spins them up again, since update to 6.10
Which is kinda dumb. But auto fan invokes smartctl to check the temperature and that wakes the disks down.

 

So at the moment you can use either one or the other.

Link to comment
5 hours ago, azzkickr said:

Yeah, while it does spin down sas drives, the auto fan control almost immediately spins them up again, since update to 6.10
Which is kinda dumb. But auto fan invokes smartctl to check the temperature and that wakes the disks down.

 

So at the moment you can use either one or the other.

Did you see the post for the test fix for autofan? Below is the PR

 

https://github.com/bergware/dynamix/pull/61

Link to comment
58 minutes ago, insomnia417 said:

no fan , H370N

LOL, i gotta say this might be the most asinine post i've ever seen!

 

you might wanna start off with motherboard make and model, is system temps and auto fan installed? maybe a few screenshots of the plugin pages, the output from sensors detect, etc.

 

 

Link to comment
On 6/18/2022 at 5:44 PM, itimpi said:

Just a thought - have you tried giving the full path to the ipmitool command - not sure the environment when you run via the command line is the same as when you run the script.

Would it perhaps work if I create a user script:

#!/bin/bash
ipmitool -I lan -H 192.168.xx -U ADMIN -P password chassis power soft
exit

 

And execute that script via the custom options value?

How would I refer to the CA user script in the custom options value?

 

Any help is greatly appreciated.

Link to comment
39 minutes ago, spl147 said:

LOL, i gotta say this might be the most asinine post i've ever seen!

 

you might wanna start off with motherboard make and model, is system temps and auto fan installed? maybe a few screenshots of the plugin pages, the output from sensors detect, etc.

 

 

sorry my english is poor

Edited by insomnia417
Link to comment

Active Streams i a neat little plugin, but i would really like to see an option to include its data display on the dashboard, its so hidden away. Is there an easy way to do that?

 

Another thing i would love is to output the data active streams sees to a logfile with timestamps, is there any plugin for that type of logging? To see what was accessed when by who (ip / user)

Edited by je82
Link to comment
On 6/23/2022 at 11:09 PM, je82 said:

Active Streams i a neat little plugin, but i would really like to see an option to include its data display on the dashboard, its so hidden away. Is there an easy way to do that?

 

I'm making use of "Custom Tab" plugin to show the Active Streams (See Picture)

However, is the Active Stream plugin working? Especially on 6.10.3?
Im getting No active streams all the times, which is not true whatsoever 

Unraid Custom Tab.png

Link to comment

First of all big thanks @bonienl for all your usefull plugins and the great work for the cummunity!!! 🥰

 

As usual on a new Unraid box, the "dynamix system temp" plugin is a must have. I installed it, went to the settings page, pressed Detect and nothing happened. Same after a reboot. No drivers have been detected or loaded. After searching around and a little help from @ich777 I found a solution and thought I post a small How2 in case someone else finds this useful.

 

for reference my initial post:

 

My new system is a MinisForum HM90 mini PC.

 

Specs:

  • Ryzen 9 4900H (Renoir Zen 2) with Radeon RX Vega 8 Graphics
  • 2x 16GB Kingston 3200 DDR4
  • Kingston 512GB NVME (cache for VMs)
  • 2x Samsung 870 1TB SSD (data-pool for system, appdata and files)
  • random flash stick as dummy array disk
  • Unraid 6.10.3

installed plugins:

  • Dynamix System Temperature
  • GPU statistics
  • Nerd Tools
  • Radeon Top
  • Nuvoton NCT6687 Driver
  • Unassigned Devices
  • and all sorts of other useful stuff

+ a couple dockers (Nextcloud, Jellyfin ...)

 

sensors gave me the following output:

root@mini:~# sensors
amdgpu-pci-0600
Adapter: PCI adapter
vddgfx:        1.32 V  
vddnb:       874.00 mV 
edge:         +44.0°C  
slowPPT:       4.00 mW 

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +60.2°C  

nvme-pci-0100
Adapter: PCI adapter
Composite:    +43.9°C  (low  =  -0.1°C, high = +84.8°C)
                       (crit = +94.8°C)

 

running "sensors-detect" showed:

root@mini:~# sensors-detect
# sensors-detect version 3.6.0
# System: BESSTAR TECH LIMITED HM90 [Default string]
# Kernel: 5.15.46-Unraid x86_64
# Processor: AMD Ryzen 9 4900H with Radeon Graphics (23/96/1)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      Yes
Found `ITE IT8613E Super IO Sensors'                        Success!
    (address 0xa30, driver `to-be-written')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): YES
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): yes
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Using driver `i2c-piix4' for device 0000:00:14.0: AMD KERNCZ SMBus
Module i2c-dev loaded successfully.

Next adapter: SMBus PIIX4 adapter port 0 at 0b00 (i2c-0)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: SMBus PIIX4 adapter port 2 at 0b00 (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: SMBus PIIX4 adapter port 1 at 0b20 (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM i2c hw bus 0 (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM i2c hw bus 1 (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM i2c hw bus 2 (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM i2c hw bus 3 (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM aux hw bus 1 (i2c-7)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM aux hw bus 2 (i2c-8)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU DM aux hw bus 3 (i2c-9)
Do you want to scan it? (yes/NO/selectively): yes


Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `to-be-written':
  * ISA bus, address 0xa30
    Chip `ITE IT8613E Super IO Sensors' (confidence: 9)

Note: there is no driver for ITE IT8613E Super IO Sensors yet.
Check https://hwmon.wiki.kernel.org/device_support_status for updates.

No modules to load, skipping modules configuration.

Unloading i2c-dev... OK

root@mini:~# 

 

"k10temp-pci-00c3" looked like this is the CPU temp sensor for the 4900H.

As ich777 pointed out 'ITE IT8613E Super IO Sensors' might also be something to look at. It's actually the chip managing the fan speeds.

 

First thing I did, I compared it with my other AMD build (Threadripper TRX40 plattform) where I also have Dynamix System Temps installed. In the plugin folder on the TRX40 Unraid flash disk I found a couple files that are missing on the new box.
 

/boot/config/plugins/dynamix.system.temp

 

drivers.conf:

it87
k10temp

sensors.conf:

# sensors
chip "it8792-isa-0a60"
ignore "fan1"
chip "it8792-isa-0a60"
ignore "fan2"
chip "k10temp-pci-00c3"
label "temp1" "CPU Temp"
chip "it8792-isa-0a60"
label "temp1" "MB Temp"
chip "it8792-isa-0a60"
label "fan3" "Array Fan"

 

Same "k10temp-pci-00c3"  as on my new HM90 box. So I manually created the "drivers.conf" on the new system with the same drivers to load (it87+k10temp). After that I went back to the "Dynamix System Temperature" settings page and it87 + k10temp showed up as available drivers.

 

available.png.46e1fcc211f898a347686218dfde5344.png

 

Be careful don't press detect or the entry will be removed again. Pressing save and the sensors should be available to select now but a sensor for the fan speed is still missing.

 

1411504717_driversselect.png.cd448760d1c5af1248f49bf6bd7e343d.png

 

A quick restart of the box and still only the k10temp, gpu and nvme sensors showed up. In another forums thread a user with a Terramaster box had the solution for me.

 

 

Forcing another id did the trick and the fan speed showed up and a couple other temp sensors.

 

modprobe it87 force_id=0x8620

 

fan.png.27c46b6a47dbfcca9052bf2ffae28aae.png

 

Unfortunately this will not survive a system reboot. You have to add that line on your go file located in the config folder on your Unraid flash disk.

 

nano /boot/config/go

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

# load driver for System Temp to show fan speeds 
modprobe it87 force_id=0x8620

 

If someone knows what these other 3 temp sensors are showing, let me know.

 

1639266471_modprobelforceid.png.f18468cc5f1afa20d24b7c0b02be59c6.png

 

@limetech In the release notes for 6.6.0-RC1  you stated:

 

- removed CONFIG_SENSORS_IT87: ITE IT87xx and compatibles
- it87: version 20180709 groeck Linux Driver for ITE LPC chips (https://github.com/groeck/it87) 

 

Are there any new drivers available which replaced these old it87 ones that I can use instead or which can you implement and auto load in Unraid?

 

And another question:

@bonienl is there an easier way for people to load these drivers by clicking "detect" and not doing it by hand?

 

 

Link to comment

Hey first of all thanks for the great plugins!

 

Quick bug report: I just updated to the latest version of System Statistics and the System Stats graphs don't work anymore. They do in "Real-time" but not for "Last day" etc. What do you need to help fix this issue?

 

Tried changing some settings and reinstalled.

 

Edit: Was on 6.9.3. Updating to 6.10.3 fixed it.

Edited by jesta
Link to comment

For the Active Streams plugin, is there a way to view local streams? On the homepage, it shows 2 streams on one of my shares, but Active Streams shows nothing. I'm fairly certain one of my Docker containers is using that share, but not sure how to find this out.

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.