Menu

#4 hddtemp no longer maintained, plugin doesn't work

2.0
closed
None
2025-01-07
2024-09-16
James
No

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.

Discussion

  • eric gerbier

    eric gerbier - 2024-09-17
    • status: open --> pending
     
  • eric gerbier

    eric gerbier - 2024-09-17

    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

     
  • eric gerbier

    eric gerbier - 2024-09-17

    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

     
  • eric gerbier

    eric gerbier - 2025-01-07
    • status: pending --> closed
    • assigned_to: eric gerbier
     
  • eric gerbier

    eric gerbier - 2025-01-07

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB