petersulyok / smfc

Super Micro Fan Control
GNU General Public License v3.0
171 stars 14 forks source link

Request support for remote IPMI #27

Open davidngrc opened 11 months ago

davidngrc commented 11 months ago

it seems like this script is install on a host directly. but what if the host is proxmox and want to keep it clean, so this script should install in a vm. possible add remote support? I think the command is ipmitool -U ipmi_user_name -P ipmi_password -H ipmi_ip

petersulyok commented 11 months ago

Not sure if I got the idea correctly but I think it could not work like this. Remote IPMI management is possible (as you suggested) but you need CPU and HD temperature as well from the remote machine and it is not trivial.

I would rather install this systemd service on the proxmox machine (in /opt or in /usr/local folder) instead of a VM.

petersulyok commented 11 months ago

Hi @davidngrc, thinking further on this feature request I think adding extra command line parameter would be not hard at all. Could you please double check if you can read the temperature of the CPU and SATA HD correctly in a VM? I'm not sure if drivetemp can be loaded properly and please compare the temperature value coming in a VM with the temperature of the host machine. Thanks.

petersulyok commented 6 months ago

Adding a new docker support for SMFC v3.4.0 might solve your issue here. @davidngrc please check it out.

alexanderek commented 6 months ago

Hello!

In my case, the script should work on Proxmox host, getting CPU temperature locally, but HDD disks themselves are in TrueNAS VM. Is there any way to make the script work?

petersulyok commented 6 months ago

In my case, the script should work on Proxmox host, getting CPU temperature locally, but HDD disks themselves are in TrueNAS VM. Is there any way to make the script work?

Let me understand your plan. You are running Proxmox host and there is a VM running TrueNAS with assigned/dedicated hard disks, right? My assumptions is that you may run smfc inside TrueNAS. What do you think?

petersulyok commented 6 months ago

Also, my other idea is to run docker in LCX in Proxmox.

alexanderek commented 6 months ago

Correct, proxmox and vm truenas scale. I originally thought of running this on the proxmox host, and getting disk temperatures somehow remotely from truenas.

petersulyok commented 6 months ago

I do not have experience of running smfc on either Proxmox or on TrueNAS Scale platforms. I thought docker support might help here, but if you don't access to the host hardware and IPMI interface this could be a issue, definitely.

I will try to understand the issues around these two platforms better.