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
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