AnalogJ / scrutiny

Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds
MIT License
5.36k stars 171 forks source link

Add a wait between disks checks #710

Closed AnalogJ closed 12 hours ago

AnalogJ commented 2 weeks ago

fixes #706

AnalogJ commented 2 weeks ago

@pabsi can you add a safety check that only runs the sleep code if the sleep config value is > 0

pabsi commented 1 week ago

@pabsi can you add a safety check that only runs the sleep code if the sleep config value is > 0

Sorry didn't have time until now. Just added

if mc.config.GetInt("commands.metrics_smartctl_wait") > 0 {

Thanks

pabsi commented 3 days ago

@AnalogJ sorry to bug you, I hope everything's good. I am wondering if you will be able to look at this. Thank you :pray:

AnalogJ commented 12 hours ago

LGTM!