Skip to main content

event notification modify

Contributors
Suggest changes

Modify event notifications

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The event notification modify command is used to modify an existing notification.

Parameters

-ID <integer> - Event Notification ID

Use this mandatory parameter to specify the ID of the notification to be modified.

[-filter-name <text>] - Event Filter Name

Use this parameter to specify the filter name to be modified.

[-destinations <text>,…​] - List of Event Notification Destinations

Use this parameter to specify the destinations to be modified. Enter multiple destinations separated by a comma.

Provide the complete set of destinations to be modified. Individual destinations cannot be added or removed.

Examples

The following example shows the modification of the event notification with ID 1:

cluster1::> event notification show
ID     Filter Name       Destinations
-----  ----------------  -----------------
1      filter1           email_dest, syslog_dest, snmp-traphost

cluster1::> event notification modify -ID 1 -destinations email_dest, syslog_dest

cluster1::>  event notification show
ID     Filter Name       Destinations
-----  ----------------  -----------------
1      filter1           email_dest, syslog_dest