To remove all SNMP related objects after a topology has been converted to ICMPONLY, do the following:
-
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).
-
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.
-
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.
-
Once the domain is fully started, confirm there are no devices in the topology.
-
Shut down the domain again.
-
Remove the --clean-topology attribute and restart the domain.
-
Use the seedfile created in the preceding steps to create the topology as follows:
-
Open the Smarts Domain Manager Administration Console view of your Smarts IP domain topology.
-
Select Topology > Import from seedfile.
-
Provide the path to the seedfile on the server and complete the import.
-
Confirm that there are no SNMP class objects related to SNMP discovery in the Smarts IP topology.