node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

smartmon.py: Fixed check if device is active.

Open lomion0815 opened this issue 4 years ago • 2 comments

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.

lomion0815 avatar May 29 '20 09:05 lomion0815

I think this was fixed with https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/54

SuperQ avatar Aug 21 '20 15:08 SuperQ

@lomion0815 Please verify whether this was already resolved by the aforementioned PR, and fix the merge conflicts if you still wish to submit this.

dswarbrick avatar May 23 '23 19:05 dswarbrick

Closing due to inactivity and unresolved merge conflicts.

dswarbrick avatar May 08 '24 20:05 dswarbrick