-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
3.4.4
-
None
-
Centos 6.9
I am creating a discovery rule which uses an external command to generate the LLD JSON data. as part of this I want to create an item with a JSON pre-process entry based on one of the LLD macro values {#JSONPATH}, however the LLD macros do not seem to be expanded in the pre-process data items when the item is created from the prototype. If I use the Macro value in the item data it is expanded but macro values in the pre-process screen are not expanded.
It would seem that this is simply a matter of calling the macro subsititution code when these values are created?
Note I think this is different to other requests as I am only looking for a static expansion of the Macro on the CREATION of the item - I am not looking for macro expansion by the pre-process parser once the item is created.
- duplicates
-
ZBXNEXT-4163 Using LLD macros on item preprocessing
- Closed