Smarts ESM: How to Filter out the devices imported in to ESM domains; Is it possible to filter which devices ESM (Server Manager) Imports?
search cancel

Smarts ESM: How to Filter out the devices imported in to ESM domains; Is it possible to filter which devices ESM (Server Manager) Imports?

book

Article ID: 331643

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How to Filter out what devices are imported in to the ESM domains.  By default all Host and VM's will be imported into the ESM domain.



To Filter out devices coming into the ESM domain you must modify the dxa-am.conf file in the ESM domain located under <basedir>/ESM/smarts/conf/esm/dxa-am.conf

The "filter" keyword can only be used for the following attributes of host:
host
ip
software
displayclassname

If these attributes are being used to filter out the devices then the syntax are as follows:

#filter  ip=~10.239.5.<40-80>
#filter  software=*Apache*;managed=no;monitored=no
#filter  software=*NFS*;monitored=yes;managed=yes
#filter  displayclassname=~Host
#filter  host=*esx*
#filter  host=Celtics|Lakers|Knicks|Nets|Cavaliers|Raptors|Bulls|Magic
#filter  host=avalanche*|blackhawks*|blazers*|bobcats*|bruins*|cavs*|chiefs*
#filter  ip=128.221.11.160

If you intend to use Attributes other than the 4 listed above users cannot use the filter command to filter out the device.

peek command will allow users to use other attributes to filter out the devices.  

Syntax:

peek <attribute> <value or pattern> 

See example below:

 peek  DisplayName *test123*|*bat124*| 

peek AccessMode ICMPSNMP

and so on. 

Users can use any attributes from the GUI of the device.