(DEPRECATED)-Delete an event destination
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 destination" command set.
The
event destination delete command
removes a specified destination from the list of valid destinations.
An event destination is a list of addresses
that receive event notifications.
These addresses can be e-mail addresses,
SNMP trap hosts, and syslog servers.
Event destinations are used by event routes.
Event routes describe which events generate notifications,
and event destinations describe where to send those notifications.
Once you delete a destination, you will not be able to add that
destination to any event route.
You will not be able to delete a destination
if it is in use by any event routes.
To remove a destination from all event routes,
so that you can delete it,
use the event route remove-destinations -messagename * -destination name command.
There are several default destinations that cannot be deleted:
- allevents - A useful destination for all system events,
though no events are routed to this destination by default.
- asup - Events routed to this destination trigger AutoSupport(tm).
Only use this destination to send notifications to technical support.
See system node autosupport for more information.
- criticals - A useful destination for critical events
though no events are routed to this destination by default.
- pager - A useful destination for all events
that are urgent enough to page a system administrator,
though no events are routed to this destination by default.
- traphost - The default destination for all SNMP traps.
You can also use the
system snmp traphost delete command
to delete SNMP recipients from the traphost default
destination.
To see the current list of all destinations,
use the event destination show command.
To add a new destination to the list,
use the event destination create command.
Parameters
- -name <text> - Name
- This mandatory parameter specifies
the event destination to delete.
Examples
The following example deletes an event destination named manager.pager:
cluster1::> event destination delete -name manager.pager