Smarts: How to output Smarts AM auto discovery filters on the command line
search cancel

Smarts: How to output Smarts AM auto discovery filters on the command line

book

Article ID: 303707

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How to output Smarts AM/PM auto discovery filters on the command line



Two commands can be used:

1 ) <BASEDIR>/IP/smarts/bin/sm_tpmgr -s <DOMAIN> --filters

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 = {  }

2) dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager getFilters

{
 {
   0
   AUTOMATIC
   *
   Bridge|FileServer|Firewall|Host|Hub|LoadBalancer|MSFC|Node|Probe|Router|RSFC|
RSM|Switch|TerminalServer|Uncertified|Unsupported
   *
   *
   *
   *
   *
   *
 }
}