修改告警模板
<p class="shortdesc">如果告警模板信息发生变化,您可以对其进行修改。</p>
<section id="edit_template__steps_oft_qnz_3jb"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="edit_template__steps_oft_qnz_3jb"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="/console/argus/overview" target="_blank">云监控Argus控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在左侧导航栏中,单击<span class="ph uicontrol">告警模板</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="keyword wintitle">告警模板</span>页面,单击<span class="ph uicontrol">产品类型</span>后方的下拉按钮选择产品。</span>
<div class="itemgroup info">
<img class="image" id="edit_template__d30e52" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091433-15ec91dc90e4.png" width="500">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">找到待编辑的告警模板,单击<span class="ph uicontrol">操作</span>列中的<span class="ph uicontrol">编辑</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="keyword wintitle">编辑告警模板</span>页面,您可以对<span class="ph uicontrol">基本信息</span>及<span class="ph uicontrol">告警规则</span>进行修改。</span>
<div class="itemgroup info">
<ul class="ul" id="edit_template__ul_jby_ynz_3jb">
<li class="li"><span class="ph uicontrol">基本信息</span><table class="table frame-all" id="edit_template__table_ms5_bcw_jkb"><caption></caption><colgroup><col style="width:22.98850574712644%"><col style="width:77.01149425287358%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="edit_template__table_ms5_bcw_jkb__entry__1">配置项</th>
<th class="entry" id="edit_template__table_ms5_bcw_jkb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="edit_template__table_ms5_bcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">模板名称</span></p>
</td>
<td class="entry" headers="edit_template__table_ms5_bcw_jkb__entry__2 ">
<p class="p">配置的告警模板的名称。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_ms5_bcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">联系人组</span></p>
</td>
<td class="entry" headers="edit_template__table_ms5_bcw_jkb__entry__2 ">
<p class="p">告警发生时,所知会的联系人组。</p>
<p class="p">单击<span class="ph uicontrol">选择联系人组</span>,勾选联系人组,然后单击<span class="ph uicontrol">完成</span>。</p>
</td>
</tr>
</tbody></table></li>
<li class="li"><span class="ph uicontrol">告警规则</span>:修改或删除已有告警规则及添加新的告警规则。按<span class="ph uicontrol">静态规则</span>或<span class="ph uicontrol">动态阈值</span>的监控类型参考下面不同的说明。<table class="table frame-all" id="edit_template__table_gb2_dcw_jkb"><caption><span class="table--title-label">表 1. </span><span class="title">静态规则配置项说明</span></caption><colgroup><col style="width:23.809523809523807%"><col style="width:76.19047619047619%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="edit_template__table_gb2_dcw_jkb__entry__1">配置项</th>
<th class="entry" id="edit_template__table_gb2_dcw_jkb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">监控类型</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">选择<span class="ph uicontrol">静态规则</span>,通过配置指定的统计函数来定义告警系统如何检测监控数据,并在监控数据满足告警规则时发送告警通知。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">监控项</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">配置该告警模板中所使用的监控项。</p>
<p class="p">单击<span class="ph uicontrol">选择监控项</span>,勾选监控项,然后单击<span class="ph uicontrol">完成</span>。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Tag</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">该告警规则标记。对监控项 (Metric) 进行补充用的,例如,
df.bytes.used(磁盘使用量)需要携带两个Tag,分别是 mount: 挂载点和
fstype: 文件系统类型。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">取点数</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 " rowspan="2">
<p class="p">根据实际的监控项,设置告警具体策略。例如,如果监控项是统计CPU使用率,设置取点数为3,统计函数为平均值>80%,即CPU的使用率如果连续三个统计周期探测数值的平均值大于80%,则发送报警通知。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">统计函数</span></p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">告警级别</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">告警级别由高到低分为P1~P6,共六个级别。</p>
<ul class="ul" id="edit_template__d22e314">
<li class="li">P1:致命</li>
<li class="li">P2:较致命</li>
<li class="li">P3:严重</li>
<li class="li">P4:较严重</li>
<li class="li">P5:警告</li>
<li class="li">P6:提示</li>
</ul>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">告警次数</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">告警通知发送的次数。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__1 ">
<p class="p"><span class="ph uicontrol">备注</span></p>
</td>
<td class="entry" headers="edit_template__table_gb2_dcw_jkb__entry__2 ">
<p class="p">关于该告警规则的相关描述及备注等。</p>
</td>
</tr>
</tbody></table></li>
</ul>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">完成后,单击<span class="ph uicontrol">保存告警模板</span>。</span>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!