check_smart monitoring plugin 6.18.3 released

Written by - 0 comments

Published on - Listed in Monitoring Hardware Icinga Nagios


A new version of check_smart, a monitoring plugin to monitor hard drives (HDD), solid state drives (SSD) and NVMe drives, is available.

The newest release, 6.18.3, is a bugfix release and fixes or improves a couple of things.

check_smart monitoring plugin

Double-digit /dev/bus/NN devices

In certain situations your server might show multiple devices under /dev/bus, they'd appear as /dev/bus/1, /dev/bus/2 and so on. When there are many devices, the path could well result in double-digit bus devices - for example /dev/bus/13. 

Prior to 6.18.3, only one digit was supported in the regular expression. This has fixed now.

This bug was reported by Michael Metz and Stefan Neufeind. 

Improved exit code handling and catch smartctl errors

Another fix is a well improved exit code handling inside check_smart in general. There could be situations, especially when using the -g parameter for multi-device checks, that a previously CRITICAL status would be overridden by another device returning a WARNING state. 

Take this as an idea: Device 1 -> OK, Device 2 -> CRITICAL, Device 3 -> OK, Device 4 -> WARNING. In this situation, the plugin would return WARNING but should return the highest status (CRITICAL). 

Since 6.18.3 this is now clearly defined, so there's no "status downgrade" happening anymore.

Furthermore the pull request from Arkadiusz Miskiewicz also improves the signal handling from smartctl.


Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.

RSS feed

Blog Tags:

  AI   AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   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   Observability   Office   OpenSearch   PHP   Perl   Personal   PostgreSQL   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Znuny   Zoneminder