告警查询
<p class="shortdesc">数据库审计服务提供自检功能,当出现系统资源使用率过高、长时间没有审计日志等情况时,会自动产生一条告警信息,方便用户快速定位问题。本文介绍如何查看系统告警信息。</p>
<section class="section prereq" id="viewAlarm__prereq_xnm_314_psb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已购买数据库审计实例。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/db-audit" target="_blank" rel="external noopener">数据库审计控制台</a>,进入<span class="keyword wintitle">实例列表</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标实例<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">管理</span>,进入数据库审计控制台。</span>
<div class="itemgroup info">
<img class="image" id="viewAlarm__d23e47" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-12277d5f94d4.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在菜单栏选择<span class="ph menucascade"><span class="ph uicontrol">系统管理</span><abbr> > </abbr><span class="ph uicontrol">系统告警</span></span>,进入<span class="keyword wintitle">系统告警</span>页面。</span>
<div class="itemgroup info">
<img class="image" id="viewAlarm__image_nql_vr5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-123273be9e9d.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">修改</span>,在弹出的<span class="keyword wintitle">修改系统日志自动清理配置</span>对话框,设置日志保留天数,单击<span class="ph uicontrol">确定</span>。</span>
<div class="itemgroup info">
<img class="image" id="viewAlarm__image_glv_ls5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-14172fe8926c.png" width="500">
<div class="note note note_note" id="viewAlarm__note_qkc_5qs_wsb"><span class="note__title">说明:</span> 超过保留天数的日志将会被删除。</div>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">设置时间范围,选择告警类型和告警级别,单击<span class="ph uicontrol">搜索</span>可查询相关告警日志信息。</span>
<div class="itemgroup info">
<img class="image" id="viewAlarm__image_fbc_ns5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1cb99ebb9691.png" width="700">
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!