Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-10060

variable that represents the current template, which can be used when creating triggers for templates.

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      We would like to request the creation of a variable that represents the current template, which can be used when creating triggers for templates.

      When adding a trigger to a template, it is typically configured as follows:

      find(/TemplateName/snmptrap.fallback,,, "linkDown") = 0

      This is fine when only creating a small number of triggers, but when creating many triggers, specifying the template name manually each time becomes cumbersome.

      When setting similar triggers for multiple templates, it is common to prepare documentation that includes the trigger configurations. If one copies and pastes trigger definitions from other templates into this document and forgets to change the template name, the trigger intended for Template A may end up being added to Template B instead.

      For example, in the following case, a trigger that was intended to be added to Template A may mistakenly be added to Template B:

      Template A: find(/TemplateB/snmptrap.fallback,,, "linkDown") = 0

      To reduce such mistakes and make the trigger setup process easier, we believe it would be useful to have a variable—usable during trigger creation—that represents the current template.

      Best regards,

            Unassigned Unassigned
            shinichi.suzuki Shinichi Suzuki
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: