Hi
I'm trying to use "user macro" in items key field
Example:
I've defined host macro {$GROUP_NAME} = customerA
And used it in items key field as following: snmptrap[{$GROUP_NAME}]
It's not working , in debug log i see: "unmatched trap received from [X.X.X.X]"
Same macro perfectly works (i.e. been resolved to it's value) in Name field of an item .
If I replace the key with: snmptrap[customerA] , all starts to work
Debug log says : "query [txnlev:1] [insert into history_log ...... "
According to manual example 1 macro should work
Please help
P.S.
OS - CentOS 5
Zabbix - 2.0.2 then upgraded to 2.0.3
I'm trying to use "user macro" in items key field
Example:
I've defined host macro {$GROUP_NAME} = customerA
And used it in items key field as following: snmptrap[{$GROUP_NAME}]
It's not working , in debug log i see: "unmatched trap received from [X.X.X.X]"
Same macro perfectly works (i.e. been resolved to it's value) in Name field of an item .
If I replace the key with: snmptrap[customerA] , all starts to work
Debug log says : "query [txnlev:1] [insert into history_log ...... "
According to manual example 1 macro should work
Please help
P.S.
OS - CentOS 5
Zabbix - 2.0.2 then upgraded to 2.0.3
Comment