-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
None
Hi
Sometimes by a LLD query there can be multiple columns returned which may be used inside item prototypes without any more processing.
Consider the following query:
select name as disk_name, mount_status, header_status, mode_status, os_mb, total_mb, free_mb, name, state from v$asm_disk_stat;
Each of other LLD macros other than {#DISK_NAME} can be used in item prototypes.
Right now I do a trick and write an external check with such key:
echo[{#DISK_NAME},{#FREE_MB}]
to extract {#FREE_MB} inside an item but this has its own difficulties (external check, different intervals than LLD rule)
Also it's possible to create Calculated items and using LLD macros there but it only works for numeric values and interval problem still persists (and only works with Zabbix 4.0)