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

Link to this comparison view

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