<div dir="ltr"><div dir="ltr">Hi Alex<br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

If I recall, the raw_read_error_rate was less than a few hundred about<br>
a month ago. <br></blockquote><div><br></div><div>raw_read_error_rate MAY indicate a failing drive, but doesn't have to.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

I'm hoping this command will do the following:<br>
- monitor all drive aspects<br>
- send an alert whenever the Raw_Read_Error_Rate changes<br>
- send an alert whenever Temperature changes >= 4 Celsius or , >= 45C<br>
and log a critical alert when temp is >= 55<br>
<br>
I just want to be sure I'm not doing something wrong that will<br>
overlook an early warning alert for this drive failing.<br></blockquote><div><br></div><div>You may also take a look at <a href="http://check_smart.pl">check_smart.pl</a>, which uses smartctl in the background, for drive monitoring.</div><div>As raw_read_error_rate is not part of the default raw attribute list to be checked, you can expand this:</div><div><br></div><div>./<a href="http://check_smart.pl">check_smart.pl</a> -d /dev/sdc -i ata -r <span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">'Current_Pending_Sector, Reallocated_Sector_Ct, Program_Fail_Cnt_Total, Uncorrectable_Error_Cnt, Offline_Uncorrectable, Runtime_Bad_Block, Reported_Uncorrect, Reallocated_Event_Count, Command_Timeout,Raw_Read_Error_Rate' -w 'Raw_Read_Error_Rate=1947'</span></div><div><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></div><div><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">This will alert you when Raw_Read_Error_Rate increased (+1 in your case) or if all other attributes from the raw list (-r) have a non-zero value.</span></div><div><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></div><div><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><a href="https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php">https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php</a></span></div><br></div></div>