Skip to content

007revad/Synology_SMART_info

Repository files navigation

Synology_SMART_info

Donate committers.top badge

Description

Show Synology smart test progress or smart health and attributes.

The script works in DSM 7, including DSM 7.2, and DSM 6.

Download the script

  1. Download the latest version Source code (zip) from https://github.com/007revad/Synology_SMART_info/releases
  2. Save the download zip file to a folder on the Synology.
  3. Unzip the zip file.

How to run the script

Run the script via SSH

How to enable SSH and login to DSM via SSH

Run the script:

sudo -s /volume1/scripts/syno_smart_info.sh

Note
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 --all

Note
The script automatically shows all SMART attributes for any drives that don't return "SMART test passed".

Scheduling the script in Synology's Task Scheduler

See How to schedule a script in Synology Task Scheduler

Options when running the script

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
  -h, --help            Show this help message
  -v, --version         Show the script version

Screenshots

All healthy

One drive marginal

HDD and SSD healthy

HDD and SSD when run with --all option

HDD and NVMe when run with --all option