When you create a notification policy, you can specify a contact group as the notification recipient. If a matching rule in the policy is triggered, the alert management system sends alert notifications to the contacts in that group. Notifications can be sent by phone call, text message, email, and DingTalk.
Prerequisites
A contact or a robot for DingTalk, WeCom, or Lark has been created. For more information, see:
Create a contact group
-
Log on to the Managed Service for Prometheus console. In the left navigation pane, choose .
On the Contacts tab, click New Contact Group in the upper-right corner.
In the dialog box that appears, enter a Group Name, select Alert Contacts, and then click Confirm.
The new contact group appears in the All Contacts area on the left side of the Contacts tab.
Manage contact groups
To search for a contact group, enter a keyword for the group name in the search box on the left side of the Contacts tab and click the
icon.To edit a contact group, move the mouse pointer over the
icon to the right of a contact group in the All Contacts area on the left side of the Contacts tab and click Edit Group. In the dialog box that appears, edit the information and click Confirm.NoteYou can edit only the contact groups that you created.
To view the contacts within a contact group, click the
icon to the left of the contact group name in the All Contacts area on the left side of the Contacts tab. This expands the group and displays its contact information.To delete a contact group, move the mouse pointer over the
icon to the right of a contact group in the All Contacts area on the left side of the Contacts tab and click Delete Group. In the dialog box that appears, click Confirm.ImportantBefore you delete a contact group, make sure it is not used in any notification policy. Otherwise, alert notifications may not be sent.
You can delete only the contact groups that you created.