Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24322

Clarify host name usage in expression macros

XMLWordPrintable

    • Documentation backlog, S24-W14/15
    • 0.1

      Expression macro page should explain how the host name is handled in functions because there are some differences with host names in trigger expressions. Specifically:

      • Template name will not work because it's not replaced with the actual host name
      • Empty name will work for the first host (unlike in triggers)

      Can we add something like this:

      When using expression macros in templates please do not specify template name but rather use {HOST.HOST<n>}, because template names are not substituted with hosts during linkage. You can also omit host reference altogether for the first host, e.g. {?avg(//item1,1h)}

            martins-v Martins Valkovskis
            Kalimulin Alex Kalimulin
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: