Using MACROS in item key definition
<p>I have a problem with using a predefined macro in Zabbix. I have defined two macros as following:</p>

<p>{$HOSTNAME}=2008-windows-server
{$IPADDRESS}=192.168.1.1</p>

<p>I want to use them in the item name and item key. macro {$HOSTNAME} maps to its value correctly when it is using in the Name section of the item. But when I used the {$IPADDRESS} in the key of that item, it does not convert to the ip address so I get Not Supported error !! I use it like following:
getNetFlowProto[{$IPADDRESS},udp]</p>

<p>getNetFlowProto is a UserParameter which I defined in the zabbix_agend.conf file.</p>

<p>Any help appreciated.</p>