Ad Widget

Collapse

Problem with items using macro defined in the template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ncarn
    Junior Member
    • May 2017
    • 1

    #1

    Problem with items using macro defined in the template

    Hi there,
    I have a template with many items that use a macro in the item key. The macro is defined in the template, e.g.

    Item "jmx["jboss.as:subsystem=datasources,data-source={$DATASOURCE_NAME},statistics=pool","Create dCount"]"

    I want to fully clone the template, change the macro value, and then attach both templates to a host; but it complains about duplicate items. Any idea how to do this without having to define the items explicitly (without the macro) in each template?

    Many thanks,
    Nick
Working...