-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Minor
-
None
-
Affects Version/s: 7.0.31rc1, 7.4.15rc1, 8.0.0beta2
-
Component/s: Server (S)
Steps to reproduce:
- Import the host test-usermacro-lld.yaml

Note: it contains a host with host macro, LLD with 1 item prototype, which contains macro with macrofunction ({{$TEST}.regrepl(3,4)}), one regular item with same configuration as prototype. - Start the server
- Execute the LLD rule on imported host
- See the result
Result:
Item is not discovered, message is displayed:
Cannot create item "zabbix[stats,127.0.0.1,10051]": Invalid update interval "{{$TEST}.regrepl(3,4)}".
Expected:
User macro with macro function is a valid configuration for item, so item should be successfully discovered. On the same host, can see, that regular item is working as expected, with a same value of Update interval.