DockerSelf-Hosting

Scrutiny with Docker: Watch Your Hard Drives' S.M.A.R.T. Health in a Web Dashboard (Linux, Windows, Mac)

Before you start

  • 21 min read
  • Updated November 2026

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

Scrutiny is a free, self-hosted dashboard for drive health: a small collector reads the S.M.A.R.T. data of your hard drives and SSDs, a web page shows it with history and temperatures, and it can send an alert when a drive looks bad.

Scrutiny official logo

Logo: the official Scrutiny project (github.com/AnalogJ/scrutiny); its README credits the glasses icon to "Glasses by matias porta lezcano"

S.M.A.R.T. is the health report most drives keep about themselves: error counts, hours powered on, temperature. The tool that reads it, smartctl, shows one moment. Scrutiny stores it over time and compares it with real failure rates. It suits a NAS or home server with several drives. It does not replace backups, and a drive can die with no warning.

WhatValue (official sources, read November 2026)
Current versionScrutiny v0.10.0, released 1 November 2026 (previous: v0.9.5, 30 September 2026)
Image to pinghcr.io/analogj/scrutiny:v0.10.0-omnibus (checked on ghcr.io: amd64 and arm64)
Time neededAbout 20 minutes (our estimate, not measured)
RAMNo official minimum. The author says about 100 MB at idle; that is not a benchmark
PortsTCP 8080 (dashboard and API) and 8086 (InfluxDB, the database; keep it inside)
LicenceMIT (LICENSE at the release tag); no paid edition found
Official docsREADME at v0.10.0 and the docs/ folder

Screenshot of the Scrutiny drive details page: a table of S.M.A.R.T. attributes with status labels, values, thresholds, failure rate and history, and a side panel with model, serial number, capacity and temperature

Image: the official Scrutiny project (docs/details-full.png at v0.10.0, "Drive Details" screenshot; an older look, so your screen may differ)

At a glance:

  • Parts: a web app and API, an InfluxDB database for the history, and a collector that runs smartctl. The all-in-one "omnibus" image holds all three.
  • Login: none in the official docs. Put a login in front of it (HTTPS section).
  • Linux: the full route, with the drives passed into the container.
  • Windows and Mac: Docker Desktop cannot see physical drives, so a native collector reads them.
  • Alerts: we use ntfy, our self-hosted push guide.

Which version. v0.10.0 is the newest stable release. We pin the exact tag: the README calls latest- tags dangerous, and the official example file uses nightly-omnibus (a nightly build of the main branch).

Is it maintained? Yes: not archived, last commit we saw 23 November 2026. The README still calls Scrutiny "a Work-in-Progress" with "some rough edges". A separate fork (Starosdev) adds a login and more, with its own settings. This guide covers only the original; never copy settings between the two.

How it fits together#

The collector reads each drive and uploads the data to the web app, which keeps history in InfluxDB and settings in a SQLite file, serves the page on port 8080 and sends alerts.

Scrutiny flow: your drives are read by the collector with smartctl, the collector uploads to the web app and API on port 8080, which stores history in InfluxDB and settings in a SQLite file on the host, sends alerts to ntfy, and is opened by you in a browser through an optional Traefik or Caddy HTTPS proxy

Drawn for this guide from the official README and docs. The dashed route is optional.

We use three layouts. Omnibus: everything in one container, for one Linux machine. Hub and spoke: one web app and database, a collector on every monitored machine. Native collector: the collector is a program on the host, for Windows and Mac.

Before you start#

SystemWhat to have
LinuxDocker Engine and the Compose plugin; x86-64 or arm64
WindowsDocker Desktop (WSL 2) for the dashboard; smartmontools and an Administrator PowerShell for the collector
MacDocker Desktop for the dashboard; Homebrew for smartmontools

Windows and Mac, plainly. Docker Desktop runs Linux containers inside a virtual machine, so they cannot read your real drives. The smartmontools FAQ says a mapped disk "does not imply the ATA or SCSI pass-through access required" for S.M.A.R.T. Docker's FAQ adds that Docker Desktop has no direct USB passthrough. The collector must run on the host itself.

Check Docker (the same on every system):

Run in terminalbash
docker --version
docker compose version

Checklist:

  • [ ] Docker and Compose print versions; smartctl is 7 or newer (Step 1)
  • [ ] Port 8080 is free on the host (we publish it on 127.0.0.1 only)
  • [ ] For alerts: a running ntfy server and a token (our ntfy guide)
  • [ ] For the HTTPS section only: a domain with a DNS record, and ports 80 and 443 free

Tested by DIY Lab Hub: not yet. Commands come from the official README, examples and docs at v0.10.0, read in November 2026. We did not run them.

Step 1: Check your drives with smartctl#

Scrutiny cannot show what smartctl cannot read, so test on the host first. smartctl is part of smartmontools; the collector needs version 7 or newer.

Linux#

Run in terminalbash
sudo apt-get install -y smartmontools
smartctl --version
sudo smartctl --scan
lsblk -d -o NAME,SIZE,MODEL

On other distributions use their package manager. If it offers only an old smartmontools, install a 7+ build.

Windows (PowerShell)#

Install smartmontools 7.5 with the Windows installer from the official download page. Then open PowerShell as Administrator:

Codepowershell
& "C:\Program Files\smartmontools\bin\smartctl.exe" --version
& "C:\Program Files\smartmontools\bin\smartctl.exe" --scan

If the folder differs on your PC, use the path the installer shows.

Mac (Terminal)#

Run in terminalbash
brew install smartmontools
smartctl --version
sudo smartctl --scan

Check it worked. The scan lists your drives, one line each. The official docs show lines like /dev/sda -d scsi # /dev/sda, SCSI device. Write down the names you want to watch. If the scan is empty, stop here: Scrutiny cannot do better.

Tip: An NVMe drive shows as /dev/nvme0 (the controller) and /dev/nvme0n1 (its storage namespace). Scrutiny needs the controller name; the n1 form is a common mistake (issue 723).

Step 2: Create the folders and secrets#

On first start Scrutiny sets up its own InfluxDB. By default it uses the public login admin / password12345 and the token scrutiny-default-admin-token. We set our own values in a .env file before the first start. Setting them later does not change an existing database.

Linux#

Run in terminalbash
mkdir -p ~/docker_volumes/scrutiny/{config,influxdb,backups}
cd ~/docker_volumes/scrutiny
printf 'INFLUX_USER=scrutiny\nINFLUX_PASSWORD=%s\nINFLUX_TOKEN=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -hex 24)" > .env
chmod 600 .env

Windows (PowerShell)#

