ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • event notification destination delete

    Delete existing event destinations

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

    Description

    The event notification destination delete command deletes an event notification destination.

    The following system-defined notification destination is configured for your use:

    • snmp-traphost - This destination reflects the configuration in "system snmp traphost". To remove snmp-traphost addresses, use the system snmp traphost command.

    Parameters

    -name <text> - Destination Name

    Use this mandatory parameter to specify the name of an event destination to be removed.

    Examples

    The following shows the examples of deleting event notification destinations:

    cluster1::> event notification destination show
    Name            Type        Destination
        --------------  ----------  ---------------------
        StorageAdminEmail
                        email       StorageAdmin@example.com
        StorageAdminSyslog
                        syslog      example.com
        snmp-traphost   snmp        10.30.40.10 (from "system snmp traphost")
        3 entries were displayed.
    cluster1::> event notification destination delete -name StorageAdminEmail
    
        cluster1::> event notification destination show
    
        Name            Type        Destination
        --------------  ----------  ---------------------
        StorageAdminSyslog
                        syslog      example.com
        snmp-traphost   snmp        10.30.40.10 (from "system snmp traphost")
        2 entries were displayed.
    cluster1::> event notification destination delete -name Storage*
    cluster1::> event notification destination show
    Name            Type        Destination
        --------------  ----------  ---------------------
        snmp-traphost   snmp        10.30.40.10 (from "system snmp traphost")
        1 entries were displayed.
    Top of Page