(DEPRECATED)-Add destination(s) to an event definition
The destinations you add must already exist. See the documentation for the event destination create command for information about creating destinations. To show all existing destinations and their attributes, use the event destination show command. To remove destinations from an event route, use the event route remove-destinations command.
You can use extended queries with such parameters as -severity and -snmp-support to specify multiple events that meet certain criteria. See examples below that show how to use extended queries.
cluster1::> event route add-destinations -message-name raid* -destinations support.email,mgr.email,sreng.pagerThe following example specifies that all alert, and emergency events go to the destination named test_dest:
cluster1::> event route add-destinations -message-name * -severity <=ALERT -destinations test_destThe following example specifies that all alert events that support a SNMP trap go to the destination named traphost. In this example, because the -snmp-support parameter is specified as part of extended queries, the -severity parameter must also be specified in the extended queries:
cluster1::> event route add-destinations {-snmp-support true -severity ALERT} -destinations traphost