Napsty / check_smart

Monitoring Plugin to check hard drives, solid state drives and NVMe drives using SMART
https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
GNU General Public License v3.0
67 stars 20 forks source link

--warn option doesn't work, -w works fine #54

Closed karaluh closed 4 years ago

karaluh commented 4 years ago
sudo /usr/lib/nagios/plugins/check_smart.pl --global '/dev/sd[a-b]' --interface sat -w 'Reallocated_Sector_Ct=2,Reallocated_Event_Count=2'
OK: [/dev/sda] - Device is clean --- [/dev/sdb] - Device is clean|
sudo /usr/lib/nagios/plugins/check_smart.pl --global '/dev/sd[a-b]' --interface sat --warn 'Reallocated_Sector_Ct=2,Reallocated_Event_Count=2'
check_smart.pl v6.7.0
The monitoring plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.