Smarts IP: SNMP Discovered Class Objects remain in topology after converting all device topology to ICMPONLY
search cancel

Smarts IP: SNMP Discovered Class Objects remain in topology after converting all device topology to ICMPONLY

book

Article ID: 332131

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Unwanted objects related to SNMP discovery still persist in the Smarts IP domain topology

SNMP Discovered Class Objects remain in Smarts IP topology after converting the entire device topology to ICMPONLY

All devices in topology have been converted from ICMPSNMP to ICMPONLY, but SNMP objects still remain

Environment

VMware Smart Assurance - SMARTS

Cause

SNMP related objects are not removed from topology if a device or group of devices were initially discovered via ICMPSNMP and were not deleted and removed from topology prior to being converted to ICMPONLY discovered device.

Resolution

To remove all SNMP related objects after a topology has been converted to ICMPONLY, do the following:
  1. Output a list of all devices in the Smarts IP domain topology to a seedfile. This is done by executing the following command from the <IPBASEDIR>/smarts/bin directory (this would output to a file called "seedfile"):
sm_tpmgr -s <ip-domain> --dump-agents > seedfile

(The seedfile file specified in the above command will be output to the /bin directory unless you provide an explicit file path in the command).
  1. Check the "seedfile" created in the preceding step and make sure that all devices in the file have the parameter ACCESSMODE=ICMPONLY.
    • Note: Any devices in the seedfile marked with ACCESSMODE=ICMPSNMP or ACCESSMODE=SNMPONLY will be discovered through SNMP, and this will result of the recreation of SNMP-related objects in the topology.
  2. Shut down the Smarts IP domain and restart, adding the following parameter in the startup command:
     
--clean-topology
 
This will clean the Smarts IP domain rps of all devices/topology while keeping intact any settings and configurations.
 
  1. Once the domain is fully started, confirm there are no devices in the topology.
  2. Shut down the domain again.
  3. Remove the --clean-topology attribute and restart the domain.
  4. Use the seedfile created in the preceding steps to create the topology as follows:
    1. Open the Smarts Domain Manager Administration Console view of your Smarts IP domain topology.
    2. Select Topology > Import from seedfile.
    3. Provide the path to the seedfile on the server and complete the import.
  5. Confirm that there are no SNMP class objects related to SNMP discovery in the Smarts IP topology.