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

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: