| Index | Top - Up | Data ONTAP 8.2 |
Add destination(s) to an event definition
Availability: This command is available to cluster administrators at the admin privilege level.
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.
-messagename <Message Name> - Message Name
-destinations <Event Destination>, ... - Destinations
cluster1::> event route add-destinations -messagename raid* -destinations support.email,mgr.email,sreng.pagerThe following example specifies that all critical, alert, and emergency events go to the destination named test_dest:
cluster1::> event route add-destinations {-severity <=CRITICAL} -destinations test_dest
The following example specifies that all critical or alert events that support a SNMP trap go to the destination named traphost:cluster1::> event route add-destinations {-snmp-support true -severity CRITICAL|ALERT} -destinations traphost
| Index | Top - Up | Data ONTAP 8.2 |