macro in Item name not resolved

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 2.0.0rc3
    • Component/s: Appliance (L)
    • Environment:
      Centos, mysql

      Hello,

      I created items inside a template using external check. for item name, I used macro to have a dynamic name. resolution is not working correctly:
      item configuration :
      Name : ActiveThreadsCount - AS1 server0 - $6
      Key : jmx2sap.sh["/Kernel/Application Threads Pool/ActiveThreadsCount","

      {HOST.IP1}

      :{$JAVA_P4PORT1}",{$JAVA_USER},{$JAVA_PASS},{$JAVA_ID1}50,

      {HOST.DNS1}]

      => when assigning template to host, item name macro ($6) is resolved by {HOST.DNS1}

      instead of real hostname (see graph picture attached)

        1. chart.php.png
          25 kB
          Antoine Bonnefoy
        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: