Question

How to clear old alerts


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.

1 reply

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

Reply