| Index | Top - Up | Data ONTAP 8.2 |
Modify an event destination
Availability: This command is available to cluster administrators at the admin privilege level.
Modifying a parameter writes over the existing value of the parameter. To extend a parameter, make sure to include the current value of that parameter. For instance, to add an e-mail address to a destination, include all of the current e-mail addresses assigned to that destination along with the new address. To see the current definition of a destination, use the event destination show -name name command.
You must not create a destination that sends events to more than one type of recipient. Use separate destinations for e-mail, SNMP, and syslog activity. Also, use the traphost default destination for all SNMP activity. You should not create any other destination that sends to SNMP traphosts. The traphost default destination is not required to be added to any event route.
-name <text> - Name
[-mail <mail address>, ...] - Mail Destination
[-snmp <Remote IP>, ...] - SNMP Destination
[-syslog <Remote IP>, ...] - Syslog Destination
[-syslog-facility <Syslog Facility>] - Syslog Facility
[-snmp-community <text>] - SNMP Trap Community
[-hide-parameters {true|false}] - Hide Parameter Values?
cluster1::> event destination modify -name snmp.hosts -snmp traphost1.example.com,traphost2.example.com
This example adds the e-mail address of a remote support facility to an existing list of e-mail recipients.
cluster1::> event destination show -name support
Name: support
Mail Destination: support.hq@company.com
SNMP Destination: -
Syslog Destination: -
Syslog Facility: -
SNMP Trap Community: -
Hide Parameter Values?: -
cluster1::> event destination modify -name support -mail support.hq@company.com,support.remote@company.com
cluster1::> event destination show -name support
Name: support
Mail Destination: support.hq@company.com, support.remote@company.com
SNMP Destination: -
Syslog Destination: -
Syslog Facility: -
SNMP Trap Community: -
Hide Parameter Values?: -
| Index | Top - Up | Data ONTAP 8.2 |