-
New Feature Request
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
-
5
Work breakdown form ZBXNEXT-4087:
- LLD will accept normal JSON containing an array, i.e. without 'data' object
- Zabbix will automatically extract macro and value if an array field uses {#MACRO} syntax as a key
- For backward compatibility Zabbix will accept JSON notation with "data" element.
- If JSON contains object with only one "data" array element, then it will automatically extract content of the element using JSON Path $.data
- LLD will accept optional user-defined list of LLD macros
- LLD rule configuration form will be extended to support a new tab to configure LLD macros
- A set of {#MACRO}=<json path> can be defined, for example: {#NAME}=$.name, {#FS}=$.fs.name, {#MOUNT}=$.fs.mountpoint
- JSON keys with any special characters and unicode must be supported using optional square bracket notation, like $'unicode + special chars #1''unicode + special chars #2'
- User defined LLD macros will override macros found in JSON (in reality it should not happen)
- Supported syntax for JSON path must be documented
- The "data" element will be removed from all items related to discovery (agent, jmx, snmp, odbc, etc)
-
- Any new native discovery checks will use new syntax without the "data" elements
- causes
-
ZBX-15469 Cannot import v3.0 host with items
- Closed
- part of
-
ZBXNEXT-4087 Allow preprocessing in LLD rules
- Closed