Smarts AM: Using IFDescrPattern to exclude interface creation in tpmgr-param.conf does not work
search cancel

Smarts AM: Using IFDescrPattern to exclude interface creation in tpmgr-param.conf does not work

book

Article ID: 304218

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Using IFDescrPattern in Smarts AM to exclude interface creation in tpmgr-param.conf does not work

Environment

VMware Smart Assurance - SMARTS

Cause

When excluding interface from being discovered with IFDescrPattern, it must be used in combination with IFTypePattern.

Resolution

To use IFDescrPattern to exclude a statement, you need to add the IFTypePattern to the tpmgr-param.conf configuration file. The following shows how you could exclude the word "Voice": 
  1. Use sm_edit to open the tmpgr_param.conf configuration file for editing as follows:

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

     
  2. Add the IFTypePattern to this file as in the following example (see Note statement):

    IFTypePattern-.1.3.6.1.4.1.9.1.558 ~103
    IFDescrPattern-.1.3.6.1.4.1.9.1.558 ~Voice*

     
  3. Run the following command for the changes in this file to take effect:

    <BASEDIR>/IP/smarts/bin/sm_tpmgr -s <AM server name> --load-conf=tpmgr-param.conf

     
  4. Rediscover/discover the device.


Additional Information

The IFDescrPattern is not case sensitive. In the above example, you could specify "Voice" or "voice" as the exclusion statement.