GUI possible bug in S.M.A.R.T. temperature selection

  • Hi, is this a bug in the GUI?


    I turned on S.M.A.R.T. temperature monitoring and set the maximum to 50°C:




    E-Mail notifications are turned on.


    After applying the S.M.A.R.T. settings I received this email:



    The message does refer to a 55 Celsius maximum. So it does look like the selection list in the GUI is mismatched.

  • votdev

    Added the Label resolved
  • votdev

    Added the Label OMV 7.x
  • Hello. As you set the thread to solved immediately, I am not sure if it is still relevant for you.


    Anyways:

    Please post the content of /etc/smartd.conf.

    Code
    DEFAULT -a -o on -S on -T permissive -W 0,50,55 -n never,q
    /dev/disk/by-id/ata-Samsung_SSD_870_EVO_4TB_xxx \
      -m mail@mydomain.de -M exec /usr/share/smartmontools/smartd-runner
    
    
    /dev/disk/by-id/nvme-WD_BLACK_SN770M_2TB_xxx -d nvme \
      -m mail@mydomain.de -M exec /usr/share/smartmontools/smartd-runner


    Do you have configured default values for all devices?

    I think so.


    The configuration is generated according this https://github.com/openmediava…es/etc-smartd_conf.j2#L17


    -W DIFF[,INFO[,CRIT]] critical temp is setting from UI + 5 degrees, so this is correct. The UI setting is the INFO value. See https://linux.die.net/man/5/smartd.conf

    Thank you for looking up and sharing the insights. But how does this make sense from a user perspective? When I select 50° C in the GUI, then I expect to get a notification when reaching 50° C, not 55. I kindly suggest to adjust openmediavault's way to process the data.


    Another issue I encountered on a fresh openmediavault (version 7.6.0-1) this morning:


    One drive's temperature on the dashboard is 37° C. I turned on temperature monitoring and set it to 50° C.

    openmediavault sent me a mail immediately telling:


    Quote

    The following warning/error was logged by the smartd daemon:


    Device: /dev/disk/by-id/nvme-WD_BLACK_SN770M_2TB_xxx, Temperature 56 Celsius reached critical limit of 55 Celsius (Min/Max ??/56)

    Executing smartctl -a shows:


    So there seem to be two temp sensors on the drive. openmediavault's dashboard shows the Temperature or sensor 1's value? But smartd daemon watches sensor 2 and throws the alert accordingly?


    Thanks

    • Official Post

    When I select 50° C in the GUI, then I expect to get a notification when reaching 50° C, not 55. I kindly suggest to adjust openmediavault's way to process the data.

    The value you set in the UI is the -W DIFF[,INFO[,CRIT]] info attribute in the SMART configuration. OMV is adding 5 degrees for the critical attribute. My experience is that SMART is sending you emails in both cases, so you'll get an info notification when the device reaches 50 degress and another one when the critical is reached. So everything is fine from the point of view how OMV is configuring SMART.


    So there seem to be two temp sensors on the drive. openmediavault's dashboard shows the Temperature or sensor 1's value? But smartd daemon watches sensor 2 and throws the alert accordingly?

    OMV is extracting the temperature from the Temperature: 37 Celsius line.


    If several sensors are output in the SMART information, how should OMV decide which of them to use. Therefore, the value is read from “Temperature” that is output for all devices.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!