Configuring SMN for Sending Messages
Scenarios
Huawei Cloud Simple Message Notification (SMN) provides fast, reliable, scalable, secure, and reliable message notification capabilities. End users can receive notifications through HTTP, HTTPS, emails, SMS, function execution triggering, and instant messaging tools.
CBH can connect to SMN to send system alarms to end users using the notification method configured in SMN.
Billing
After CBH is connected to SMN, SMN charges the notifications sent separately. For details, see SMN Pricing Details.
Notes and Constraints
This function is available only in V3.3.70.0 and later versions.
Prerequisites
- You have the operation permissions for the System module.
- You have enabled SMN and created a topic in SMN for binding the alarm notification of the bastion host instance, and have subscribed to the topic and published messages to the topic. For details, see Creating a Topic.
Step 1: Enable SMN Authorization
After the authorization, CBH has the permissions to query your SMN instance list. You can create SMN topics on your bastion host instances and synchronize the topics to your SMN instance.
- Log in to the CBH console.
- Click
in the upper left corner on the displayed page and select a region. - Click Cloud Asset Authorization in the upper right corner.
- In the Operation column of Simple Message Notification (SMN), click Enable.
- Confirm the configuration and click OK.
Step 2: Configure SMN
- Log in to your bastion host system.
- In the navigation pane on the left, choose System > System Config > Outgoing.
- On the displayed page, locate the SMN Configuration area and click Edit.
- Enable the status switch (
) and configure Topic Binding Information. Figure 1 Configuring SMN
Table 1 Topic binding parameters Parameter
Description
Department
Select a department from the department drop-down list. When SMN is used to send alarms, the alarms are sent based on the bound department.
- The first row of bound topic information must be Headquarters. It is mandatory and cannot be deleted.
- Click
to add the binding relationship between the bastion host department and SMN topic. A maximum of 100 binding relationships can be configured.
topic_urn
Enter the SMN topic URN to be bound to the department in the text box.
You can log in to the SMN console, choose , and obtain the topic URN from the topic list.
- Click OK.
Step 3: Set the System Alarm Channel to SMN
- Log in to your bastion host system.
- In the navigation pane on the left, choose System > System Config > Alarm.
- In the Alarm Channel area, click Edit on the right. Figure 2 Editing alarm configurations
- Select SMN for the alarm channel of the corresponding message type as required. Figure 3 Alarm Channel
You can click Edit in the Level area to view the message types of each function module and event of the bastion host.
- Click OK. You can then view alarm configuration on the Alarm tab.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot