Code Monkey home page Code Monkey logo

synology_smart_info's Introduction

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

UDMA CRC Errors

NVMe drives removed while NAS was running

SSD with reallocated sectors

HDD and SSD when run with --all option

HDD and NVMe when run with --all option

synology_smart_info's People

Contributors

007revad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

synology_smart_info's Issues

Is it possible to support USB external HDD?

Is there any chance that the script will be able to support USB external HDD? I originally used smartctl -a -d sat /dev/usb1 to check. But it seems to be not working in the new version of DSM.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.