Show Synology smart test progress or smart health and attributes. Can also email you when important values change.
The script works in DSM 7, including DSM 7.2, DSM 7.3 and DSM 6.
In DSM 7.2.1 Synology removed the ability to view S.M.A.R.T. attributes in Storage Manager.
UPDATE
- v1.4.34 and later now decodes Seagate HDD and Synology HAT3300 HDD SMART values for attributes 1, 7, 195 and 240 with smartctl 6 or smartctl 7.
- v1.4.37 and later now also decodes Seagate HDD and Synology HAT3300 HDD the SMART value for attributes 188 with smartctl 6 or smartctl 7.
Install SynoCommunity's SynoCli Disk Tools because it includes smartctl 7.5 as it has a better formatted output (especially for Seagate HDDs and Synology HAT3300 HDDs).
There are 2 ways to install SynoCli Disk Tools:
- Add SynoCommunity as a Community package source in Package Center then install SynoCli Disk Tools.
- Or Download the spk file here https://synocommunity.com/package/synocli-disk and do a Manual Install in Package Center.
- Download the latest version Source code (zip) from https://github.com/007revad/Synology_SMART_info/releases
- Save the download zip file to a folder on the Synology.
- Unzip the zip file.
How to enable SSH and login to DSM via SSH
Run the script:
sudo -s /volume1/scripts/syno_smart_info.shNote
Replace /volume1/scripts/ with the path to where the script is located.
To see all the SMART attributes run the script with the -a or --all option:
sudo -s /volume1/scripts/syno_smart_info.sh --allNote
The script automatically shows all SMART attributes for any drives that don't return "SMART test passed".
To see only important SMART attributes that have changed since you last ran the script run the script with the -i or --increased option:
sudo -s /volume1/scripts/syno_smart_info.sh -iSee How to schedule a script in Synology Task Scheduler
There are optional flags you can use when running the script:
-a, --all Show all SMART attributes
-e, --email Disable colored text in output scheduler emails
-i, --increased Only show important attributes that have increased
-u, --update Update the script to the latest version
-h, --help Show this help message
-v, --version Show the script versionAll healthy
One drive marginal
UDMA CRC Errors
NVMe drives removed while NAS was running
SSD with reallocated sectors
Run with --increased option
HDD and SSD when run with --all option
HDD and NVMe when run with --all option







