Link and unlink services from service templates in ITSI
Link multiple services to a service template to manage them collectively in IT Service Intelligence (ITSI). A service can only be linked to one service template at a time. When you link a service to a service template, any existing KPIs in the service are preserved and KPIs in the template are added to the service. You can choose to append, replace, or keep entity rules.
If your service isn't created yet, you can generate it directly from the service template rather than manually creating and linking it. For more information, see Create a service from a service template in ITSI.
Prerequisites
- You must have the
write_itsi_service
capability to link a service to a service template. Theitoa_admin
anditoa_team_admin
roles have this capability by default. - At least one service template must exist in ITSI.
Steps
- Click Configuration > Services from the ITSI main menu.
- In the Actions column for the service you want to link, click Edit > Link to Service Template.
- Click Select... and choose a template. If the service is already linked to a template, choose a different template to link the service to.
- In the template details section, review the entity rules, the KPIs that are contained in the template, and the services already linked to the template.
Note: When linking a service to a template for the first time, any KPIs that already exist are retained and new KPIs from the template are added. If any KPIs in the service have the same name as a KPI in the template, the KPI in the service is renamed using a unique identifier.
- In the Settings section, choose how to update the entity rules in the service:
Setting Description Append template rules Adds the entity rules from the template to the service and keeps the ones that were already there. Replace with template rule Deletes the existing entity rules in the service and replaces them with the entity rules from the service template. Keep existing service rules Keeps the existing entity rules in the service and does not add any entity rules from the template. - Click Link. The Service Template column indicates that the service is synced with the service template.
Review and customize the service
After linking a service to a template, or changing the template a service is linked to, review the content updates the service received from the template. You can also customize the service to meet your needs.
Review the following tabs within the linked service:
KPIs
Note the following KPI changes when you link a service to a template:
[/topic/topic/body/section/p {""}) You can set custom thresholds for any linked KPIs. If you change the threshold settings, or if the adaptive thresholding value is recalculated, a [/topic/topic/body/section/p/image {""}) [/topic/topic/body/section/p/image/alt {""}) Unlockicon.png (alt] (image] icon appears in the Thresholding section but the service is still linked. To preserve custom thresholds when you update a template, select [/topic/topic/body/section/p/b {""}) Overwrite KPI Thresholds on: All Unchanged KPIs (b]. (p] [/topic/topic/body/section/p {""}) (p] [/topic/topic/body/section/note {""}) Making any other changes to a linked KPI, such as changing the name of the KPI, changing the base search it uses, or enabling backfill, unlinks the service from the template. (note]Link a service from one template to another
You can directly link a service from one template to another. Manually-added KPIs and service tags are retained while linked KPIs and tags from the original template are replaced with those from the new template.
- From the ITSI main menu, click Configuration > Service Templates.
- Open the service template.
- Go to the Linked Services tab.
- Click Edit > Link to another Service Template.
- Choose a template to link to and click Link.
Bulk import services and link them to a template
When you bulk import services, you can automatically link them to an existing service template so the KPIs and entity rules are populated for you. You can also link existing services to service templates in bulk. For an example of linking services to templates in bulk, see Import services from a CSV in ITSI.
For example, the director of IT might ask you to create Apache services for every Apache instance in the company. There are dozens of instances and you realize you cannot do this manually, so you use the existing Apache service template with a configurable entity rule to filter entities by a different value for each linked service.
Unlink a service from a template
Linked KPIs in IT Service Intelligence (ITSI) have a lock icon next to the name of the KPI. There's no direct method to unlink a service from a template. You can only unlink a service by performing one of the following actions:
- Deleting the service template
- Linking the service to a different service template
- Modifying the name of a linked KPI
- Modifying the base search of a linked KPI
- Modifying any settings in the KPI Search and Calculate section, including enabling backfill
- Deleting a KPI that's linked to the template
- Drilling down on numbers in the Linked Services column and deleting the linked service
After you unlink a service, it retains any manually-added KPIs and service tags.
Next steps
The next time you update the template, any changes you make are propagated to all linked services. For more information about updating a service template, see Update a service template in ITSI.