02-12-2020 11:43 AM
Looking for a Powershell script to create a threshold policy to monitor SSD Life Left since the UCSM does not monitor does not monitor for that.
Something roughly equivalent to this CLI script...
#Create stats threshold policy SSD_POL to monitor SSD Life left.
scope org
create stats-threshold-policy SSD_POL
create class ssd-health-stats
create property percentage-life-left
create threshold-value below-normal major
set escalating 10
set deescalating 6
exit
create threshold-value below-normal critical
set escalating 5
set deescalating 0
exit
set normal-value 100
commit-buffer
exit
exit
exit
exit
02-16-2020 10:04 AM
maybe get-ucsstorageSsdHealthstats | select ucs, Dn, Id, PercentageLifeLeft
Kirk...
02-18-2020 06:49 AM
That gets the percentage life left value. I was wanting to implement a policy so that the UCSM will send an alarm when the threshold is crossed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide