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!
No comments yet.
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 OpenSearch 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