Enabling Alarm Notifications
You can configure an SMN topic within the SMN application and authorize EdgeSec to send attack logs to you via your chosen notification mode (e.g., email or SMS).
Constraints
- Currently, SMN topics can be configured only in the CN North-Beijing4 region.
- The default topic name is edgesec-topic.
Prerequisites
Before onboarding EdgeSec, you must first access the CN North-Beijing4 region to verify the accessibility of the region.
Creating a Topic
- Log in to the management console.
- Click in the upper left corner of the page and choose .
- In the navigation pane on the left, choose .
- On the Topics page, click Create Topic.
- Configure parameters.
Table 1 Parameters for creating a topic Parameter
Description
Topic Name
edgesec-topic
Display name
Message sender name, which can contain up to 192 bytes
CTS Log
Whether to enable CTS log.
Tag
A tag is a key-value pair. Tags identify cloud resources so that you can easily categorize and search for your resources.
If you have configured tag policies for message notifications, add tags to your topics based on the tag policies. If you add a tag that does not comply with the tag policies, topics may fail to be created. Contact the administrator to learn more about tag policies.
- A key can contain a maximum of 128 characters, and a value can contain a maximum of 255 characters.
- A tag key can contain letters, digits, spaces, and special characters (_.:=+-@), but cannot start or end with a space or start with _sys_.
- A tag value can contain letters, digits, spaces, and any of the following characters: : / = + - @
- You can add up to 20 tags for each topic.
- Click OK.
Assigning Permissions
- In the navigation pane on the left, choose .
- Click the name of a topic to go to its details page, and click Configure Topic Policy in the upper right corner.
- In the dialog box displayed, set Services that can publish messages to this topic to EDGESEC. For details about how to configure other parameters, see Configuring Topic Policies.
Adding a Subscription
- In the navigation pane on the left, choose .
- Locate the topic that you want to add a subscription to. In the Operation column, click Add Subscription.
Alternatively, click a topic name in the Topic Name column. In the upper right corner of the displayed page, click Add Subscription.
- Select the required protocol from the Protocol drop-down list and enter the subscription endpoint in the Endpoint text box.
- Click OK. For details, see Adding a Subscription.
Example Alarm Notification Email
After SMN is configured, alarm notifications will be sent by email. EdgeSec sends attack logs to you. Figure 1 shows an example of an alarm notification email.
Feedback
Was this page helpful?
Provide feedbackThank 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