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.