Seagate / openSeaChest

Cross platform utilities useful for performing various operations on SATA, SAS, NVMe, and USB storage devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to ignore drives in standby

slaecker opened this issue · comments

I want to regularly parse openSeaChest output and get it scraped by Prometheus via node-exporter. But I don't want to wake the device everytime the script is running openSeaChest. smartctl supports the -n standby option to skip any device which is currently in standby. Can you please implement such an option in openSeaChest?

@slaecker,

This is a good idea! We can work on implementing this.

Are you only looking to skip drives in standby? Or the other power modes as well like smartctl's -n option allows?

I personally only care for standby but I guess if you are already on it, it makes sense to implement options to ignore other power states as well. This will make the whole thing more feature complete.