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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.7
    • None
    • Proxy (P), Server (S)
    • None
    • 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

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

              Created:
              Updated:
              Resolved: