Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Error when removing SNMP trap hosts on clustered Data ONTAP

Views:
340
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
hw
Last Updated:

Applies to

Clustered Data ONTAP

Issue

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 traphost1.net 

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
        traphost1.net (traphost1.net) <192.168.23.6>
        traphost2.net (traphost2.net) <192.168.48.74>
        traphost3.net (traphost3.net) <10.2.65.123>

Netapp::> event destination show
                                                                         Hide
Name             Mail Dest.        SNMP Dest.         Syslog Dest.       Params
---------------- ----------------- ------------------ ------------------ ------
allevents        -                 -                  -                  false
asup             -                 -                  -                  false
criticals                          traphost1.net, traphost2.net, traphost3.net  -   false
dcit.email       -                 -                  -                  false
emergency                          traphost1.net, traphost2.net, traphost3.net  -   false
mark.email       -                 -                  -                  false
pager            -                 -                  -                  false
slg              -                 -                  -                  false
storage.email    -                 -                  -                  false
traphost         -                 traphost1.net, traphost2.net, traphost3.net  -   false
10 entries were displayed.

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

::*> system snmp traphost delete 10.50.80.0

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.

 

 

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support