forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
56 lines
12 KiB
HTML
56 lines
12 KiB
HTML
<a name="css_01_0155"></a><a name="css_01_0155"></a>
|
|
|
|
<h1 class="topictitle1">Using Cloud Eye to Monitor Elasticsearch Clusters</h1>
|
|
<div id="body0000001263429532"><p id="css_01_0155__en-us_topic_0000001263429532_p978417177594">With <span id="css_01_0155__en-us_topic_0000001263429532_text7993159015">CSS</span>, you can use Cloud Eye to monitor created clusters. After configuring the cluster monitoring, you can log in to the Cloud Eye management console to view cluster metrics. For details about Cloud Eye, see the <a href="https://docs.otc.t-systems.com/en-us/usermanual/ces/ces_07_0001.html" target="_blank" rel="noopener noreferrer">Cloud Eye User Guide</a>.</p>
|
|
<p id="css_01_0155__en-us_topic_0000001263429532_p1049333316218">The procedure for configuring cluster monitoring:</p>
|
|
<ol id="css_01_0155__en-us_topic_0000001263429532_ol18531155235311"><li id="css_01_0155__en-us_topic_0000001263429532_li85311952105311"><a href="#css_01_0155__en-us_topic_0000001263429532_section15621114112420">Creating Alarm Rules</a>: Customize alarm rules for the monitoring metrics. Once a metric exceeds the threshold, the system will notify you by sending emails or HTTP/HTTPS requests.</li><li id="css_01_0155__en-us_topic_0000001263429532_li25311252185310"><a href="#css_01_0155__en-us_topic_0000001263429532_section1136460963">Configuring Monitoring Metrics</a>: Configure monitoring metrics for a cluster or a node in the cluster.</li><li id="css_01_0155__en-us_topic_0000001263429532_li953165275310"><a href="#css_01_0155__section19225545132518">Viewing Cluster Monitoring Information</a>: View the statistics of the monitoring metrics in specific periods.</li></ol>
|
|
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section93561128195816"><h4 class="sectiontitle">Recommended Monitoring Metrics</h4><ul id="css_01_0155__en-us_topic_0000001263429532_ul95103285119"><li id="css_01_0155__li88239295317">For routine monitoring of a cluster, you are advised to focus on disk usage and cluster health status.</li><li id="css_01_0155__en-us_topic_0000001263429532_li13510152841118">Cluster CPU and JVM usage. You are advised to configure the following monitoring metrics: average JVM heap usage, maximum JVM heap usage, average CPU usage, and maximum CPU usage.</li><li id="css_01_0155__en-us_topic_0000001263429532_li1451042821116">Cluster write and search latency and throughput. You are advised to configure the following monitoring metrics: average index latency, average index rate, average search latency, and average QPS.</li><li id="css_01_0155__en-us_topic_0000001263429532_li1551022861115">Cluster write and query queue and rejected tasks. You are advised to configure the following monitoring metrics: tasks in write queue, tasks in search queue, rejected tasks in write queue, and rejected tasks in search queue.</li></ul>
|
|
</div>
|
|
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section1839919421279"><h4 class="sectiontitle">Prerequisites</h4><ul id="css_01_0155__en-us_topic_0000001263429532_ul53371598273"><li id="css_01_0155__en-us_topic_0000001263429532_li167406482618">The cluster is in the <strong id="css_01_0155__en-us_topic_0000001263429532_b396114042119">Available</strong> or <strong id="css_01_0155__en-us_topic_0000001263429532_b13564184213213">Processing</strong> status.</li><li id="css_01_0155__en-us_topic_0000001263429532_li168813194715">The cluster has been running properly for more than 10 minutes.</li></ul>
|
|
</div>
|
|
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section15621114112420"><a name="css_01_0155__en-us_topic_0000001263429532_section15621114112420"></a><a name="en-us_topic_0000001263429532_section15621114112420"></a><h4 class="sectiontitle">Creating Alarm Rules</h4><ol id="css_01_0155__en-us_topic_0000001263429532_ol373518361145"><li id="css_01_0155__en-us_topic_0000001263429532_li1173513611411">Log in to the Cloud Eye console.</li><li id="css_01_0155__en-us_topic_0000001263429532_li17735636141417">In the navigation pane on the left, choose <strong id="css_01_0155__en-us_topic_0000001263429532_b202086538232">Alarm Management</strong> > <strong id="css_01_0155__en-us_topic_0000001263429532_b15264558162320">Alarm Rules</strong>.</li><li id="css_01_0155__en-us_topic_0000001263429532_li12905188145814">In the <strong id="css_01_0155__b2403154173610">Resource Type</strong> column, select Cloud Search Service to filter alarm rules.<p id="css_01_0155__en-us_topic_0000001263429532_p3293151085811">If no alarm rules are available, create one by referring to section "Creating an Alarm Rule". <a href="#css_01_0155__en-us_topic_0000001263429532_table15676621164617">Table 1</a> describes the key parameters. For more parameters, customize them as needed.</p>
|
|
|
|
<div class="tablenoborder"><a name="css_01_0155__en-us_topic_0000001263429532_table15676621164617"></a><a name="en-us_topic_0000001263429532_table15676621164617"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0155__en-us_topic_0000001263429532_table15676621164617" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Alarm rule configuration parameters</caption><thead align="left"><tr id="css_01_0155__en-us_topic_0000001263429532_row867782112464"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.2.3.3.2.3.1.1"><p id="css_01_0155__en-us_topic_0000001263429532_p1167742194617">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.2.3.3.2.3.1.2"><p id="css_01_0155__en-us_topic_0000001263429532_p36771121194612">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_01_0155__row834914584416"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="css_01_0155__p334965819417">Alarm Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="css_01_0155__p3349185817411">Select <strong id="css_01_0155__b104366641511490">Metric</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0155__en-us_topic_0000001263429532_row567711212464"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="css_01_0155__en-us_topic_0000001263429532_p467719215465">Cloud Service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="css_01_0155__en-us_topic_0000001263429532_p1369144575118">Select <strong id="css_01_0155__en-us_topic_0000001263429532_b14411124143310">Cloud Search Service</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0155__row543395313148"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="css_01_0155__p1343365314147">Resource Layer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="css_01_0155__p9433353111417">Select the layer by which you are going to configure alarm rules.</p>
|
|
<ul id="css_01_0155__ul1069794714166"><li id="css_01_0155__li2697247121618"><span class="parmvalue" id="css_01_0155__parmvalue1736292011713"><b>CSS Clusters</b></span>: Alarm rules are specified by cluster.</li><li id="css_01_0155__li1569744715167"><span class="parmvalue" id="css_01_0155__parmvalue10313132711175"><b>CSS Clusters - CSS Instances</b></span>: Alarm rules are specified by node in a cluster.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section1136460963"><a name="css_01_0155__en-us_topic_0000001263429532_section1136460963"></a><a name="en-us_topic_0000001263429532_section1136460963"></a><h4 class="sectiontitle">Configuring Monitoring Metrics</h4><ol id="css_01_0155__en-us_topic_0000001263429532_ol101061030154514"><li id="css_01_0155__en-us_topic_0000001263429532_li181062306458">Create a monitoring panel by referring to section "Creating a Dashboard". If an available monitoring panel has been created, skip this step.</li><li id="css_01_0155__en-us_topic_0000001263429532_li97271346171712">Add CSS monitoring graphs by referring to section "Adding a Graph".</li></ol>
|
|
</div>
|
|
<div class="section" id="css_01_0155__section19225545132518"><a name="css_01_0155__section19225545132518"></a><a name="section19225545132518"></a><h4 class="sectiontitle">Viewing Cluster Monitoring Information</h4><p id="css_01_0155__p77725592323">In the cluster list, check the monitoring information of clusters and cluster nodes.</p>
|
|
<ol id="css_01_0155__ol15225545132515"><li id="css_01_0155__li02268455258">Log in to the CSS management console.</li><li id="css_01_0155__li1319605114128">In the navigation pane on the left, choose <span class="uicontrol" id="css_01_0155__uicontrol128422116341"><b>Clusters</b></span>, and click a cluster type to go to the cluster list.</li><li id="css_01_0155__li11196851201217">In the cluster list, select a cluster and click <strong id="css_01_0155__b159962031193620">View Metric</strong> in the <strong id="css_01_0155__b229220288361">Operation</strong> column to check the metrics of the cluster and cluster nodes.<div class="fignone" id="css_01_0155__fig7656523153714"><span class="figcap"><b>Figure 1 </b>Viewing metrics</span><br><span><img id="css_01_0155__image126562023103718" src="en-us_image_0000002005921800.png"></span></div>
|
|
<ul id="css_01_0155__ul19811113155316"><li id="css_01_0155__li18981151335315">Click the <strong id="css_01_0155__b117532125263">Instances</strong> tab to check cluster metrics.<ul id="css_01_0155__ul1469482412545"><li id="css_01_0155__li1155541813535"><strong id="css_01_0155__b9412133918288">Instances</strong>: Select a cluster to check its metrics. The current cluster is selected by default. Multiple clusters can be selected so that you may compare between them.</li><li id="css_01_0155__li118601514514">You can also set monitoring periods so that you can compare metrics between different periods for the same cluster.</li><li id="css_01_0155__li10715931044">Add Graph Group: You can add a custom group in addition to the default group. When you move the pointer over a group name on the left, the icons for changing the group name and deleting the group are displayed on the right. You can modify the group.</li><li id="css_01_0155__li1525216437618">Select Metric: In the displayed <strong id="css_01_0155__b1220019246438">Select Metric</strong> dialog box, set <span class="parmvalue" id="css_01_0155__parmvalue677245413710"><b>All Metrics</b></span> and <span class="parmvalue" id="css_01_0155__parmvalue1708195714715"><b>Top N Metrics</b></span>.</li></ul>
|
|
</li><li id="css_01_0155__li119811513175310">Click the <span class="wintitle" id="css_01_0155__wintitle6531104365118"><b>CSS Instances</b></span> tab to check the metrics of cluster nodes. Only the node monitoring information of the first cluster selected on the <strong id="css_01_0155__b145111104713">Instances</strong> tab is displayed.<ul id="css_01_0155__ul751811311893"><li id="css_01_0155__li207131627096">CSS Instances: Select the cluster nodes whose metrics and information you want to check. By default, the first node of the current cluster is selected. Multiple nodes can be selected so that you may compare between them.</li><li id="css_01_0155__li197131279918">You can also set monitoring periods so that you can compare metrics between different periods for the same cluster.</li><li id="css_01_0155__li1871314273919">Add Graph Group: You can add a custom group in addition to the default group. When you move the pointer over a group name on the left, the icons for changing the group name and deleting the group are displayed on the right. You can modify the group.</li><li id="css_01_0155__li1271310271199">Select Metric: In the displayed <strong id="css_01_0155__b1965012215499">Select Metric</strong> dialog box, set <span class="parmvalue" id="css_01_0155__parmvalue06511327492"><b>All Metrics</b></span>.</li></ul>
|
|
</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0426.html">Configuring Elasticsearch Cluster Monitoring</a></div>
|
|
</div>
|
|
</div>
|
|
|