sensu-plugins / sensu-plugins-disk-checks

This plugin provides native disk instrumentation for monitoring and metrics collection, including: health, usage, and various metrics.
http://sensu-plugins.io
MIT License
27 stars 63 forks source link

check-smart-status: Skip SMART incapable disks #28

Closed maoe closed 8 years ago

maoe commented 8 years ago

This PR lets check-smart-status.rb check SMART capabilities. I found it useful because we can blindly use --device all whether or not there're drives that don't support SMART.