Creating and managing custom rules for computers

9.2.31 Available from 9.2.31.

You can create custom rules to automate the process of marking computers as running on public clouds. The rule is applied whenever a computer that matches the rule criteria is discovered in the future.

Before you begin

User You must have the Manage Hardware Inventory and Manage Custom Rules permissions to perform this task.

About this task

You can create up to 50 custom rules. The number is shared between custom rules that you create for software and hardware.

Procedure

  1. In the top navigation bar, go to Reports > Hardware Inventory.
  2. Filter the report so that it shows only computers for which you want to create a custom rule. To filter the report, hover over Configure, and click Configure View. Then, select appropriate filters.
    Tip:
    • Custom rules are applied only when a computer appears in License Metric Tool for the first time. Thus, it is recommended to create custom rules that are based on data that is always available for a computer: host name, IP address or OS name. If you create a custom rule that is based on other fields and the data is not available during the first import, the custom rule is never applied to a computer.
    • Computers that were previously removed and then recreated are not considered new, therefore custom rules will not be applied to them.
  3. To select all filtered instances, press Ctrl + A, or CMD + A on Mac.
    A custom rule can be created only when you select all instances that are currently displayed.
  4. To mark the computers as running on a public cloud, click Mark as Public Cloud.
  5. Select the type of public cloud.
  6. Select the Create a custom rule check box, and click Submit.

Results

The custom rule was created. To view your custom rules, go to Management > Custom Rules. The rules are added to the panel in the order of creation, and are applied from the top during import.

Deleting custom rules

All custom rules that you create, both for software and computers, are displayed and can be deleted on the Custom Rules panel. Any user who has the Manage Custom Rules permission can add and delete rules that were created in scope of the computer group to which the user has access, including the rules created by other users. When you delete a user, the rules created by that user are not automatically removed.

About this task

User You must have the Manage Hardware Inventory and Manage Custom Rules permissions to perform this task.

Procedure

  1. In the top navigation bar, go to Management > Custom Rules.
  2. Select a custom rule that you want to delete, and click Delete.

Results

The rule is deleted and no longer applied.