FlashCat supports using Tencent Cloud SMS for alert notifications. Below are the steps to configure and connect to Tencent Cloud SMS.
Configuration Fields Description
Nightingale Template Parameter | Tencent Cloud | Description |
---|---|---|
TcSecretId | SecretId | The cloud API key is an important credential for constructing Tencent Cloud API requests. It is used to generate signatures when calling Tencent Cloud APIs. Can only be viewed at creation, please save the SecretKey in time. |
TcSecretKey | SecretKey | Same as above |
TcSdkAppId | SDK AppID | The unique identifier of the SMS application, required when calling the SMS API interface. |
TcTplId | Template ID | The ID of the template approved by the console. |
TcEndpoint | “sms.tencentcloudapi.com” | The domain name of the API request. |
TcRegion | Region | The region parameter is used to identify which region’s data you want to operate. The optional values for the Region field are as follows: North China (Beijing) ap-beijing; South China (Guangzhou) ap-guangzhou; East China (Nanjing) ap-nanjing |
Usage Configuration Example
1. Create SecretId & SecretKey
In the Tencent Cloud Console API key management, create a new key.
Note: The newly created key only provides the SecretKey at the time of creation, it cannot be queried later. Please save the SecretKey.
2. Create SDK AppID
In the Tencent Cloud Console App Management —> Application List —> Create Application. After creation, you can see the SDKAppID.
3. Create a Text Template to Obtain the Template ID
In the Tencent Cloud Console App Management —> Text Template Management —> Create Text Template.
The {1} is customizable content used to include the notification content from the FlashCat template.
4. Fill in Tencent Cloud SMS Configuration in FlashCat
5. Configure Notification Template
For notification template writing, refer to this document: https://flashcat.cloud/docs/content/flashcat-monitor/nightingale-v6/faq/go-template/
6. Configure Tencent Cloud SMS Notification
- Select
tx-voice
in the notification medium. - Choose the alert receiving group (the group members must fill in the correct mobile contact to receive SMS notifications).
Configure the user’s mobile number in Personnel Organization —> User Management.
Log Troubleshooting
If messages cannot be sent normally, you can check the relevant error information in the FlashCat’s ERROR.log by filtering the keyword sender
.