Collector: Correctly handle metrics_smart_args: '-n standby' #942
S-trace
started this conversation in
Feature Requests, Ideas
Replies: 1 comment 5 replies
|
Can you share the output of smartctl -n standby --call --json on your drive? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi.
I tried to use
metrics_smart_args: '-n standby'for my spare drive which should not spin up each SMART poll, but sometimes OS wakes up this drive.It worked, disk not spins up each collector run anymore but should be polled if OS occasionally wakes up the drive when collector runs.
I though collector will just ignore it if SMART data was not obtained, but it shows now as
Status: Failed,Temperature: ∞°C, each SMART attribute becameUnknown Attribute Name.Maybe, let collector ignore disks when 'Device is in STANDBY mode, exit(2)' is present in smartctl output?
Thanks!
All reactions