second level nested template usermacros do not work over proxy

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: