解决了

我如何清除旧警报

  • 2018年11月22日
  • 3回复
  • 3133观点

问题已解决,但警报持续旧时间戳。
警报在网络维护期间生成的威慑,现在都确定
需要清除日志,需要过程清除旧警报。
图标

最好的答案Rishizalani.2018年11月22日,23:07

\r\n
\r\nTo resolve all the alerts in the Nutanix cluster, run the following command on any CVM.
\r\n
code:<\/b>
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
<\/pre><\/div>
\r\n
\r\n
\r\nRefer KB https:\/\/portal.nutanix.com\/#\/page\/kbs\/details?targetId=kA0600000008cOXCAY","className":"post__content__best_answer"}">
查看原版

此主题已关闭征询意见

3回复

徽章 +3
您应该能够清除Prism.Also的警报,您可以执行以下操作:

要解决“营养内群集”中的所有警报,请在任何CVM上运行以下命令。
代码:
nutanix @ cvm $在`ncli警报ls |grep id |awk'{打印3美元}'`;echo“解决警报$警报”;\ ncli警报解析IDS = $警报;睡2;完毕



参考kb https://portal.nutanix.com/#/page/kbs/details?targetid=ka0600000008coxcay
UserLevel 2.
徽章 +11
有谁知道当群集有超过1,000个警报时有办法做到这一点吗?我们第二天有一些网络问题,我们的3节点集群有超过150,000个警报。
徽章 +3
@mandg.使用Nutanix支持开箱,他们将能够为您提供帮助。
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu