How do clean old Prism Alerts. Within Webconsole Resolve and Acknowlege doesnt clean old alerts. Any command would helpful. Thanks,
Best answer by RAMAKRISHNA PILLAI ANEESH
Hi
nutanix@cvm$ for alert in `ncli alert ls | grep ID | awk '{print $3}'`; do echo "Resolving alert $alert"; \ncli alert resolve ids=$alert; sleep 2; done
Refer the following discussion:-
https://next.nutanix.com/prism-infrastructure-management-26/how-do-i-clear-old-alerts-31269