Chat Settings > Server Settings
Parameter Description Corp ID
Your company’s Corp ID on WeCom.
Agent ID
The Agent ID of the WeCom application.
Secret
The Secret of the WeCom application.
Chat Settings > Recipient Settings
Set the User ID, Department ID, or Tag ID that will receive notifications. Click Add to set multiple IDs.
Chatbot Settings > Chatbot Settings
Webhook URL: The webhook address of the WeCom Chatbot.
Chatbot Settings > Recipient Settings
Set the User ID or user phone number that will receive notifications. Click Add to set multiple IDs and phone numbers.
Filter Conditions
The notifications sent by KubeSphere are presented in the form of key-value pairs. When the key and value filled in here match the key and value in the label settings of the alert rules in rule groups, the notifications can be filtered by labels and alert notifications that meet specific label conditions can be sent to receivers. Click Add to set multiple conditions.
Parameter Description Key
The key in the notification content. Click the dropdown list to select a preset key, or input a custom key in the dropdown list.
Operator
The operator for the filter condition.
Contains: The value corresponding to the key contains a specific string.
Does Not Contain: The value corresponding to the key does not contain a specific string.
Exists: The specific key exists in the notification content.
Does Not Exist: The specific key does not exist in the notification content.
Regex Match: Filter notifications that meet the conditions through a regular expression.
Values
The value corresponding to the key must include the specified string. Press Enter to set multiple strings. If the value corresponding to the key contains any of these strings, the condition is met.
Click Send Test Message to confirm that the notification channel is working properly.