5.7

Table Of Contents
A condition defines either a white list of values (equals operator) or a black list of values (not equals operator).
If you define both a white list and a black list, the Repository adapter applies AND logic to the lists. For example,
the following conditions cause the Repository adapter to export data if resource ID equals 1, 21, or 54 and
metric ID is not equal to 1, 2, or 3.
RID1=1;21;154
MID=<>1;2;3
If you do not specify an output column in the conditions.properties file, the Repository adapter does not
filter on that column and exports all of its values.
Follow these rules when you add or edit values in the conditions.properties file:
n
Enclose string values in single quotes.
n
Do not quote numeric values, such as resource or attribute IDs.
n
Use an asterisk (*) to specify a wildcard character. A wildcard matches any number of characters, including
no characters. You cannot use wildcards in numeric values.
Procedure
1 Open the conditions.properties file in the
vcenter-ops
\tools\RepositoryAdapter\conf directory.
In a vApp installation, edit the conditions.properties file on the Analytics virtual machine.
2 Use an equals operator (=) to define the values to include in an output column.
For example:
Column=value1;value2
The Repository adapter exports the value only if the value for the corresponding field in the
vCenter Operations Manager database matches one of the listed values.
3 Use a not equals operator (=<>) to define the values to exclude from an output column.
For example:
Column=<>value1;value2
The Repository adapter exports the value only if the value for the corresponding field in the
vCenter Operations Manager database does not match any of the listed values.
4 Save your changes and close the conditions.properties file.
Example: conditions.properties File
The following example maps the resource name field to the RNAME1 output column and the metric name field
to the MKNAME1 output column. The Repository adapter exports data for the Collector, Web, and Analytics
resources, and for any resource that has a name that begins with Business. The adapter does not export data
for the health metric or for any metric that has a name that begins with avail.
RKNAME1='Collector';'Web';'Analytics';'Business*'
MKNAME1=<>'health';'avail*'
Chapter 11 Configuring the Repository Adapter
VMware, Inc. 143