Deployment Plan SMS Template Configuration Guide¶
The Deployment Plan supports sending alert notifications and test SMS messages via Alibaba Cloud SMS Service. You need to apply for SMS signatures and templates in the Alibaba Cloud SMS Service console yourself, and configure the approved template codes into the Guance Deployment Plan.
Required SMS Templates¶
The Guance Deployment Plan requires the configuration of the following SMS templates, used for incident notifications and test message sending respectively. When applying, the variables in the template content must be filled in strictly according to the specifications in the table below; otherwise, the system will not be able to correctly identify and replace them.
| Template Purpose | Template Content Specification |
|---|---|
| Incident Center - New Incident Notification | This is a Guance alert notification. You have a new incident notification in the workspace ${workspace_name} at the ${site_name} site. Please log in to the console promptly to view and arrange incident handling to prevent this incident from affecting business operations. |
| Test Message Sending | Your workspace has generated N abnormal events. Please log in to the Guance platform to view details. The test content simulates real alert information; please be aware and distinguish accordingly. |
Variable Specification¶
Variables in the template content are used by the system to dynamically populate actual values when sending SMS messages. Please use them strictly according to the following specifications:
| Variable Name | Description |
|---|---|
${site_name} |
Current site name |
${workspace_name} |
Workspace name |
Prerequisites¶
- Alibaba Cloud SMS Service has been activated and real-name authentication has been completed.
- An SMS signature has been created and approved.
- Alibaba Cloud AccessKey ID and AccessKey Secret have been obtained.
Notes¶
- Both SMS signatures and templates must be approved by Alibaba Cloud before they can be used.
- The variable names in the template content must be completely consistent with the specifications required by Guance; otherwise, the system will not be able to recognize them.