Skip to main content
A newer release of this product is available.

event route remove-destinations

Contributors
Suggest changes

(DEPRECATED)-Remove destination(s) from an event definition

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

Description

Note This command has been deprecated. It may be removed from a future release of Data ONTAP. Instead, use the "event notification" command set.

The event route remove-destinations command can be used to remove existing destinations from an event route. This command removes only the specified destinations from the route, leaving any other destinations assigned to that route.

The named destinations are not deleted, just removed from the specified event route. To delete a destination entirely, use the event destination delete command. To show all existing destinations and their attributes, use the event destination show command.

You can use extended queries with such parameters as -severity and -snmp-support to specify multiple events that meet certain criteria. See examples provided in the event route add-destinations command manpage that show how to use extended queries.

Parameters

-message-name <Message Name> - Message Name

Specify the message name of the event you are modifying. You can use wildcards to specify a family of events or type of event.

[-severity {EMERGENCY|ALERT|ERROR|NOTICE|INFORMATIONAL|DEBUG}] - Severity

Use this optional parameter to specify a set of events that match this parameter value. You must use the -message-name parameter with wildcards to specify the family of events or type of events.

-destinations <Event Destination>,…​ - Destinations

Specify a comma-separated list of destinations to remove from the event's list of destinations.

Examples

The following example specifies that the destination named "mgr.email" should no longer receive notifications of RAID events.

cluster1::> event route remove-destinations -message-name raid* -destinations mgr.email