Codepowershell
New-Item -ItemType Directory -Force "$HOME\docker_volumes\scrutiny\config", "$HOME\docker_volumes\scrutiny\influxdb", "$HOME\docker_volumes\scrutiny\backups" | Out-Null
Set-Location "$HOME\docker_volumes\scrutiny"
function New-Secret { $b = New-Object byte[] 24; [Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($b); ($b | ForEach-Object { $_.ToString("x2") }) -join "" }
@"
INFLUX_USER=scrutiny
INFLUX_PASSWORD=$(New-Secret)
INFLUX_TOKEN=$(New-Secret)
"@ | Set-Content -Encoding ascii .env

Mac (Terminal)#

Same commands as Linux.

Check it worked. cat .env (Windows: Get-Content .env) shows three lines with long random values. Keep a copy in your password manager. Keep .env next to the Compose file.

Step 3: Write the Compose file and start Scrutiny#

Linux uses the omnibus image. Windows and Mac start only the dashboard and database: the official hub and spoke example without its collector, as the Windows guide says. Our changes: stable tags instead of nightly, port 8080 on 127.0.0.1 only, no published port 8086, our own InfluxDB values.

Linux#

Replace /dev/sda and /dev/sdb under devices: with your names from Step 1. A name that does not exist stops the container.

Run in terminalbash
cd ~/docker_volumes/scrutiny
cat > docker-compose.yml << 'EOF'
services:
  scrutiny:
    image: ghcr.io/analogj/scrutiny:v0.10.0-omnibus
    container_name: scrutiny
    restart: unless-stopped
    cap_add:
      - SYS_RAWIO
    ports:
      - "127.0.0.1:8080:8080"
    environment:
      - SCRUTINY_WEB_INFLUXDB_INIT_USERNAME=${INFLUX_USER}
      - SCRUTINY_WEB_INFLUXDB_INIT_PASSWORD=${INFLUX_PASSWORD}
      - SCRUTINY_WEB_INFLUXDB_TOKEN=${INFLUX_TOKEN}
    volumes:
      - /run/udev:/run/udev:ro
      - ./config:/opt/scrutiny/config
      - ./influxdb:/opt/scrutiny/influxdb
    devices:
      - /dev/sda
      - /dev/sdb
EOF
docker compose up -d
docker compose ps
docker compose logs --tail=50 scrutiny

SYS_RAWIO lets smartctl talk to the drives, devices hands each drive in, and /run/udev gives the collector drive details. For NVMe add - SYS_ADMIN under cap_add and pass /dev/nvme0; that right is strong (see Security).

Windows (PowerShell)#

Codepowershell
Set-Location "$HOME\docker_volumes\scrutiny"
@'
services:
  influxdb:
    image: influxdb:2.8
    restart: unless-stopped
    volumes:
      - ./influxdb:/var/lib/influxdb2
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8086/health"]
      interval: 5s
      timeout: 10s
      retries: 20

  web:
    image: ghcr.io/analogj/scrutiny:v0.10.0-web
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:8080"
    volumes:
      - ./config:/opt/scrutiny/config
    environment:
      - SCRUTINY_WEB_INFLUXDB_HOST=influxdb
      - SCRUTINY_WEB_INFLUXDB_INIT_USERNAME=${INFLUX_USER}
      - SCRUTINY_WEB_INFLUXDB_INIT_PASSWORD=${INFLUX_PASSWORD}
      - SCRUTINY_WEB_INFLUXDB_TOKEN=${INFLUX_TOKEN}
    depends_on:
      influxdb:
        condition: service_healthy
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/api/health"]
      interval: 5s
      timeout: 10s
      retries: 20
      start_period: 10s
'@ | Set-Content -Encoding ascii docker-compose.yml
docker compose up -d
docker compose ps

Mac (Terminal)#

Same file and commands as the Windows block, in Terminal: create docker-compose.yml with the same text (use cat > docker-compose.yml << 'EOF' as in the Linux block), then docker compose up -d.

Check it worked. docker compose ps shows the containers running (healthy for the hub). Ask the health route, then open the page (on Windows use curl.exe):

Run in terminalbash
curl -f http://127.0.0.1:8080/api/health

The official files use this route as their health check; the docs give no body text, so we show none. Open http://127.0.0.1:8080. On Linux your drives should already be listed. On Windows and Mac the page is empty until Step 4.

Step 4: Run the collector#

The collector reads the drives once a day by default (cron 0 0 * * *, midnight). COLLECTOR_CRON_SCHEDULE changes that.

Linux#

The omnibus image ran the collector at start. Run it again for fresh data:

Run in terminalbash
docker exec scrutiny /opt/scrutiny/bin/scrutiny-collector-metrics run

Windows (PowerShell)#

The Windows collector is a program from the release page. Use an Administrator PowerShell.

Codepowershell
New-Item -ItemType Directory -Force C:\scrutiny | Out-Null
Set-Location C:\scrutiny
Invoke-WebRequest -Uri "https://github.com/AnalogJ/scrutiny/releases/download/v0.10.0/scrutiny-collector-metrics-windows-amd64.exe" -OutFile scrutiny-collector-metrics-windows-amd64.exe
@'
version: 1
commands:
  metrics_smartctl_bin: 'C:\Program Files\smartmontools\bin\smartctl.exe'
'@ | Set-Content -Encoding ascii collector.yaml
.\scrutiny-collector-metrics-windows-amd64.exe run --api-endpoint "http://localhost:8080" --config collector.yaml

collector.yaml tells the collector where smartctl.exe is. Then schedule it daily. This is our PowerShell version of the official Task Scheduler steps (run whether logged on or not, highest privileges):

Codepowershell
$dir = "C:\scrutiny"
$action = New-ScheduledTaskAction -Execute "$dir\scrutiny-collector-metrics-windows-amd64.exe" -Argument 'run --api-endpoint "http://localhost:8080" --config collector.yaml' -WorkingDirectory $dir
$trigger = New-ScheduledTaskTrigger -Daily -At 3:00am
$principal = New-ScheduledTaskPrincipal -UserId "SYSTEM" -LogonType ServiceAccount -RunLevel Highest
$settings = New-ScheduledTaskSettingsSet -StartWhenAvailable
Register-ScheduledTask -TaskName "Scrutiny collector" -Action $action -Trigger $trigger -Principal $principal -Settings $settings

-StartWhenAvailable runs a missed job once the PC is on again. Docker Desktop must be running, or the upload fails. The official guide shows hourly; daily is enough (see Performance).

Mac (Terminal)#

The release has a Mac collector per chip. We did not test it and the project has no Mac guide. The commands pick arm64 (Apple Silicon) or amd64 (Intel) and give the collector the full path to smartctl, because sudo may not find Homebrew's folder:

Run in terminalbash
mkdir -p ~/scrutiny-collector && cd ~/scrutiny-collector
[ "$(uname -m)" = "arm64" ] && ARCH=arm64 || ARCH=amd64
curl -fL -o scrutiny-collector-metrics "https://github.com/AnalogJ/scrutiny/releases/download/v0.10.0/scrutiny-collector-metrics-darwin-$ARCH"
chmod +x scrutiny-collector-metrics
printf "version: 1\ncommands:\n  metrics_smartctl_bin: '%s'\n" "$(command -v smartctl)" > collector.yaml
sudo ./scrutiny-collector-metrics run --api-endpoint "http://localhost:8080" --config collector.yaml

For a daily run use sudo crontab -e and a line with cd, the same command and 0 3 * * *. Test sudo smartctl -a /dev/disk0 first: smartmontools lists only limited NVMe support on macOS.

Check it worked. Reload http://127.0.0.1:8080: each readable drive is a card. A drive listed by smartctl --scan but missing here: see Troubleshooting.

Tip: A user with drives on a Thunderbolt-to-SATA bridge hit a path bug in the Mac collector (issue 742, moved to discussion 941); we found no fix. Treat Mac as experimental.

Read your dashboard#

Each drive card shows status, temperature, capacity and time powered on. Click it for the table of S.M.A.R.T. attributes with a history bar each.

A drive is Passed, Warn or Failed. Failed means S.M.A.R.T. itself says so, or an attribute matches high failure rates in Backblaze's public drive data. Hover the label to see which of the two fired. A drive that failed once stays marked failed until you remove the device or reset its status. Seagate drives are often flagged because they store some counters unusually (issue 255). Read trends: a count that was 0 for a year and now climbs says more than one high number.

Screenshot of a Scrutiny drive card named custom host id showing a red Failed status, 36 degrees Celsius, 12.73 TB capacity and 2 years powered on

Image: the official Scrutiny project (docs/multiple-host-ids.png at v0.10.0, host id screenshot from 2020; it shows the card layout, not the current look)

Step 5: Send alerts to ntfy#

Scrutiny alerts when a drive fails, when smartctl cannot run, and when a drive stops uploading. Notification addresses go in config/scrutiny.yaml, not in the Compose file (issue 562). Create a token for a write-only ntfy user as in our ntfy guide. In the address the user name is empty and the token is the password.

Linux#

Run in terminalbash
cd ~/docker_volumes/scrutiny
cat > config/scrutiny.yaml << 'EOF'
version: 1
notify:
  urls:
    - "ntfy://:<your-ntfy-token>@ntfy.<your-domain>/<your-topic>"
EOF
chmod 600 config/scrutiny.yaml
docker compose restart scrutiny
curl -X POST http://127.0.0.1:8080/api/health/notify

Windows (PowerShell)#

Codepowershell
Set-Location "$HOME\docker_volumes\scrutiny"
@'
version: 1
notify:
  urls:
    - "ntfy://:<your-ntfy-token>@ntfy.<your-domain>/<your-topic>"
'@ | Set-Content -Encoding ascii config\scrutiny.yaml
docker compose restart web
curl.exe -X POST http://127.0.0.1:8080/api/health/notify

Mac (Terminal)#

Same commands as Linux, but use docker compose restart web (the hub file calls the service web).

Check it worked. The last command is the official notification test; your phone should show a test message. Other services use other address forms (see example.scrutiny.yaml); special characters in a user name or password must be URL-encoded.

By default v0.10.0 also alerts when a drive's next upload is more than 10% late, judged from its last three uploads. For a drive that sleeps and is skipped, switch missed-upload alerts off in its device settings.

Tip: The v0.10.0 web app writes your full notification address, token included, to its log at info level. Never paste docker compose logs into an issue or chat. A write-only ntfy token limits a leak to sending messages. A fix (pull request 1143) was closed unmerged when we looked.

Put it behind HTTPS with Traefik#

If you only open Scrutiny on the machine itself, skip this section. For https://scrutiny.<your-domain> you need a domain with a DNS record to the server and ports 80 and 443 open.

Scrutiny has no login, so the proxy must provide one. Anyone who reaches the page sees your drive models and serial numbers. Both routes drop the host port and join a shared proxy network. Create it once:

Run in terminalbash
docker network create proxy

With Traefik#

On a server that already runs Traefik v3 with the Docker provider (our Traefik guide), remove the ports: block and add the keys below to the scrutiny service (on Windows and Mac, web). Our entrypoint is https, our resolver le, and the router carries its own certresolver label:

File contentyaml
    networks:
      - proxy
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy"
      - "traefik.http.routers.scrutiny.rule=Host(`scrutiny.<your-domain>`)"
      - "traefik.http.routers.scrutiny.entrypoints=https"
      - "traefik.http.routers.scrutiny.tls=true"
      - "traefik.http.routers.scrutiny.tls.certresolver=le"
      - "traefik.http.routers.scrutiny.middlewares=scrutiny-auth"
      - "traefik.http.middlewares.scrutiny-auth.basicauth.users=<user>:<hash-with-doubled-dollars>"
      - "traefik.http.services.scrutiny.loadbalancer.server.port=8080"

Then add this at the end of the file:

File contentyaml
networks:
  proxy:
    external: true

Make the hash as the project's Traefik example does; in a Compose file every $ must be doubled:

Run in terminalbash
echo $(htpasswd -nB '<user>') | sed -e 's/\$/\$\$/g'

htpasswd comes from the apache2-utils package. Run docker compose up -d. Check it worked. curl -I https://scrutiny.<your-domain>/ answers 401 without a password and a normal status with one (curl -u '<user>' -I ...).

Without Traefik: Caddy#

Choose this if you have no Traefik. Caddy gets and renews certificates itself. Use the Scrutiny file without labels: (keep networks: proxy), then add Caddy:

Run in terminalbash
mkdir -p ~/docker_volumes/caddy/{conf,data,config}
cd ~/docker_volumes/caddy
cat > docker-compose.yml << 'EOF'
services:
  caddy:
    image: caddy:2.11.9
    container_name: caddy
    restart: unless-stopped
    ports:
      - "80:80/tcp"
      - "443:443/tcp"
      - "443:443/udp"
    volumes:
      - ./conf:/etc/caddy:ro
      - ./data:/data
      - ./config:/config
    networks:
      - proxy

networks:
  proxy:
    external: true
EOF
docker run --rm -it caddy:2.11.9 caddy hash-password

The last command asks for a password and prints a hash. Save ~/docker_volumes/caddy/conf/Caddyfile with it:

File contenttext
scrutiny.example.com {
    basic_auth {
        <user> <hash-from-caddy>
    }
    reverse_proxy scrutiny:8080
}

For a home-only name add tls internal as the first line inside the braces. Start both stacks with docker compose up -d. Caddy reaches Scrutiny by container name: scrutiny:8080 (hub file: web:8080), never 127.0.0.1. Our Caddy guide shows how devices trust a local certificate.

Check it worked. curl -I https://scrutiny.example.com/ returns 401 until you send the password.

Tip: A browser login also blocks collectors on other machines. Let them upload over a private network or VPN (NetBird guide), not the public name.

Security and testing#

ControlHow
LoginNone built in. Use a proxy login or keep the page on 127.0.0.1
Port 8086Never publish it: the docs name a default InfluxDB login
Drive accessPass only the drives you need
Neverprivileged: true or all of /dev: the docs call it "insecure/dangerous" and "equivalent to running it with root access"
SecretsInfluxDB values in .env, notification token in scrutiny.yaml, both chmod 600
LogsHold notification tokens, serial numbers and host ids

The manual-install page warns that CAP_SYS_RAWIO "allows for data exfiltration/modification from SATA drives (ssh keys, /etc/shadow, etc)" and CAP_SYS_ADMIN "would theoretically allow for significant system compromise". Treat the collector as a trusted program. It needs root; a commenter in issue 718 runs only the web app and InfluxDB without it.

What leaves the machine: only the notification addresses you set. The docs name no telemetry switch; we did not audit the traffic.

More than one machine (hub and spoke)#

One machine runs the dashboard and InfluxDB (the hub file above). Every other machine runs only a collector. On Linux it looks like this (our file, from the official hub example):

File contentyaml
services:
  collector:
    image: ghcr.io/analogj/scrutiny:v0.10.0-collector
    restart: unless-stopped
    cap_add:
      - SYS_RAWIO
    volumes:
      - /run/udev:/run/udev:ro
    environment:
      - COLLECTOR_API_ENDPOINT=http://<hub-address>:8080
      - COLLECTOR_HOST_ID=<this-machine-name>
      - COLLECTOR_RUN_STARTUP=true
    devices:
      - /dev/sda

COLLECTOR_HOST_ID groups the cards by machine. COLLECTOR_RUN_STARTUP=true runs it at start; otherwise it waits for its schedule and the page stays empty. Publish the hub's port 8080 only on a private network or VPN.

Scrutiny or something else?#

ToolGood atWeak at
ScrutinyBrowser dashboard, history, alerts, several machinesNeeds InfluxDB and strong drive rights; no login
smartd / smartctl aloneNo extra parts; scans and self-testsCommand line, no history view
GSmartControlDesktop window around smartctl, all three systemsOne computer, no stored history
smartctl_exporterFits an existing Prometheus stackYou build dashboard and alerts

Pick Scrutiny for one page over all drives. For CPU, memory and disk use see our Beszel guide.

Common mistakes#

These come from the official docs and real GitHub issues. Many old issues were closed in a February 2026 clean-up without a fix.

MistakeWhy it happensDo this instead
Publishing port 8086, or keeping the default InfluxDB loginThe official example publishes 8086; first start uses admin / password12345Publish only 8080 on 127.0.0.1. Set the three SCRUTINY_WEB_INFLUXDB_* values (Step 2)
Running the Linux file under Docker Desktop on Windows or MacThe container sees a virtual machine, not your disks (issue 15)Dashboard in Docker, collector native on the host
Passing /dev/nvme0n1That is the namespace, not the controller (issue 723)Pass /dev/nvme0 with SYS_RAWIO and SYS_ADMIN
notify: inside the Compose fileIt is a Scrutiny setting, not a Compose key (issue 562)Put notify.urls in config/scrutiny.yaml
Page unreachable with an old configAn old example set the listener to localhost inside the container (issue 518)Use 0.0.0.0 inside; limit exposure with 127.0.0.1:8080:8080
Collecting every 15 minutesHistory grows fast; the page froze for one user (issue 650)Keep the daily default
Hardening the omnibus image (read_only, user 1000:1000, no-new-privileges, cap_drop)Its startup needs root; one user got s6 errors (issue 718)Use the documented baseline
Calling a drive dying because it says FailedThe label can come from Backblaze failure rates (issue 757)Hover the label, read the history, check smartctl
Thinking "delete device" wipes the driveIt removes only Scrutiny's record (issue 544); the collector can add it back (issue 572)Set ignore: true for it in collector.yaml
A subpath with one setting onlyWeb app and collector both need the path (issue 516)Use a host name instead
AI assistants: "sign in with admin / password12345"That login is InfluxDB's, not the dashboard'sThe dashboard has no login; use a proxy login
AI assistants: latest or nightly-omnibus as the stable tag, SCRUTINY_WEB=true, /scrutiny volumesOld third-party image settings and the example's nightly tagUse v0.10.0-omnibus and /opt/scrutiny/...
AI assistants: SCRUTINY_WEB_AUTH_* keys, port 8086 as the dashboardCopied from the Starosdev fork, or mixed up with InfluxDBDashboard is port 8080; the original has no auth keys

Tip: Run smartctl --scan on the host before you touch Docker. If smartctl cannot see a drive, no container setting will help.

Tip: Do not leave DEBUG=true on. A pull request notes that the debug dump includes the InfluxDB token and password (pull request 1145).

Tip: A closed issue is not a fixed issue. Test the behaviour on your version.

Troubleshooting#

ProblemSolution
Dashboard emptyThe collector has not run: docker exec scrutiny /opt/scrutiny/bin/scrutiny-collector-metrics run. Hub and Windows setups need Step 4
Drive missingIs it in smartctl --scan on the host and under devices:? NVMe needs /dev/nvme0 and SYS_ADMIN
Errors on a sleeping disksmartctl may exit with code 2 on a disk in standby. Switch off missed-upload alerts for it
Drive names change after a rebootIn Compose use devices: with - /dev/disk/by-id/wwn-0x5000xxxxx:/dev/sda (host path, then name inside)
A wrong "failed" status staysThe reset is SQL on scrutiny.db: install sqlite3 in the container and run UPDATE devices SET device_status = null;. Back up first

Exact error texts#

  • panic: unauthorized: unauthorized access: the InfluxDB folder was not saved but Scrutiny kept its old token. Fix the mount, delete web.influxdb.token in scrutiny.yaml, restart. Old history may be gone.
  • panic: conflict: onboarding has already been completed: InfluxDB was set up before but Scrutiny has no token. Copy the API token from the InfluxDB admin page into web.influxdb.token, or set SCRUTINY_WEB_INFLUXDB_TOKEN.
  • panic: a username and password is required for a setup and panic: failed to check influxdb setup status - parse "://:": missing protocol scheme: leftovers of the old LinuxServer image. Remove SCRUTINY_WEB=true and SCRUTINY_COLLECTOR=true; use /opt/scrutiny paths.
  • smartctl returned an error code (2) while processing /dev/sda or Could not retrieve device information for sda: exit status 2: smartctl could not open the device (missing mapping or rights, wrong device type, sleeping disk). Compare docker exec scrutiny smartctl --scan with the host.
  • services.scrutiny Additional property notify is not allowed: move notify to config/scrutiny.yaml.
  • unable to open boltdb: no such device (issue 540): InfluxDB could not open its database on the mount. No fix was confirmed. An InfluxDB issue blames a shared folder without memory mapping. Our untested idea on Windows or Mac: a Docker named volume for influxdb.
  • s6-overlay-suexec: warning: unable to gain root privileges (is the suid bit set?) (issue 718): a hardened file. Remove the hardening options.

Known bugs (open, November 2026)#

  • Issue 1140: a settings read that overlaps a write can crash the web server. restart: unless-stopped brings it back.
  • Notification address in the log: see the Tip in Step 5.

Diagnose with docker compose ps, docker compose logs --tail=100 scrutiny and:

Run in terminalbash
docker exec scrutiny /opt/scrutiny/bin/scrutiny-collector-metrics run --debug

Updates and backups#

Update. Read the release notes first. v0.10.0 moved friendly names from the config file into the database; v0.9.0 changed drive identity (a Scrutiny UUID, not the WWN) and migrated both databases. Back up, change the tag, then:

Run in terminalbash
cd ~/docker_volumes/scrutiny
docker compose pull
docker compose up -d
docker compose logs --tail=100 scrutiny

Never use latest as an update plan. We found no written upgrade or downgrade guide. Afterwards run the collector once and check the history.

Back up the Compose file, config, influxdb and .env together, with Scrutiny stopped. The history lives in influxdb, not in scrutiny.db. The container writes as root, so tar needs sudo:

Run in terminalbash
cd ~/docker_volumes/scrutiny
docker compose stop
sudo tar -czf "backups/scrutiny-$(date +%F).tar.gz" docker-compose.yml config influxdb .env
sudo chown "$USER" backups/scrutiny-*.tar.gz && chmod 600 backups/scrutiny-*.tar.gz
docker compose start

Schedule it at 03:00 with sudo crontab -e (Linux, Mac). The archive holds .env: keep copies off the machine, or use our restic guide.

Windows (PowerShell)#

Codepowershell
Set-Location "$HOME\docker_volumes\scrutiny"
docker compose stop
tar -czf "backups\scrutiny-$(Get-Date -Format yyyy-MM-dd).tar.gz" docker-compose.yml config influxdb .env
docker compose start

tar.exe ships with Windows 10 and 11. Run it nightly with Task Scheduler. Copy C:\scrutiny too.

Restore test. Unpack one archive into a new empty folder, never over the live one:

Run in terminalbash
mkdir -p /tmp/restore-test && sudo tar -xzf "backups/scrutiny-<date>.tar.gz" -C /tmp/restore-test
ls /tmp/restore-test/influxdb /tmp/restore-test/config

Rollback. Do not just change the tag back: a migrated database may not suit the older program. Restore the matching backup with the older tag.

Performance and resources#

The project gives no sizing table. Measure with docker stats scrutiny.

FactSource and value
Memory at idleAbout 100 MB, the author's statement in the InfluxDB docs
CollectionDaily by default. Every 15 minutes makes about 96 x 7 daily points per attribute and slowed the page (issue 650)
Retentionmetrics 15 days, metrics_weekly 9 weeks, metrics_monthly 25 months, metrics_yearly forever (docs/DOWNSAMPLING.md); downsampling is automatic
Disk useNo figure documented: du -sh config influxdb

Tuning is one setting, COLLECTOR_CRON_SCHEDULE. Keep the default.

FAQ#

Is Scrutiny free? Yes, under the MIT licence. We found no paid edition.

Does it need a GPU or an AI model? No.

Can it warn me before a drive dies? Sometimes, not always. Keep backups.

Does it work with USB, RAID or virtual disks? Only if smartctl can read S.M.A.R.T. through them. A virtual machine's virtual disk shows no real drive data.

Does deleting a drive in Scrutiny erase my files? No. It deletes only Scrutiny's record.

Can I use it on Windows or Mac without a Linux box? Partly: dashboard in Docker, native collector (Step 4). The Windows route follows the official guide; the Mac route is untested.

Sources#

Checked against the official docs on 2026-11-25.