zabbix active agent executes script and gets:
{ "data":[ {"{#INSTANCE_NAME}":"+ASM1","{#ALERTLOG}":"/u01/app/grid/diag/asm/+asm/+ASM1/alert/log.xml"} ,{"{#INSTANCE_NAME}":"+APX1","{#ALERTLOG}":"/u01/app/grid/diag/apx/+apx/+APX1/alert/log.xml"} ,{"{#INSTANCE_NAME}":"-MGMTDB","{#ALERTLOG}":"/u01/app/grid/diag/rdbms/_mgmtdb/-MGMTDB/alert/log.xml"} ]}
as the discovery array.
Goal is to generate log items so the {#ALERTLOG} macro obviously is not going to contain a numerical value.
I am not 100% sure when this worked last time but this certainly was before 3.0.14
- duplicates
-
ZBX-13236 ZBX-11411 prevents ability to use items with macro parameters in calculated items
- Closed