2 模板

    Overview

    A listing of existing templates with their details is displayed.

    To configure a new template, click on the Create template button in the top right-hand corner. To import a template from a YAML, XML, or JSON file, click on the Import button in the top right-hand corner.

    Using filter

    You can use the filter to display only the templates you are interested in. For better search performance, data is searched with macros unresolved.

    2 模板 - 图2

    ParameterDescription
    Template groupsFilter by one or more template groups.
    Specifying a parent template group implicitly selects all nested groups.
    Linked templatesFilter by directly linked templates.
    NameFilter by template name.
    TagsFilter by template tag name and value.
    Filtering is possible only by template-level tags (not inherited ones). It is possible to include as well as exclude specific tags and tag values. Several conditions can be set. Tag name matching is always case-sensitive.
    There are several operators available for each condition:
    Exists - include the specified tag names
    Equals - include the specified tag names and values (case-sensitive)
    Contains - include the specified tag names where the tag values contain the entered string (substring match, case-insensitive)
    Does not exist - exclude the specified tag names
    Does not equal - exclude the specified tag names and values (case-sensitive)
    Does not contain - exclude the specified tag names where the tag values contain the entered string (substring match, case-insensitive)
    There are two calculation types for conditions:
    And/Or - all conditions must be met, conditions having the same tag name will be grouped by the Or condition
    Or - enough if one condition is met
    Mass editing options

    Buttons below the list offer some mass-editing options:

    • Mass update - for a number of templates at once
    • Delete and clear - delete the template and its linked entities from the hosts