Monitor disc heath using Scrutiny (Docker)

  • Dear Friends,


    Here is my configuration for monitoring disk health using scrutiny, a docker-compose application that allows to monitor disc using smartclt information.

    Scrutiny can email you every time a bad sector is discovered, before the disk drive actually fails.


    Here are some screenshots :


    scrutiny.jpg

    scrutiny2.jpg



    Here is the docker-compose.yml file:


    Inside your docker scrutiny folder, you will need two folders: config and influxdb


    I also added the following files:


    sudo cat /home/docker/scrutiny/config/collector.yaml


    sudo cat /home/docker/scrutiny/config/scrutiny.yaml


    Data is collected on every startup of docker container and every hour by CRON SCHEDULE. Adapt to your needs.


    The most important part is the notify line: john_doe%40gmail.com is your GMAIL email account, password is your password, john_doe@gmail.com is the sender email address and email@adress.com is the recipient. You will be notified of every disc failure.


    Before everything, make sure that smartctl -x /dev/sda returns the smart information. If you are using SAS drivers, you may need to use

    smartctl -d sat -x /dev/sda


    Adapt /dev/sda and further to your drive list.


    Also, adapt the system hostname (r720XD in my case) to your system hostname.


    It should work ...


    Kind regards,

    R2-D2

    1 x Dell R720XD PowerEdge, with Debian 13+OpenMediaVault

    2 x 1TB nvme for raid1+btrfs system

    10Gbit network (SFP+)

    11 x 10Tb SAS drives + 1 spare drive (running) in zraid3 + 3 additional spares (not running)

    2 x 800GB SSD drives (unused)

    1 x LSI SAS2308 PCI-Express Fusion-MPT SAS-2 controller card in mini-mono format

    256Go RAM

    1 x APC RT2000XL UPS with 1 x SNMP APC 9631 card
    3 x Rpi 5-CM with nvme systems

    Edited once, last by C-3PO ().

  • C-3PO

    Changed the title of the thread from “Monitor failing discs using Scrutiny (Docker)” to “Monitor disc heath using Scrutiny (Docker)”.
  • votdev

    Approved the thread.

Participate now!

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