This documentation supports an earlier version of BMC Helix Operations Management. Use the Product version picker to select and view the latest version of documentation.

Publishing groups as service models


Groups created in BMC Helix Operations Management can be published as a service model, which can be viewed in BMC Helix AIOps and BMC Discovery consoles.  In BMC Helix Operations Management, each group is a logical collection of monitored entities that you can model as a business service and publish as a service model.


You must have admin permissions in BMC Helix Operations Management to create and publish groups as services. 

To create a group and publish as service

  1. On the Configuration > Groups page, click Create.
  2. Specify a unique name and an optional description for the group. 

    Note

    To publish a group as a service, you must select a valid entity selection criteria (mentioned in step3).

  3. Create the selection query to group the entities, events, or both.

    Constructing the entity selection criteria

    When you click in the box, you are prompted to make a selection. Each time you make a selection, you are progressively prompted to make another selection. 

    The selection query consists of opening parenthesis, followed by the entity name, the operator, the value (which can be a string based on the type of entity selected), and the closing parenthesis. You can optionally select the logical operator AND or OR to add additional conditions.

    Example query: Select entities with the device name containing the string 'pun' and 'aus'.

    The green check mark indicates that the event selection query syntax is correct.

    groups_selection_criteria.png

    To change the condition, double-click any of the terms in the condition. In the preceding example, you can change the Device Name slot by double-clicking it.

    Constructing the event selection criteria

    When you click in the box, you are prompted to make a selection. Each time you make a selection, you are progressively prompted to make another selection. 

    The selection criteria consists of opening parenthesis, followed by the slot name, the operator, the slot value (which can be a string based on the type of slot selected), and the closing parenthesis. You can optionally select the logical operator AND or OR to add additional conditions.

    Example criteria: Select all the events that are in "open" and "acknowledged" status.

    The green tick mark indicates that the event selection criteria syntax is correct.

    event_selection_criteria_in_groups.png

    To change the condition, double-click any of the terms in the condition. In the preceding example, you can change the Status slot by double-clicking it.

    (Optional) Preview the result and click the device count or event count to view the details.

    Important

    The event count result is a sum of all unique events matching from both entity selection criteria and event selection criteria.

  4. (Optional) Associate one or more authorization profiles from the list. For more information, see Setting-up-access-control.
  5. Select Publish as Service to publish the group as a service model. The published group can be viewed as a service in BMC Discovery and the unpublished group is available only in BMC Helix Operations Management. For more information on viewing the published service models, see Managing service models in BMC Helix Discovery and Monitoring services in BMC Helix AIOps. 

  6. Save the group.

To view published and unpublished list of groups

  1. On the Configuration > Groups page.
  2. Check the Published Status column for Published or Unpublished status.

groups_as_service_in_bhom.png


To publish unpublished groups as services

Publishing a group without valid entity selection criteria

Only groups with a valid entity selection criteria can be published as services. Before publishing a group, ensure that you edit the group and enter a valid entity selection criteria as mentioned in step3of To create a group and publish as service. When you try to publish a group without a valid entity selection criteria, you get the following message:

groups_as_service_cannot_publish.png

  1. On the Configuration > Groups page, select one or more unpublished groups.
  2. Click the action menu of the group that you want to publish and select Publish as Service
    The Publish Groups page is displayed with the list of selected groups. 
  3. Click Publish. All the unpublished groups are published as service models in BMC Discovery and BMC Helix AIOps as shown in this image. For more information on viewing the published service models, see Managing service models in BMC Helix Discovery and Monitoring services in BMC Helix AIOps.

groups_as_service_in_bhom_aiops_dsm.png

To unpublish a group

  1. On the Configuration > Groups page, do one of the following:
    • Select the group and click Edit.
    • From the group action menu, select Edit.
  2. (Optional) Edit the group and save the changes.
  3. Clear the Publish as Service option save the changes as shown in this image.
    unpublish_a_group.gif
  4. View the Publish Status column. It is updated to Unpublished for that group. 

    You can publish a group even after marking it as unpublished. For more information, see To publish unpublished groups as services.

Where to go from here

Monitoring-services

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*