Smarts IP: Interfaces discovered are being deleted/removed after discovery during post-processing
search cancel

Smarts IP: Interfaces discovered are being deleted/removed after discovery during post-processing

book

Article ID: 303890

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Interfaces that are discovered during Smarts IP discovery are removed during post processing
Interfaces are being deleted after Smarts IP discovery
 

The following entry is found in the Smarts IP log indicating device deletion after discovery (see Note statement):

Line 7453: DSCV-W-DELETE_COMPONENT-'IF-lo0.TL2.LND2.ALTER.NET/526 [et-0/1/17]' is no longer found on 'lo0.TL2.LND2.ALTER.NET'. It is removed from topology



Environment

VMware Smart Assurance - SMARTS

Cause

The device does not have an IP address. By default, Smarts will only discover interface data for devices that have an IP address. Interfaces that are discovered but then found to not have an IP address will be removed from the Smarts IP topology.

Resolution

You can hange the default behavior so that Smarts IP will discover all Interfaces on devices whether or not the device has an IP address. This can be done as follows:

  1. Open the tpmgr-param.conf configuration file for editing using sm_edit. This file is found in the Smarts IP installation here:

    /conf/discovery/tpmgr-param.conf

     
  2. Add the following line to the tpmgr-param.conf file:

    IFTypePatternIFExt.1.3.6.1.4.1.2636.1.1.1.2.69 *

     
  3. Save and close the tpmgr-param.conf file.
  4. Reload the tpmgr-param.conf file as follows:

    sm_tpmgr -s <DOMAIN> --load-conf=tpmgr-param.conf

     
  5. Rediscover the device in Smarts IP. 
  6. Confirm that all Interfaces are discovered and not deleted in post-processing.  


Additional Information

To turn on debug and view the above log file error, run the following dmctl commands:

./dmctl -s <AM-PM Domain> put ICF_TopologyManager::ICF-TopologyManager::DebugEnabled TRUE

./dmctl -s <AM-PM Domain> put ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress TRUE

-/dmctl -s <AM-PM Domain> put ICF_TopologyManager::ICF-TopologyManager::LogTracing TRUE

Rediscover the device after running the above commands and you should see the following in the log file output:

Line 7453: DSCV-W-DELETE_COMPONENT-'IF-lo0.TL2.LND2.ALTER.NET/526 [et-0/1/17]' is no longer found on 'lo0.TL2.LND2.ALTER.NET'. It is removed from topology