ONTAP Discussions

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

NTAP_PSLRNR
1,969 Views

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.

1 REPLY 1

tbatchel
1,969 Views

Check out this thread:

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

The user was looking to count spares by controller

Public