Creating filters for clusters, hosts, and virtual machines

This topic provides information about creating and modifying filters for clusters, hosts, virtual machines and filtering virtual machines basaed on DNS name and IP address in VMware environment. 

To create filters for clusters, hosts, and virtual machines

  1. Navigate to the VMware vSphere node under the VSM_VC application class.
  2. Access the VMware vSphere node menu, as described in Accessing KM menu commands.

  3. Choose Configure Service URL to display the PATROL for VMware vSphere on host dialog box.
  4. To filter clusters, enter a regular expression in the Filter Clusters text box, and select Include or Exclude to include or exclude the clusters from the inventory.

    Note

    If you enter a regular expression to include or exclude a cluster, all the hosts and virtual machines under that cluster are included or excluded from the inventory.

  5. To filter hosts, enter a regular expression in the Filter Hosts text box, and select Include or Exclude to include or exclude the hosts from the inventory.

    Notes

    • If you enter a regular expression to include or exclude a host, all the virtual machines under that host are included or excluded from the inventory.
    • If you specify a pipe-separated (|-separated) list of host names, those names must be fully qualified names of ESX servers.
  6. To filter virtual machines, enter a regular expression in the Filter VMs text box, and select Include or Exclude to include or exclude the virtual machines from the inventory.

To modify filters for clusters, hosts, and virtual machines

  1. Navigate to the vCenter node, under the VSM_VC application class.
  2. Access the vCenter node menu, as described in Accessing KM menu commands.
  3. Choose Configure Monitored Objects to display the Modify Filter dialog box.
  4. Modify the filters for clusters, hosts, and virtual machines.
  5. Click Accept.

Filtering virtual machines based on DNS name and IP address

You have the capability of filtering virtual machines by including or excluding them from monitoring based on their DNS name or IP address. You can filter virtual machines based on DNS names by using the FilterVMSDNS agent configuration variable and you can filter virtual machines based on IP addresses by using the FilterVMSIP agent congfiguration variable. 

For more information about using these variables, see Agent Configuration Variables.

Was this page helpful? Yes No Submitting... Thank you

Comments