<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>smartd - part of the smartmontools package - can certainly do similar polling and alerting. If you go that route, keep in mind you'll have to use the megaraid or sat+megaraid device type. Ie, with one of my SSD based raid5's on an R720, I have to do:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>smartctl -a /dev/sda -d sat+megaraid,0&nbsp; # to query the first physical disk in the /dev/sda logical disk<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif;
 background-color: transparent; font-style: normal;"><span>smartctl -a /dev/sda -d sat+megaraid,1 # to query the second physical disk in the /dev/sda logical disk</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>...</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">(For SAS on the h710p, use just -d megaraid,N)<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times
 new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I never found an easy or fast way to have smartd automatic discovery enumerate all the drives behind an LSI Megaraid based PERC. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>With regards to OMSA and the iDRACs, I noticed that the iDRAC's native web interface does show the status of the PERC storage arrays. Also, the OMSA utilities are able to display the same information through omreport. While raid cards and bmc have traditionally not spoken to each other, there's no real reason why they should not. Especially in controlled-configuration sitations like an R720
 and it's PERC. All that's necessary is a reasonable amount of firmware work and a serial line between the renesas processor of the iDRAC and the weirdo embedded LSI ARM core of the Megaraid. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I just double-checked and it appears the iDRAC's still don't feature their own snmp server. Instead, OMSA passes through information from the iDRAC to the host snmpd as an smux peer. But, since ipmi isn't terribly fast, I imagine that OMSA is answering the queries regarding the storage system itself by querying the hardware instead of requesting data from the iDRAC.h<br></span></div><div style="color: rgb(0, 0, 0);
 font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>All of this, however, doesn't really answer John's question. I'd check the OMSA log files for any interesting warnings. Also, I'd check through the web interface and/or omreport that the controller actually did notice the failure condition. I was going to check the MIB but it appears that my python code from a few years ago meant to make head or tail of a MIB database is, uhh, not working nearly as well as I remebered. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">If these drives are spinners, do you have a regular self-test queue'd on them? <br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Oh, also, I'd keep around one of those failed drives for testing your alerting in the future.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;">Good Luck</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">-A<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Ryan Cox &lt;ryan_cox@byu.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> linux-poweredge@dell.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, September 27, 2013 12:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Linux-PowerEdge] hard disk
 predictive failures and snmp<br> </font> </div> <div class="y_msg_container"><br><div id="yiv2416331232">
  

    
  
  <div>
    You may want to look at smartd.&nbsp; smartd can email you about SMART
    errors and run custom scripts when a problem occurs.&nbsp; It works well
    for us.<br>
    <br>
    I don't think that hard drives, RAID cards, etc usually communicate
    with the BMC (aka iDRAC) so it wouldn't have that information at the
    hardware level.&nbsp; I could be wrong but that certainly seems to be the
    case.<br>
    <br>
    Ryan<br>
    <br>
    <div class="yiv2416331232moz-cite-prefix">On 09/27/2013 10:10 AM, John v2.0
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Hello List,<br>
            <br>
          </div>
          I have a few PowerEdge R710s running Ubuntu 12.04 and OMSA
          7.1.0-1 which were reporting disks in 'predictive failure' in
          OMSA but when queried via snmp were not indicating any
          failure.&nbsp; Because of this our Nagios checks failed to notify
          us the disks were predicted to fail and I'm trying to
          understand why.<br>
          <br>
        </div>
        <div>When looking at the Nagios check/script I saw the OIDs it
          was querying and the values returned.<br>
          <br>
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.1
            = INTEGER: 3 (Online)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.2
            = INTEGER: 3 (Online)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.3
            = INTEGER: 3 (Online)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.4
            = INTEGER: 3 (Online)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.5
            = INTEGER: 3 (Online)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.6
            = INTEGER: 3 (Online) — This disk is in predictive failure.
            Should be '34'.</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.7
            = INTEGER: 2 (Failed)</span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);font-weight:normal;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">
          <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;background-color:rgb(240,240,240);display:inline!important;font-weight:normal;float:none;line-height:17px;text-transform:none;font-size:13px;white-space:normal;font-family:Arial, FreeSans, Helvetica, sans-serif;word-spacing:0px;">iso.3.6.1.4.1.674.10893.1.20.130.4.1.4.8
            = INTEGER: 3 (Online)</span><br>
          <br>
        </div>
        <div>The disks have since been replaced so I don't have a way to
          test this at the moment however I was hoping someone could
          provide some insight into why this may be happening.<br>
          <br>
        </div>
        Thanks,<br>
        John</div>
      <br>
      <fieldset class="yiv2416331232mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Linux-PowerEdge mailing list
<a rel="nofollow" class="yiv2416331232moz-txt-link-abbreviated" ymailto="mailto:Linux-PowerEdge@dell.com" target="_blank" href="mailto:Linux-PowerEdge@dell.com">Linux-PowerEdge@dell.com</a>
<a rel="nofollow" class="yiv2416331232moz-txt-link-freetext" target="_blank" href="https://lists.us.dell.com/mailman/listinfo/linux-poweredge">https://lists.us.dell.com/mailman/listinfo/linux-poweredge</a>
</pre>
      <br>
      <pre class="yiv2416331232moz-signature">-- 
Ryan Cox
Operations Director
Fulton Supercomputing Lab
Brigham Young University

<a rel="nofollow" class="yiv2416331232moz-txt-link-freetext" target="_blank" href="http://tech.ryancox.net/">http://tech.ryancox.net</a>
</pre>
    </blockquote>
  </div>

</div><br>_______________________________________________<br>Linux-PowerEdge mailing list<br><a ymailto="mailto:Linux-PowerEdge@dell.com" href="mailto:Linux-PowerEdge@dell.com">Linux-PowerEdge@dell.com</a><br><a href="https://lists.us.dell.com/mailman/listinfo/linux-poweredge" target="_blank">https://lists.us.dell.com/mailman/listinfo/linux-poweredge</a><br><br><br></div> </div> </div>  </div></body></html>