Monitoring plugin check_smart version 6.6.1 available: Fix deprecated warning

Written by - 0 comments

Published on - Listed in Monitoring Hardware

A new version of check_smart, a monitoring plugin to check the S.M.A.R.T. table/values from hard drives and solid state drives, is available. 

Version 6.6.1 is a bugfix release and fixes a Perl deprecation warning when the plugin was executed with a glob regular expression using curly brackets:

$ sudo ./ -g "/dev/sd{a,b,c}" -i ata
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m//dev/sd{ <-- HERE a,b,c}/ at ./ line 214.
WARNING: [/dev/sdc] - Reallocated_Event_Count is non-zero (1) --- [/dev/sda] - Device is clean --- [/dev/sdb] - Device is clean|

Thanks to Ander Punnar for the contribution and fix.

Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.