Monitoring plugin check_smart 6.4 released: Independence and new quiet parameter

Written by - 0 comments

Published on - last updated on October 29th 2019 - Listed in Hardware Monitoring


A new version of the monitoring plugin check_smart, a plugin to monitor the S.M.A.R.T. attributes of hard and solid state drives, is available!

Version 6.4 introduces a new parameter -q / --quiet. When multiple drives are checked using the -g parameter, all drives appear in the output (no matter the state). Using the additional -q parameter will only show the drives with failing drives and omit the drives in OK state. Here's an example without and with the -q parameter:

root@bd-radoi03-p:~# ./check_smart -g /dev/sda -i "megaraid,[11-14]"
WARNING: [/dev/sda] - Reallocated_Sector_Ct is non-zero (1), Current_Pending_Sector is non-zero (69) --- [/dev/sda] - Device is clean --- [/dev/sda] - Device is clean --- [/dev/sda] - Device is clean|

root@bd-radoi03-p:~# ./check_smart -g /dev/sda -i "megaraid,[11-14]" -q
WARNING: [/dev/sda] - Reallocated_Sector_Ct is non-zero (1), Current_Pending_Sector is non-zero (69) --- Other drives OK|

Furthermore the dependency on the Perl module utils.pm (coming from either monitoring-plugins-common or nagios-plugins-common packages) was removed. Only very few functions from this module were actually used and these were very basic. It makes more sense here to be a fully standalone plugin.

Thanks a lot to Jesse Becker for contributing code to this open source script!


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