-
Change Request
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 42, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019, Sprint 49 (Feb 2019)
-
12
Acceptance
- Hosts and templates will support optional list of tags
- Host prototypes will not support tags
- Host and template-level tags will work the same way as macros, i.e. no actual copy of tags is performed when linking a host to templates
- Еvent will inherit all tags from all hosts of the trigger expression
- Event will not have identical tags (same tag + value), they will be combined into one
- Front-end improvements
- Configuration→Templates
- display tag names in the list; max 3 tags; display everything on mouse-over
- Tags will be displayed and filtered as they are, i.e. not expanded
- filtering by tags, same as under Configuration→Triggers (AND/OR conditions, multiple tags)
- filtering must not use inherited tags
- Add 'mass update' action with corresponding API method and with the following mass action options supported:
- "Host groups" with sub-options "Add", "Replace" and "Remove"
- "Description"
- "Tags" with sub-options "Add", "Replace" and "Remove"
- "Link templates"
- when viewing single Template:
- Implement two modes (Template tags | Inherited and template tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- Provide the link to template this tag is inherited from
- If there is more than one instance of identical tag (e.g. inherited from template A + inherited from template B + normal tag) - it must be possible to see that
- Implement two modes (Template tags | Inherited and template tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- display tag names in the list; max 3 tags; display everything on mouse-over
- Configuration→Hosts
- display tag names in the list; max 3 tags; display everything on mouse-over
- Tags will be displayed and filtered as they are, i.e. no macros expanded
- filtering by tags, same as under Configuration→Triggers (AND/OR conditions, multiple tags)
- filtering must not use inherited tags
- replace host group related actions with "Host groups" with sub-options "Add", "Replace" and "Remove"
- mass action "Tags" with sub-options "Add", "Replace" and "Remove"
- when viewing single Host (or host discovered from host prototype):
- Implement two modes (Host tags | Inherited and host tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- "Host tags" mode will be disabled for discovered hosts, inherited tags will be displayed
- Provide the link to template this tag is inherited from
- If there is more than one instance of identical tag (e.g. inherited from template A + inherited from template B + normal tag) - it must be possible to see that
- Implement two modes (Host tags | Inherited and host tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- display tag names in the list; max 3 tags; display everything on mouse-over
- Inherited tags will NOT be displayed in the list of hosts and templates, only normal tags will be shown
- How tag filtering works must be explicitly documented
- Configuration → Triggers (and Trigger prototypes)
- Add 'mass update' action with corresponding API method and with the following mass action options supported:
- "Tags" with sub-options "Add", "Replace" and "Remove" (Instead of "Replace tags")
- when editing single Trigger (and Trigger prototype):
- Implement two modes (Trigger tags | Inherited and trigger tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- Provide the link to template this tag is inherited from
- If there is more than one instance of identical tag (e.g. inherited from template A + inherited from template B + normal tag) - it must be possible to see that
- Implement two modes (Trigger tags | Inherited and trigger tags) of showing tags there just like in Macros tab now. Inherited tags are shown upon request.
- Add 'mass update' action with corresponding API method and with the following mass action options supported:
- Configuration→Templates
- The following macros will be supported for template and host tags
- User macros
- {INVENTORY.*}
- {HOST.HOST}, {HOST.NAME}, {HOST.CONN}, {HOST.DNS}, {HOST.IP}, {HOST.PORT} and {HOST.ID}
- Macros used in template and host tags will be resolved on host level, then they are merged with resolved triggers tags and the result is added to the trigger events
- Zabbix API and XML import/export must be extended to support new functionality
Use cases
- Management of service names on host level
- Add a new tag to a host, for example, Service = Jira
- All problems generated by the host triggers will contain tag Service = Jira
- Management of tags on template level
- Add a new tag to a template, for example, App = MySQL
- All hosts inherited from the template will contain tag App = MySQL
- All problems generated by the triggers of these hosts will contain tag App = MySQL
- Hosts/template configuration page: Quickly find out from which template the inherited tag came.
- Trigger configuration page: Quickly find out which tags will be generated in problems coming from this trigger