Solved

How do I clear old alerts

  • 22 November 2018
  • 3 replies
  • 4001 views

Issue resolved, but alerts persisting with old time stamp.
alerts ware generated during network maintenance, now all ok
need to clear logs, need procedure to clear the old alerts.
icon

Best answer by RishiZalani 22 November 2018, 23:07

View original

This topic has been closed for comments

3 replies

Badge +3
You should be able to clear the alerts from Prism .Also you can perform the following :

To resolve all the alerts in the Nutanix cluster, run the following command on any CVM.
code:
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 KB https://portal.nutanix.com/#/page/kbs/details?targetId=kA0600000008cOXCAY
Userlevel 2
Badge +11
Does anyone know if there's a way to do this when a cluster has more than 1,000 alerts? We had some network issue the other day and our 3-node cluster has over 150,000 alerts as a result.
Badge +3
@mandg Open a Case with Nutanix Support and they will be able to assist you with this .