This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:api:reference:itemprototype:create [2020/12/14 16:02] martins-v use of positional macros in item name is deprecated (ZBX-18765) |
manual:api:reference:itemprototype:create [2021/01/27 19:24] (current) |
||
---|---|---|---|
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", |