manual:api:reference:itemprototype:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:itemprototype:create [2020/12/14 16:01]
martins-v use of positional macros in item name is deprecated (ZBX-18765)
manual:api:reference:itemprototype:create [2020/12/14 16:05]
martins-v use of positional macros in item name is deprecated (ZBX-18765)
Line 72: Line 72:
     "​method":​ "​itemprototype.create",​     "​method":​ "​itemprototype.create",​
     "​params":​ {     "​params":​ {
-        "​name":​ "​Incoming network traffic on $1",+        "​name":​ "​Incoming network traffic on {#IFNAME}",
         "​key_":​ "​net.if.in[{#​IFNAME}]",​         "​key_":​ "​net.if.in[{#​IFNAME}]",​
         "​hostid":​ "​10001",​         "​hostid":​ "​10001",​