node-exporter-textfile-collector-scripts
node-exporter-textfile-collector-scripts copied to clipboard
smartmon.py: Fixed check if device is active.
smartctl --nockeck standby throughs an exception with errorcode "2" in case the device is not active. Since this exception or the errorcode is not passed to the calling function the device was recognized to be active in this case. Fixed it by re-raising exception.
I think this was fixed with https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/54
@lomion0815 Please verify whether this was already resolved by the aforementioned PR, and fix the merge conflicts if you still wish to submit this.
Closing due to inactivity and unresolved merge conflicts.