alarm group addemails
Adds the email addresses of users/groups to send alert to when an alarm is raised.
Syntax
- CLI
maprcli alarm group addEmails [ -cluster <cluster_name> ] -groupname <group name> -emails <email addresses>
- REST API
- N/A
Parameters
Parameter | Description |
---|---|
cluster | The cluster on which to run the command. |
groupname | The name of the alarm group to add the email addresses to. When an alarm in the group is raised, an alert email will be sent to the users/groups. If necessary, run listgroup to retrieve the list of alarm groups. |
emails | The comma-separated list of email addresses of users to send alert emails to when an alarm is raised. |
Examples
Add email addresses to cldb.alarm.group.error
group.
maprcli alarm group addEmails -groupname cldb.alarm.group.error -emails abc@gmail.com,xyz@gmail.com