Subscribe

Looking for a PS script to monitor and alert on spare drive count

Hi,

I just started learning PS and I am looking for a NetApp powershell script that can monitor and alert on the spare drive count.Does anybody has a script to check the spare drives on filers on a weekly basis and tthat triggers out alert if the spare drive count is less than atleast 2 ? I could able to write a basic script that checks for spare drive count and measure it, but I don't know how to write a script to setup the alerting based on the count.

Thanks for your help in advance.

Re: Looking for a PS script to monitor and alert on spare drive count

Check out this thread:

https://communities.netapp.com/thread/19816

The user was looking to count spares by controller