Sets notification preferences for alarms. Permissions required:
fc or a.
Alarm notifications can
be sent to the default email address and a specific email address
for each named alarm. If individual is set to
1 for a specific alarm, then notifications for that
alarm are sent to the default email address for the alarm type. If
a custom email address is provided, notifications are sent there
regardless of whether they are also sent to the default email
address.
maprcli alarm config save
[ -cluster <cluster> ]
-values <values>
| Request Type | POST |
| Request URL | |
|
Parameter |
Description |
|---|---|
|
|
The cluster on which to run the command. |
|
|
A comma-separated list of configuration values for one or more
alarms, in the following format:
|
Send alert emails for the AE_ALARM_AEQUOTA_EXCEEDED alarm to the default email address and a custom email address:
maprcli alarm config save -values "AE_ALARM_AEQUOTA_EXCEEDED,1,test@example.com"
https://r1n1.sj.us:8443/rest/alarm/config/save?values=AE_ALARM_AEQUOTA_EXCEEDED,1,test@example.com