Outputting AM auto discovery filters via command line
search cancel

Outputting AM auto discovery filters via command line

book

Article ID: 303707

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Overview of how to output Smarts AM/PM auto discovery filters through command line, and which commands to use

Environment

Smarts 10.1.X

Resolution

Two commands can be used to accomplish this:

First command is:

<BASEDIR>/IP/smarts/bin/sm_tpmgr -s <DOMAIN> --filters
  • This will output both the auto discovery filters and also the ipIncludeList and ipExcludeList. For example:
sm_tpmgr -s INCHARGE-AM --filters
    IP Exclude List:
    Discovery Filters:
Discovery Filter 0:
        Priority = 0
        Criteria:
                Accept Mode = AUTOMATIC
                IP Pattern = *
                System Type = Bridge|FileServer|Firewall|Host|Hub|LoadBalancer|M
SFC|Node|Probe|Router|RSFC|RSM|Switch|TerminalServer|Uncertified|Unsupported
                System Name = *
                System Description = *
                System OID = *
        Properties:
                SNMP Port = 0
                SNMP Version = unknown_SNMP_version
                Access Mode = ICMPSNMP
                Read Community Strings = {  }

The second command is:

dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager getFilters
  • The output will be
{
 {
   0
   AUTOMATIC
   *
   Bridge|FileServer|Firewall|Host|Hub|LoadBalancer|MSFC|Node|Probe|Router|RSFC|
RSM|Switch|TerminalServer|Uncertified|Unsupported
   *
   *
   *
   *
   *
   *
 }
}