Smarts IP/NPM: How do disable/enable network protocol discovery for Smarts NPM in Smarts IP?
search cancel

Smarts IP/NPM: How do disable/enable network protocol discovery for Smarts NPM in Smarts IP?

book

Article ID: 304063

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




How do disable/enable NPM protocol discovery in Smarts IP?

Smarts IP server stopped discovering OSPF and BGP_TopologyCollection. 

I do not have NPM server running and do not want AM to discover OSPF, BGP, EIGRP, ISIS

Environment

VMware Smart Assurance - SMARTS

Resolution

First check if return is TRUE of FALSE on DisableProtocalDiscovery

IP/smarts/bin/dmctl -s <server name> invoke ICF_TopologyManager::ICF-TopologyManager findParameter DisableProtocolDiscovery

To disable NPM discovery:

IP/smarts/bin/dmctl -s <server name> invoke ICF_TopologyManager::ICF-TopologyManager insertParameter DisableProtocolDiscovery TRUE

To enable NPM discovery:

IP/smarts/bin/dmctl -s <server name> invoke ICF_TopologyManager::ICF-TopologyManager insertParameter DisableProtocolDiscovery FALSE

Using a dmctl command means you do not have to restart the domain.


Additional Information

To make a permanent change:

BASEDIR/IP/smarts/bin/sm_edit conf/discovery/tpmgr-param.conf

The following is the default:
#Enable/Disable protocol (pm) related discovery.
DisableProtocolDiscovery TRUE

Because you edited this file, and want it permanent, the IP server needs to be restarted for the change to take affect. You will also need to do a 'discover all' on the IP domain.