Skip to main content
NetApp Knowledge Base

Error when removing SNMP trap hosts on clustered Data ONTAP

Last Updated:

Applies to

  • ONTAP 9


Issue 1 : When attempting to remove or add trap hosts using either system snmp traphosts or event destination, an error is displayed that the SNMP and event subsystems must match: 

::> system snmp traphost delete 

Error: command failed: Failed to add or change SNMP destination because all SNMP destinations defined in both the SNMP and event subsystems mustmatch. Use the "system snmp traphost show" or "event destination show-name traphost" commands to see the current list of traphost destinations. Ensure that no other SNMP destinations have been created via the "event destination show" command.

Netapp::> system snmp traphost show ( <> ( <> ( <>

Netapp::> event destination show
Name             Mail Dest.        SNMP Dest.         Syslog Dest.       Params
---------------- ----------------- ------------------ ------------------ ------
allevents        -                 -                  -                  false
asup             -                 -                  -                  false
criticals                ,,  -   false       -                 -                  -                  false
emergency                ,,  -   false       -                 -                  -                  false
pager            -                 -                  -                  false
slg              -                 -                  -                  false    -                 -                  -                  false
traphost         -       ,,  -   false
10 entries were displayed.

Issue 2: When attempting to remove a traphost, you may see the following error.

::*> system snmp traphost delete

Error: command failed: The destination traphost cannot include an SNMP field because it is assigned to event <EVENT_NAME> and this event does not support SNMP trap.




Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.