Installation guide

Table Of Contents
Create and Test Virtual Environment Compliance Filters
You can create filters that limit the objects on which the templates run to only the objects that meet the
filter criteria.If filters are not defined, the rules are run against all objects in the selected virtual objects
group.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisites
n
Create a rule group. See "Create Virtual Environment Compliance Rule Groups" on page 60.
n
Create a rule. See "Create and Test Virtual Environment Compliance Rules" on page 61.
Procedure
1. Click Compliance.
2. Select Virtual Environment Compliance > Rule Groups > rule group name > Filters.
Guest Tools Running is the rule group in this example.
3. Click Add.
4. Type the Name and Description in the text boxes and click Next.
For example, Not vCenter_Dev
5. Expand Virtualization, select vCenter - Guest - Summary, and click Next.
The collected guest summary data includes vCenter names.
6. Select Basic and click Next.
7. Click Add and configure the filter with the values to limit assessed objects or to exclude objects from
assessment.
n
In the properties drop-down menu, select vCenter.
n
Select <> as the filter operator.
n
Click the ellipsis and select vCenter_Dev and click OK.
n
Click Next.
8. Review the changes and click Finish.
The filter is added to the data grid.
9. Select your new filter and click Preview.
10. Review the data in the Machines window to verify that your filter is behaving as expected.
What to do next
Test your rule and filter together. See "Preview Virtual Environment Compliance Rule Groups" on page
62.
Preview Virtual Environment Compliance Rule Groups
You use the rules preview action, with the filters turned off and then turned on, to determine if a rule
group is returning the expected results.
vCenter Configuration Manager Administration Guide
62
VMware, Inc.