Create an Alarm

<p class="shortdesc">An Alarm template contains a set of alarming rules. You can create an alarm template flexibly according to the monitoring demand of your business.</p> <section class="section context" id="Create_alarm_template__context_rmq_qqt_ljb"><div class="tasklabel"><h2 class="doc-tairway">About this task</h2></div> <p class="p" id="Create_alarm_template__p_fdk_xqn_xjb">When you create a large number of cloud resources on the cloud platform and need to monitor their operation status, you can create a alarm template to avoid the repeated operation of setting alarm rules for each cloud resource one by one. You can set one or more alarm rules in the same alarm template. The alarm template can be bound to the cloud instance that is to be monitored so as to simplify the creation and maintenance of alarm rules to the greatest extent.</p> <p class="p" id="Create_alarm_template__p_pq2_gc3_1kb">At present, there are two methods to configure alarm rules: </p> <ul class="ul" id="Create_alarm_template__ul_dg1_bb3_1kb"> <li class="li"><span class="ph uicontrol">Static Rule</span>: define how the alarm system detects the monitoring data by configuring the specified function, and send the alarm notification when the monitoring data meets the alarm rules.</li> <li class="li"><span class="ph uicontrol">Dynamic Threshold</span>: make full use of the intelligent algorithm model for exception screening. The model will automatically learn and update according to the exceptions to ensure the accuracy and punctuality of alarms, and greatly reduce the manpower invested by enterprises in the operation and maintenance of a large number of machines.</li> </ul> <p class="p" id="Create_alarm_template__p_dyk_brn_xjb">In addition, Argus will provide an initializing alarm template for some cloud resources, making the template easy to use. </p> </section> <section id="Create_alarm_template__steps_ijf_b3k_3jb"><div class="tasklabel"><h2 class="doc-tairway">Procedure</h2></div><ol class="ol steps" id="Create_alarm_template__steps_ijf_b3k_3jb"><li class="li step stepexpand"> <span class="ph cmd">Log in to the <a class="xref" href="/console/argus/overview" target="_blank">Argus Console</a>.</span> </li><li class="li step stepexpand" id="Create_alarm_template__step_kbq_5wj_mlb"> <span class="ph cmd">In the left navigation pane, click <span class="ph uicontrol">Templates</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="keyword wintitle">Templates</span> page, click the drop-down button at the rear of the <span class="ph uicontrol">Type</span> to select the product in which the template is to be created. </span> <div class="itemgroup info"> <img class="image" id="Create_alarm_template__image_od1_whh_4jb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201507091432-1eb49d65960a.png"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">In the upper-right corner of the page, click <span class="ph uicontrol">Create</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="keyword wintitle">Create Alarm Template</span> page, configure the following information.</span> <div class="itemgroup info"> <ol class="ol" type="a" id="Create_alarm_template__ol_v1w_fyy_3jb"> <li class="li">Configure the <span class="ph uicontrol">General Info</span> of the template.<table class="table frame-all" id="Create_alarm_template__table_xnd_fmk_3jb"><caption></caption><colgroup><col style="width:22.98850574712644%"><col style="width:77.01149425287358%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="Create_alarm_template__table_xnd_fmk_3jb__entry__1">Configuration item</th> <th class="entry" id="Create_alarm_template__table_xnd_fmk_3jb__entry__2">Description</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_xnd_fmk_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Template name</span></p> </td> <td class="entry" headers="Create_alarm_template__table_xnd_fmk_3jb__entry__2 "> <p class="p">The name of the configured alarm template.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_xnd_fmk_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Contact group</span></p> </td> <td class="entry" headers="Create_alarm_template__table_xnd_fmk_3jb__entry__2 "> <p class="p">The contact group that is to be informed when the alarm occurs.</p> <p class="p">Click <span class="ph uicontrol">Select Contact Group</span>, on the page that opens, check the contact group and click <span class="ph uicontrol">Finish</span>.</p> </td> </tr> </tbody></table></li> <li class="li">Click <span class="ph uicontrol">Add Alarm Rule</span> at the bottom of the page. On the <span class="ph uicontrol">Alarm Rule</span> page, select <span class="ph uicontrol">Type of Monitoring</span>, including <span class="ph uicontrol">Static Rule</span>and <span class="ph uicontrol">Dynamic Threshold</span> (see the table below for relevant configuration description).<div class="note note note_note"><span class="note__title">Note:</span> You can add more than one alarm rule to an alarm template according to the actual monitoring requirements.</div><table class="table frame-all" id="Create_alarm_template__table_y2p_myy_3jb"><caption><span class="table--title-label">Table 1. </span><span class="title">Static rule configuration item description</span></caption><colgroup><col style="width:23.809523809523807%"><col style="width:76.19047619047619%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="Create_alarm_template__table_y2p_myy_3jb__entry__1">Configuration item</th> <th class="entry" id="Create_alarm_template__table_y2p_myy_3jb__entry__2">Description</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Type of monitoring </span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">Select <span class="ph uicontrol">Static Rule</span>, define how the alarm system detects the monitoring data by configuring the specified function, and send the alarm notification when the monitoring data meets the alarm rule.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Metric</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">Configure the metric used in the alarm template.</p> <p class="p">Click <span class="ph uicontrol">Select Metric</span> and check metrics. Then click <span class="ph uicontrol">Finish</span>.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Tag</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">The tag of alarm rules. To supplement the monitoring item (metric), such as df.bytes.used (disk usage) need to have two tags, one is mount:: mount point, one is fstype: File system type.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Point count</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 " rowspan="2"> <p class="p">You may set the specific alarm policies according to the actual monitoring items. For example, if the monitoring item is CPU usage rate with the points of three and the statistical function average is >80%. when the average detected value of CPU usage rate in three consecutive statistical periods is over 80%, the alarm notification would be sent.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Function</span></p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Alarm level</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">There are six alarm levels, including P1~P6 in decreasing order.</p> <ul class="ul" id="Create_alarm_template__ul_ytg_dsz_3jb"> <li class="li">P1: Fatal</li> <li class="li">P2: Relatively fatal</li> <li class="li">P3: Severe</li> <li class="li">P4: Relatively severe</li> <li class="li">P5: Warning</li> <li class="li">P6: Reminding</li> </ul> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Alarm times</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">Times of sending alarm notifications.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__1 "> <p class="p"><span class="ph uicontrol">Remark</span></p> </td> <td class="entry" headers="Create_alarm_template__table_y2p_myy_3jb__entry__2 "> <p class="p">Relevant description and remarks of the alarm rule.</p> </td> </tr> </tbody></table><table class="table frame-all" id="Create_alarm_template__table_tm2_hd3_1kb"><caption><span class="table--title-label">Table 2. </span><span class="title">Dynamic threshold configuration item description</span></caption><colgroup><col style="width:22.522522522522525%"><col style="width:77.47747747747749%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="Create_alarm_template__table_tm2_hd3_1kb__entry__1">Configuration item</th> <th class="entry" id="Create_alarm_template__table_tm2_hd3_1kb__entry__2">Description</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Type of monitoring </span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">Select <span class="ph uicontrol">Dynamic Threshold</span>, make full use of the intelligent algorithm model for exception screening. The model will automatically learn and update according to the exceptions to ensure the accuracy and punctuality of alarms, and greatly reduce the manpower invested by enterprises in the operation and maintenance of a large number of machines.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Model category</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">The platform uses the <span class="ph uicontrol">Professional version</span> model by default, and this AI model will learn and update automatically according to the exceptional cases. In addition, through <span class="ph menucascade"><span class="ph uicontrol">Alarm Center</span><abbr title="and then"> > </abbr><span class="ph uicontrol">View Details</span><abbr title="and then"> > </abbr><span class="ph uicontrol">Service Feedback</span></span> users could to give feed back on target exception. The system will automatically collect the feedback, learn the exception and optimize the model.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Metric</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">Configure the metrics used in the alarm template.</p> <p class="p">Click <span class="ph uicontrol">Select Metric</span> and check metrics. Then click <span class="ph uicontrol">Finish</span>.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Tag</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">The tag of alarm rules. To supplement the monitoring item (metric) , such as df.bytes.used (disk usage) need to have two tags, one is mount: mount point, one is fstype: File system type</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Alarm level</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">There are six alarm levels, including P1~P6 in decreasing order.</p> <ul class="ul" id="Create_alarm_template__ul_um2_hd3_1kb"> <li class="li">P1: Fatal</li> <li class="li">P2: Relatively fatal</li> <li class="li">P3: Severe</li> <li class="li">P4: Relatively severe</li> <li class="li">P5: Warning</li> <li class="li">P6: Reminding</li> </ul> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Enable interval</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">You can use the <span class="ph uicontrol">Default threshold</span>, or click the switch to <span class="ph uicontrol">Input threshold</span>.</p> <p class="p">The value range of monitoring. The box on the left is the lowest enabled value, and the box on the right is the highest enabled value. For example, for mem.memused, the threshold value of the metric is 30m - 50m, that is, the monitoring range is between 30m and 50m, and other ranges do not start the monitor.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Sensitivity</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">It is divided into three levels: <span class="ph uicontrol">Low</span>, <span class="ph uicontrol">Medium</span> and <span class="ph uicontrol">High</span>. The higher the sensitivity is, the higher the fineness of the monitor to catch exceptions is, and vice versa. Medium sensitivity is recommended.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Trigger conditions</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">Set how many times in a row the exception will trigger the alarm.</p> </td> </tr> <tr class="row"> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__1 "> <p class="p"><span class="ph uicontrol">Remark</span></p> </td> <td class="entry" headers="Create_alarm_template__table_tm2_hd3_1kb__entry__2 "> <p class="p">Relevant description and remarks of the alarm rule.</p> </td> </tr> </tbody></table></li> </ol> </div> </li><li class="li step stepexpand"> <span class="ph cmd">After finishing, click <span class="ph uicontrol">Regex match</span>.</span> </li></ol></section> <section class="section result" id="Create_alarm_template__result_qnb_4mz_3jb"><div class="tasklabel"><h2 class="doc-tairway">Results</h2></div> <p class="p">After configuration, you can view the alarm template just created in the alarm template list.</p> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products