Monitoring plugin check_smart 6.12.2 available: Bugfix release

Written by - 0 comments

Published on - Listed in Hardware Monitoring


A new version of check_smart, an open source monitoring plugin to monitor the health of hard drives, solid state drives and NVMe drives, is now available!

Release 6.12.2 is a bugfix release and fixes a bug, when the plugin is used with the -g / --global parameter. When someone forgot to use the mandatory -i / --interface parameter with it, the following error would be shown:

$ sudo ./check_smart.pl  -g /dev/sd[a-z]
Use of uninitialized value $opt_d in concatenation (.) or string at ./check_smart.pl line 104.

The plugin should of course detect the missing mandatory interface, in the same way as it does using the -d / --device parameter:

$ sudo ./check_smart.pl -d /dev/sda
must specify an interface for /dev/sda using -i/--interface!
[...]

Now with 6.12.2 out, the missing interface is detected in combination with the -g / --global parameter, too:

$ sudo ./check_smart.pl -g "/dev/sd[a-c]"
must specify an interface for /dev/sd[a-c] using -i/--interface!

Thanks to Lorenz Kästle for spotting this bug and creating the pull request!



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