doc-exports/docs/dws/umn/dws_01_0101.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-27 11:54:34 +00:00

58 lines
13 KiB
HTML

<a name="EN-US_TOPIC_0000001658895230"></a><a name="EN-US_TOPIC_0000001658895230"></a>
<h1 class="topictitle1">Subscribing to Event Notifications</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1637252785818">After subscribing to GaussDB(DWS) event notification, you will receive notifications by text message, email, or application when management, monitoring, or security events occur in a specific cluster or snapshot.</p>
<div class="section" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_section29431612141618"><h4 class="sectiontitle">Creating a Subscription</h4><ol id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_ol618381192220"><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li646412255419"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li5247206216936"><span>In the navigation tree on the left, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol19723021153812"><b>Event Management</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li3444153313462"><span>On the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle18537912285"><b>Event Management</b></span> page, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol125433124818"><b>Subscription</b></span> &gt; <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol17543171219818"><b>Create Subscription</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li18772435125416"><a name="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li18772435125416"></a><a name="en-us_topic_0000001423119165_li18772435125416"></a><span>In the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle72665175195812"><b>Subscription Settings</b></span> area, set basic subscription information and event filtering.</span><p><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p39911636205410">The <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle103978123494852"><b>Subscribed Event List</b></span> area displays the events filtered by the system based on the subscription settings.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_table197058275115" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Subscription parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row4704172711114"><th align="left" class="cellrowborder" valign="top" width="15.7%" id="mcps1.3.2.2.4.2.2.2.3.1.1"><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1270452717114"><strong id="EN-US_TOPIC_0000001658895230__b7617970162543">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="84.3%" id="mcps1.3.2.2.4.2.2.2.3.1.2"><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p9704132751119"><strong id="EN-US_TOPIC_0000001658895230__b842352706181449">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row127045270117"><td class="cellrowborder" valign="top" width="15.7%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p970452716119">Notification</p>
</td>
<td class="cellrowborder" valign="top" width="84.3%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1370413271118">Enable or disable event subscription.</p>
<p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p2704172741117"><span><img id="EN-US_TOPIC_0000001658895230__image1670422721112" src="figure/en-us_image_0000001759357481.png"></span> indicates that event subscription is enabled. <span><img id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_image55811736102112" src="figure/en-us_image_0000001759517349.jpg"></span> indicates that event subscription is disabled. This function is enabled by default. After the function is disabled, the system stops sending notifications of subscribed events but does not delete the subscription.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row137055276114"><td class="cellrowborder" valign="top" width="15.7%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p137043275113">Subscription Name</p>
</td>
<td class="cellrowborder" valign="top" width="84.3%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1370582710116">Enter the name of a subscription.</p>
<ul id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_ul386613493427"><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li148661492425">The name can contain letters (upper or lower case), digits, hyphens (-), and underscores (_) and must start with a letter or digit.</li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li350575316421">The name must be between 1 and 256 characters in length.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row0705027131110"><td class="cellrowborder" valign="top" width="15.7%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1770582717118">Event Type</p>
</td>
<td class="cellrowborder" valign="top" width="84.3%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p770552761114">Select the type of the event to be subscribed. Possible values are <strong id="EN-US_TOPIC_0000001658895230__b84235270617226">Management</strong>, <strong id="EN-US_TOPIC_0000001658895230__b842352706172210">Monitoring</strong>, and <strong id="EN-US_TOPIC_0000001658895230__b842352706172213">Security</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row1970515272116"><td class="cellrowborder" valign="top" width="15.7%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p070514275114">Event Severity</p>
</td>
<td class="cellrowborder" valign="top" width="84.3%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p10705162771118">Select the alarm severity of the event. Possible values are <strong id="EN-US_TOPIC_0000001658895230__b842352706172348">Normal</strong> and <strong id="EN-US_TOPIC_0000001658895230__b842352706172351">Warning</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_row2705027151112"><td class="cellrowborder" valign="top" width="15.7%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1370592781112">Event Source Category</p>
</td>
<td class="cellrowborder" valign="top" width="84.3%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p170572771110">Select the event source category: cluster, snapshot,.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li89041225162317"><span>Select a message notification topic from the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle482655675172616"><b>Message Notification Topic</b></span> drop-down list.</span><p><ul id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_ul88471435184815"><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li684783517484">The selected topic must have granted GaussDB(DWS) the permission to publish messages to the topic.<p id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_p1955418612514"><a name="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li684783517484"></a><a name="en-us_topic_0000001423119165_li684783517484"></a>If GaussDB(DWS) has not been authorized to publish messages to the selected topic, go to the topic management page of the SMN console to configure topic authorization. For details, see <strong id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_b3400201419432">Topic </strong><strong id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_b240091411439">Management</strong> &gt; <strong id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_b174001148438">Configuring Topic Policies</strong> in the <i><cite id="EN-US_TOPIC_0000001658895230__cite398f2edb390b4b20b84dd2c4d28854e2165021">Simple Message Notification User Guide</cite></i>. When configuring the topic policy, select <span class="parmvalue" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_parmvalue340014149431"><b>GaussDB(DWS)</b></span> for <span class="wintitle" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_wintitle1140013145433"><b>Services that can publish messages to this topic</b></span>.</p>
</li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li179733504571">To create a topic, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol119711919101115"><b>Create Topic</b></span>. The SMN console is displayed. For details, see <span class="parmname" id="EN-US_TOPIC_0000001658895230__parmname149722197116"><b>Topic Management &gt; Creating a Topic</b></span> in the <i><cite id="EN-US_TOPIC_0000001658895230__cite86bd79c20b8748dbb61d38a431793b40165021">Simple Message Notification User Guide</cite></i>.</li></ul>
</p></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li164751612342"><a name="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li164751612342"></a><a name="en-us_topic_0000001423119165_li164751612342"></a><span>Click <strong id="EN-US_TOPIC_0000001658895230__b84235270692711">OK</strong> to complete the subscription.</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_section15897267154"><h4 class="sectiontitle">Modifying the Subscription</h4><ol id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_ol4552459114519"><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li3436434464"><span>On the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle14277202589453"><b>Event Management</b></span> page of the GaussDB(DWS) management console, click the <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol2309427779466"><b>Subscription</b></span> tab.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li54051130134914"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895230__parmname794588790143837"><b>Operation</b></span> column of the row containing the specified subscription, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol652014909174238"><b>Edit</b></span> to enter the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle1994109786174448"><b>Edit Subscription</b></span> page.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li5520759174712"><span>On the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle387655375174654"><b>Edit Subscription</b></span> page, set the parameters to be modified. For details, see <a href="#EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li18772435125416">4</a> to <a href="#EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li164751612342">6</a> in section "Creating a Subscription".</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_section158093716157"><h4 class="sectiontitle">Deleting the Subscription</h4><ol id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_ol817247135518"><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li18174371552"><span>On the <span class="wintitle" id="EN-US_TOPIC_0000001658895230__wintitle1544318263468"><b>Event Management</b></span> page of the GaussDB(DWS) management console, click the <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol2443726104614"><b>Subscription</b></span> tab.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li18933111906"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895230__parmname1830800241144030"><b>Operation</b></span> column of the row containing the specified subscription, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol471859071174928"><b>Delete</b></span>. The <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol122214411604"><b>Delete Subscription</b></span> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001658895230__en-us_topic_0000001423119165_li131841171559"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001658895230__uicontrol23094277717518"><b>Yes</b></span> to delete the subscription.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0100.html">Event Notifications</a></div>
</div>
</div>