Using the sample rule sets
BMC AMI DevOps for Db2
provides the following sample rule sets:
Name | Description |
---|---|
$BMC SAMPLE RULE SET | Provides good examples of how to define rules. You can also use this sample rule set to verify successful installation. |
$BMC USRVARS SAMPLE RULE SET | Provides good examples of how to define rules with user-defined variables. The sample rule expressions are defined with the host variable equal to the user-defined variable. |
You can use BMC AMI Command Center to view the contents of the sample rule sets. All of the views are read-only when viewing the sample rule sets. You can, however, make a full copy of the sample rule sets and copy a rule in a sample rule set to another rule set.
The topic contains the following procedures:
To view the sample rule set
- In the Product Tools perspective, select or add a Manage Schema Rules view.
- In the Manage Schema Rules view, select one of the following BMC sample rule sets:
- $BMC SAMPLE RULE SET
- $BMC USRVARS SAMPLE RULE SET
- Click Edit rule set
.
The View rule set view is displayed.
To copy the sample rule set
- In the Product Tools perspective, select or add a Manage Schema Rules view.
- In the Manage Schema Rules view, select one of the following BMC sample rule sets:
- $BMC SAMPLE RULE SET
- $BMC USRVARS SAMPLE RULE SET
- Click Copy rule set
.
The Copy rule set view is displayed. - In the Copy rule set view, edit the default rule set name so the name is unique.
- Click Save changes
.
- Click Back
.
To copy a sample rule
- In the Product Tools perspective, select or add a Manage Schema Rules view.
- In the Manage Schema Rules view, select one of the following BMC sample rule sets:
- $BMC SAMPLE RULE SET
- $BMC USRVARS SAMPLE RULE SET
- Click Edit rule set
.
The View rule set view is displayed. - Select a rule to copy.
- Click Copy rule
.
The Copy Sample Rule dialog box is displayed. - Select the Target rule set and click OK.
The Copy rule view is displayed. - Update the rule as needed.
For more information, see Defining-a-schema-rule. - Click OK.
The Edit rule set view for the target rule set is displayed.is displayed next to the copied rule.
- Click Save changes
.
- Click Back
.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*