Project Alert
When using Whaleal to manage a MongoDB cluster, you can configure cluster alerts based on specific metrics. Alerts can be sent to DingTalk, Lark, or to a custom alert platform via Webhook.
Configuration steps
- Click Project in the left navigation bar of the Whaleal platform
- Click on the target item
- There are three types of police alert icons in Group. DingTalk and Lark configurations require the use of built-in tokens and salts,and Webhook.
Lark
-
Enter a Lark group.
-
Click the three dots in the upper right corner of the group.
-
Add a bot
-
Click Bots
-
Click Add Bot
-
Click Custom Bot
-
Edit Bot Name and Description
-
Configure the key to use "_" to connect
-
Configure the key spliced in step 5 in the Project.
-
After the configuration is complete, click Alert Setting in the left navigation bar to configure the alart trigger values and trigger methods of different indicators according to Host Alert, MongoDB Alert or Project.
DingTalk
-
Enter a DingTalk group.
-
Click the three dots in the upper right corner of the group.
-
Add a bot
-
Click Bots
-
Click Add Bot
-
Select Custom Bot
-
Edit Bot Name and Security Setting.
-
Check the Bot you just created, then copy the access_token after the Webhook link and concatenate it with the value of Additional Signature in Security Setting using "_".
-
Configure the key spliced in step 5 in the Project.
-
After the configuration is complete, click Alert Setting in the left navigation bar to configure the alart trigger values and trigger methods of different indicators according to Host Alert, MongoDB Alert or Project.
WebHook
Webhook configuration configures an alart Post Url, Webhook sends the alart to this Url