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 ./check_smart.pl -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 ./check_smart.pl 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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder