I have a problem with using a predefined macro in Zabbix. I have defined two macros as following:
{$HOSTNAME}=2008-windows-server {$IPADDRESS}=192.168.1.1
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]
getNetFlowProto is a UserParameter which I defined in the zabbix_agend.conf file.
Any help appreciated.
test – Sinai Jun 10 '16 at 05:50