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

second level nested template usermacros do not work over proxy

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.7
    • Component/s: Proxy (P), Server (S)
    • Labels:
      None
    • Environment:
      1.8.6rc1

      Description

      test configuration :

      template1 -> template2 -> host

      in host agent :
      UserParameter=macro[*],echo '$1' > /tmp/macro.txt; echo 1
      UnsafeUserParameters=1

      in template1 (only !) : user macro "{$MACRO}"

      create agent item (both active and passive fail) with key "macro[{$MACRO}]" (frontend resolves this properly if $1 is used in description).

      on host, {$MACRO} is written to the debug.

      works fine if usermacro is defined on template2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              richlv richlv
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: