hddtemp no longer maintained, plugin doesn't work
Brought to you by:
gerbier
Since hddtemp is no longer maintained and many distributions have dropped it, hddtemp no longer works. Someone wrote a shell script to emulate the output, https://github.com/slowpeek/hddtemp
I tried using it but haven't gotten any data into the stats page for hddtemp. It has an option for classic output, but that doesn't seem to work.
Can this be converted to use drivetemp instead? Or read the drive temperatures from the /sys filesystem?
What is the expected output from the script that this plugin uses? I could probably figure out how to modify the script to do that.
I just had a quick test on a fedora 40
old hddtemp code
$ /usr/bin/hddtemp
/dev/sda: CT1000MX500SSD1: 26°C
new replacement code :
$ sudo ./hddtemp-lt --classic
/dev/sda: CT1000MX500SSD1: 26°C
so it is looking nice. I will work on a new hddtemp module version.
Thanks for the link
I have understand the problem : my hddtemp module use hddtemp bin with the '-n' argument, which does not exists in hddtemp-lt.
There is ways to fix it
- a patch to add the -n argument to hddtemp-lt (almost done)
- or change output parsing in my module
The problem is fixed in devel branch. It will be available in webminstats 2.23.
If hddtemp is not available, it will use a local hddtemp-lt code.