Help Center/ Cloud Bastion Host/ User Guide/ System Configuration/ Outgoing/ Configuring SMN for Sending Messages
Updated on 2026-09-17 GMT+08:00

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.

  1. Log in to the CBH console.
  2. Click in the upper left corner on the displayed page and select a region.
  3. Click Cloud Asset Authorization in the upper right corner.
  4. In the Operation column of Simple Message Notification (SMN), click Enable.
  5. Confirm the configuration and click OK.

Step 2: Configure SMN

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose System > System Config > Outgoing.
  3. On the displayed page, locate the SMN Configuration area and click Edit.
  4. 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 Topic Management > Topics, and obtain the topic URN from the topic list.

  5. Click OK.

Step 3: Set the System Alarm Channel to SMN

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose System > System Config > Alarm.
  3. In the Alarm Channel area, click Edit on the right.

    Figure 2 Editing alarm configurations

  4. 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.

  5. Click OK. You can then view alarm configuration on the Alarm tab.