Creating, editing, and deleting rule-based groups

Rule-based groups are groups that are created based on specific conditions or criteria that you specify. Only those devices and monitors that match the conditions you specify are added to the group.

To create a rule-based group

  1. Go to Configuration > Groups and click action menu  next to Group Configuration.

    Note

    The Create Rule Based Group icon is visible only on the Manual Groups tab. You cannot perform add, update, or delete operations on synchronized groups because these groups are automatically synchronized from Infrastructure Management.

  2. Click Create Rule-Based Group.
    Because you are creating a rule-based group, the Type field displays Rule-Based Group. Specify information as per the following table:

    Note

     The values that you enter for the properties are not case-sensitive. 

    Field nameDescription
    Group Name

    A name for the group you are creating.

    Note

    The group name must be within 60 characters. 

    DescriptionA brief description of what the group was created for.
    Parent GroupsSelect the parent group if you want the newly created group to be a child of this parent group. You can choose more than one parent group.
    Child Groups

    Select the child group that must belong to the newly created group. You can select either a manual or automatically synchronized group as a child group. You can select more than one group as a child group.

    Note

    You can select a child group from a list of manual and automatically synchronized groups. The automatically synchronized group names are displayed along with their associated Infrastructure Management server names enclosed in the parentheses as shown in the following screenshot.

    sync_as_child_grp

  3. Click the  to add one or more rules to select devices. You can set multiple conditions to select devices as shown in the following example:

    The values that you enter for the properties are not case-sensitive. 


    device_selection_criteria_113

     Step-by-step instructions to select devices
    1. Select one of the following properties:
      • Device Name
      • Device DNS Name
      • Device IP Address
      • Meta Tag
        Note: The Meta Tag is supported only with:
        • TrueSight Presentation Server version 11.3.03 and later
        • TrueSight Infrastructure Management server version 11.3.03 and later
        • PATROL for Microsoft Azure version 2.1.10 and later
        • PATROL for Amazon Web Services 2.1.10 and later
      • Tenant Name
    2. Select an operator to create the condition. The available operators depend on the property that you select.
    3. (Optional) To add more than one condition, click the , and perform the earlier steps.
    4. (Optional) To group the conditions, use parenthesis and boolean operator from their corresponding lists:
       
      • (
      • ((
      • (((
      • )
      • ))
      • )))
      • AND
      • OR
    5. (Optional) To remove any existing condition, click the
    6. To view the list of devices that are selected based on the specified criteria, click Preview
      Note: The Preview option is enabled only after you specify values for the selected conditions.
    7. Click Save.
  4. Click the  to add one or more rules to select monitor instances. You can set multiple conditions to select monitor instances as shown in the following diagram:
    Note: The values that you enter for the properties are not case-sensitive.

     Step-by-step instructions to select monitor instances
    1. Select one of the following properties:
      • Monitor Name
      • Monitor Type
      • Device Name
      • Device DNS Name
      • Device IP Address
      • Meta Tag
        Note: The Meta Tag is supported only with:
        • TrueSight Presentation Server version 11.3.03 and later
        • TrueSight Infrastructure Management server version 11.3.03 and later
        • PATROL for Microsoft Azure version 2.1.10 and later
        • PATROL for Amazon Web Services 2.1.10 and later
      • Tenant Name
    2. Select an operator to create the condition. The available operators depend on the property that you select.
    3. (Optional) To add more than one condition, click , and perform the earlier steps.
    4. (Optional) To group the conditions, use parenthesis and boolean operator from their corresponding lists:
      • (
      • ((
      • (((
      • )
      • ))
      • )))
      • AND
      • OR
    5. (Optional) To remove any existing condition, click
    6. To view the list of monitors that are selected based on the specified criteria, click Preview
      Note: The Preview option is enabled only after you specify values for the selected conditions.
    7. Click Save.

    When you upgrade rule-based groups

    The new rule configurations in TrueSight Infrastructure Management version 10.7 or later versions appropriately formats all the existing rules used in rule-based groups, after you upgrade to TrueSight Infrastructure Management version 10.7 or later versions from any of its earlier versions.

    Rule configured to create a group in the TrueSight Infrastructure Management version earlier to 10.7


    Reformatted rule in TrueSight Infrastructure Management version 10.7 or later versions

  5. (Optional) Select Mark the instances and devices for deletion from the system.

    When selecting this option is useful?

    Select this option only if you have to delete the instances and devices after a short period of time. By default, it is set to 48 hours in the <property_name> property. You can configure this <property_name> property using the tssh set property command.

    Note: Selecting this option removes the instances and devices along with the historical data from the system as per the time set in the <property_name> property. If you have not selected this option or if you have not manually set the <property_name> property using the tssh command, the instances and devices along with the historical data is deleted only after 7 days. 

  6. Click Save to save the changes.

To edit a rule-based group

Perform the following steps to edit an existing group details:   

  1. Go to Configuration > Groups.
    All the parent groups are displayed in the Group Configuration page. 
  2. Expand the group name of the group that you want to update. If you want to update a child group, navigate to the child group name and expand it.
  3. Click the action menu  next to the group name and select Edit Group.
  4. Do the required changes.
    You can add or remove parent groups, child groups, assigned devices, and monitor instances.
  5. Click Save.
Was this page helpful? Yes No Submitting... Thank you

Comments