Monitoring plugin check_smart 6.14.1 released: Bugfix release

Written by - 0 comments

Published on - Listed in Monitoring Hardware


A new version of check_smart, a monitoring plugin to monitor physical hard drives, solid state drives and NVMe drives, is now available. Version 6.14.1 contains several bugfixes and is therefore a pure bugfix release.

Fix SSD Lifetime Check when using warning thresholds

The first bug concerns the SSD Lifetime check, which can be launched using the parameter -l or --ssd-lifetime. When this was used in combination with a warning threshold list (using -w or --warn), the threshold for the Percent_Lifetime_Remain ATA attribute was always reset to the default warning value (90).

Pull request #93 from Yannick Martin solves this issue and the threshold can now be correctly overwritten using -w / --warn. Thanks for submitting the issue and the PR!

$ sudo ./check_smart.pl --skip-load-cycles -l -i auto -g '/dev/{sdb,sda}' -w Percent_Lifetime_Remain=85
OK: [/dev/sdb] - Device is clean [/dev/sdb] - Percent_Lifetime_Remain is non-zero (2) (but less than threshold 85) --- [/dev/sda] - Device is clean [/dev/sda] - Percent_Lifetime_Remain is non-zero (2) (but less than threshold 85)|

Fix debug output for raw attribute list

The "Raw Attribute List" tells check_smart.pl which ATA attributes to parse. The default list (see check_smart documentation for the current default value) can be overwritten using the -r / --raw parameter. In combination with --debug, the current raw attribute list can be seen in the debug output.

However this did not work for special parameters, such as -l / --ssd-lifetime. This dynamically adds the Percent_Lifetime_Remain attribute to the list - but it is not shown in the debug output. Pull request #94 fixes this.

Fix --hide-serial in debug output

The parameter --hide-serial can be used to hide the drive's serial number in the plugin output. However it was missed that the debug output (using --debug) can still show the serial number in the debug output. This was fixed in pull request #94 by using the command smartctl -q noserial in the background when check_smart.pl was launched with --hide-serial.


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   Icingaweb   Icingaweb2   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   


Update cookies preferences