Unsupported content

 

This version of the product is in limited support. However, the documentation is available for your convenience. You will not be able to leave comments.

Configuring compliance constants

Compliance constants can be used in criteria as placeholders for values. The constants defined here can be used in any compliance rule to be defined.

You can execute following operations on compliance constants:

Creating a constant

Compliance constants can be used in criteria as placeholders for values. The constants defined here can be used in any compliance rule to be defined. To create the constant that represents the BMC Client Management installation directory, proceed as follows.

  1. Select the Constants tab.
  2. Click Create Constant  .
  3. Enter PATH CM Client as the constant name.
  4. Enter C:/Program Files/BMC Software/Client Management as the value that the constant represents.
  5. Click OK to confirm and add the new constant.

The constant is now created and can be used in compliance rules.

Creating a compliance rule using a constant

This compliance rule finds all clients on which the CM client is not installed in its default directory. This rule will use a constant instead of entering a value or selecting it from the lists provided by the search functionality. This rule will have one criteria group.

  1. Click Create Compliance Rule .
  2. Enter CM Client Installation Directory into the Name box and then click OK .
  3. Double-click the new rule in the table to the right.
  4. Select the Criteria tab.
  5. Click Add Criteria Group .
  6. Enter Client Path into the Name box.

This group will find all devices on which the client is installed in the specified directory.

  1. In the Class list, select the Software Inventory value.
    The following Table box will update its contents to the fields available for the software inventory.
  2. Select the value Scanned Application (Deprecated) in the Table box.
  3. Select the criterion Installation Directory .
  4. Click Constant  next to the Value box.
  5. Select the PATH CM Client constant and click OK.
  6. Click Add .
  7. Click OK to add the criteria group to the rule.
  8. To activate the compliance rule select the green colored option active instead of the currently displayed red option inactive in the Status list.

You have now created a compliance rule that uses a constant. To check for device compliance assign this rule to the required devices/device groups and evaluate.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments