forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
118 lines
12 KiB
HTML
118 lines
12 KiB
HTML
<a name="ces_01_0042"></a><a name="ces_01_0042"></a>
|
|
|
|
<h1 class="topictitle1">Creating an Alarm Rule to Monitor a Server</h1>
|
|
<div id="body1516099622834"><div class="section" id="ces_01_0042__section66211028816"><h4 class="sectiontitle">Scenarios</h4><p id="ces_01_0042__p92252360113">This topic describes how to create an alarm rule for an ECS or BMS.</p>
|
|
</div>
|
|
<div class="section" id="ces_01_0042__section1754824010510"><h4 class="sectiontitle">Procedure</h4><ol id="ces_01_0042__ol42213798171654"><li id="ces_01_0042__li5905458159">Log in to the management console.</li><li id="ces_01_0042__li7659066161639">In the upper left corner, select a region and project.</li><li id="ces_01_0042__li17568145481617">Click <strong id="ces_01_0042__b09491521055">Service List</strong> in the upper left corner, and select <strong id="ces_01_0042__b295018521655">Cloud Eye</strong>.</li><li id="ces_01_0042__li2083345721617">In the navigation pane on the left, choose <strong id="ces_01_0042__b84235270665552">Server Monitoring</strong>.</li><li id="ces_01_0042__li37433065203528">Locate the target ECS or BMS. In the <strong id="ces_01_0042__b1000854402171320">Operation</strong> column, click <strong id="ces_01_0042__b184752309894730">More</strong>, and select <strong id="ces_01_0042__b187416593294730">Create Alarm Rule</strong>.</li><li id="ces_01_0042__li1179577015344">On the <strong id="ces_01_0042__b6635161212219">Create Alarm Rule</strong> page, follow the prompts to configure the parameters.<ol type="a" id="ces_01_0042__ol37622471162633"><li id="ces_01_0042__li155764518172">Configure the alarm rule name and description.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_01_0042__table186116481813" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Alarm rule <strong id="ces_01_0042__b193516553471">Name</strong> and <strong id="ces_01_0042__b4238958164717">Description</strong></caption><thead align="left"><tr id="ces_01_0042__row1286215461814"><th align="left" class="cellrowborder" valign="top" width="27.52%" id="mcps1.3.2.2.6.2.1.1.2.3.1.1"><p id="ces_01_0042__p086264121814">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="72.48%" id="mcps1.3.2.2.6.2.1.1.2.3.1.2"><p id="ces_01_0042__p48623410181">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ces_01_0042__row148621416186"><td class="cellrowborder" valign="top" width="27.52%" headers="mcps1.3.2.2.6.2.1.1.2.3.1.1 "><p id="ces_01_0042__p1686212461812">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="72.48%" headers="mcps1.3.2.2.6.2.1.1.2.3.1.2 "><p id="ces_01_0042__p8862144111818">Specifies the alarm rule name. The system generates a random name, which you can modify.</p>
|
|
<p id="ces_01_0042__p7862840186">Example value: <strong id="ces_01_0042__b366220112488">alarm-b6al</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row10862944186"><td class="cellrowborder" valign="top" width="27.52%" headers="mcps1.3.2.2.6.2.1.1.2.3.1.1 "><p id="ces_01_0042__p138629481811">Description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="72.48%" headers="mcps1.3.2.2.6.2.1.1.2.3.1.2 "><p id="ces_01_0042__p38621047189">(Optional) Provides supplementary information about the alarm rule.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="ces_01_0042__li36704785163020">You do not need to set the monitored object because it is the current ECS.</li><li id="ces_01_0042__li13399653104755">In the <strong id="ces_01_0042__b842352706657">Select Metric</strong> step, select <strong id="ces_01_0042__b8423527066551">Create manually</strong> and configure parameters based on <a href="#ces_01_0042__table4534051437">Table 2</a>.
|
|
<div class="tablenoborder"><a name="ces_01_0042__table4534051437"></a><a name="table4534051437"></a><table cellpadding="4" cellspacing="0" summary="" id="ces_01_0042__table4534051437" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters</caption><thead align="left"><tr id="ces_01_0042__row3530951333"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.2.6.2.3.4.2.4.1.1"><p id="ces_01_0042__p1530851938">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="68.42%" id="mcps1.3.2.2.6.2.3.4.2.4.1.2"><p id="ces_01_0042__p1530551132">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.580000000000002%" id="mcps1.3.2.2.6.2.3.4.2.4.1.3"><p id="ces_01_0042__p1453016511319">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ces_01_0042__row45306511317"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p115301254316">Method</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p145301056319">Specifies the means you use to create the alarm rule.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p105301251131">Create manually</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row45317514311"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p125302519314">Metric</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p1489882216563">For details about basic monitoring metrics, see <a href="en-us_topic_0202622212.html">Services Interconnected with Cloud Eye</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p7531105036">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row1915291221512"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p1815311261513">Mount Point or Disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p1315371217159">This parameter is mandatory when the metric is a fine-grained disk metric.</p>
|
|
<p id="ces_01_0042__p1492956175717">For the Windows OS, enter a drive letter, such as <strong id="ces_01_0042__b768012595">C</strong>, <strong id="ces_01_0042__b668191217918">D</strong>, or <strong id="ces_01_0042__b969151216920">E</strong>. For the Linux OS, enter a mount point, such as <strong id="ces_01_0042__b46916121196">/dev</strong> or <strong id="ces_01_0042__b169151215919">/opt</strong>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p6153112191516">/dev</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row71712813234"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p9435204373719">Alarm Policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p2043584343715">Specifies the policy for triggering an alarm.</p>
|
|
<p id="ces_01_0042__p043712111488">For example, an alarm is triggered if the average value of the monitored metric is 80% or more for three consecutive 5-minute periods.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p54357432379">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row149545815518"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p1195420845111">Alarm Severity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p17956884516">Specifies the alarm severity, which can be <strong id="ces_01_0042__b1848073955318">Critical</strong>, <strong id="ces_01_0042__b1948112394539">Major</strong>, <strong id="ces_01_0042__b948173911539">Minor</strong>, or <strong id="ces_01_0042__b174821339135312">Informational</strong>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p8956389517">Major</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row14533185337"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p05331451736">Alarm Notification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p25331957319">Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.</p>
|
|
<p id="ces_01_0042__p1118415399143">You can enable (recommended) or disable this function.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p10533353313">Enable</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row115341653311"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p65331051036">Topic</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p195331052311">Specifies the name of the topic the alarm notification is to be sent to.</p>
|
|
<p id="ces_01_0042__p45331951433">If you have enabled <strong id="ces_01_0042__b1990319105517">Alarm Notification</strong>, select a topic. If no desirable topics are available, create one first, whereupon the SMN service is invoked. For details about how to create a topic, see the <em id="ces_01_0042__i4904161012518">Simple Message Notification User Guide</em>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p5534552312">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row45261521219"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p165875094913">Validity Period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p7658165024912">Cloud Eye sends notifications only within the validity period specified in the alarm rule.</p>
|
|
<p id="ces_01_0042__p52121744532">If <strong id="ces_01_0042__b842352706161235">Validity Period</strong> is set to <strong id="ces_01_0042__b842352706161244">00:00-8:00</strong>, Cloud Eye sends notifications only within 00:00-8:00.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p96581505499">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ces_01_0042__row17534558319"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.1 "><p id="ces_01_0042__p1953418515316">Trigger Condition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.2 "><p id="ces_01_0042__p353475732">Specifies the condition for triggering the alarm notification. You can select <strong id="ces_01_0042__b19876515161414">Generated alarm </strong>(when an alarm is generated), <strong id="ces_01_0042__b04731933191417">Cleared alarm </strong>(when an alarm is cleared), or both.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.580000000000002%" headers="mcps1.3.2.2.6.2.3.4.2.4.1.3 "><p id="ces_01_0042__p1534455310">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="ces_01_0042__li37594472163356">Click <strong id="ces_01_0042__b8423527066151">Create</strong>.</li></ol>
|
|
</li></ol>
|
|
</div>
|
|
<p id="ces_01_0042__p6376102313418">After the alarm rule is created, if the metric data reaches the specified threshold, Cloud Eye immediately informs you that an exception has occurred.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ces_01_0120.html">Server Monitoring</a></div>
|
|
</div>
|
|
</div>
|
|
|