# Please note, I wrote this really quick and dirty and I didn't even test it out.. I didn't have a failed disk to check to see if the status was failed or broken But it gives you different options on how to do things
I finally got a failed disk in my environment and tested the script.
One thing I have to change was the following line. A failed disk status shows "broken" instead of "failed". Then the failed disk info was output to c:\filer.log. It's useful script for me. Thanks a lot!
Yes, I am using SNMP MIBS and OCUM. A failed disk alert message is sent by email. When a failed disk alert mail is sent, each county's staff opens a service request ticket.
Our environment extendes across several countries. Since disk replacement completion is not sent to me, unless I login to the filer or login to the OnCommand system console, I can't check if the disk is replaced. In order to check which failed disk is not replaced yet, I created the script.