how to read S.M.A.R.T data via ssh??

i just spent an hour searching the forums, asking google and roaming the / via ssh on my TS-932PX running qts 5.2.9 in oder to do a rather simple task:

read the smart data of my drives via ssh/cli (i know there is a sub-sub-window in the drives&snapshots section in the webui, but nothing i can export).

there is no smartctl an no obvious other tools (and the qts is not that well documented regarding cli tooling as it seems ..)

so how can i read the smart data via ssh/cli??

You can use qcli for this

qcli -l user=admin pw=adimpassword saveauthsid=yes

qcli_hdd -m diskID=00000001

To get info for all internal disks, here is a demo result for one of my NAS:(disk 00000001, increment for further disks)


AttrID Description                  Value WorstValue Threshold RawValue     Status
5      Retired_Block_Count          100   100        010       0            Good
9      Power-On_Hours               093   093        000       31556        Good
12     Power_Cycle_Count            099   099        000       10           Good
177    Wear_Range_Delta             076   076        000       233          Good
179    Used_Rsvd_Blk_Cnt_Tot        100   100        010       0            Good
181    Program_Fail_Count           100   100        010       0            Good
182    Erase_Fail_Count             100   100        010       0            Good
183    Runtime_Bad_Block            100   100        010       0            Good
187    Reported_Uncorrect_Error     100   100        000       0            Good
190    Airflow_Temperature_Cel      072   052        000       28           Good
195    ECC_On-The-Fly_Error         200   200        000       0            Good
199    SATA_R-Error_Count           100   100        000       0            Good
235    Power_Fail_Backup_Health     099   099        000       4            Good
241    Total_LBA_Written            099   099        000       947979410554 Good