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
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/group/addEmails?<parameters>

Parameters

Parameter Description
cluster (Optional) The cluster on which to run this command. The default is the cluster on which this command is run.,
groupname (Required) 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 (Required) The comma-separated list of email addresses of users to send alert emails to when an alarm is raised.

Example

Add email addresses to cldb.alarm.group.error group.

CLI
maprcli alarm group addEmails -groupname cldb.alarm.group.error -emails abc@gmail.com,xyz@gmail.com
REST
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/group/addEmails?groupname=cldb.alarm.group.error&emails=abc@gmail.com,xyz@gmail.com