Hi.
Zabbix Version: 5.2.4.
I'm querying AWS CLI to discover items.
My item is as follows:
with a JSONPath of
And it works. This is the reply I'm getting
But when I set a Discovery Rule with the same key, same preprocessing,

and the following LLD Macro settings:

I'm getting nothing, and no Item Prototype is resolved to an item.
What am I doing wrong?
Zabbix Version: 5.2.4.
I'm querying AWS CLI to discover items.
My item is as follows:
Code:
system.run["aws autoscaling describe-tags --region {$ZABBIX_ASG_REGION} --query 'Tags[?ResourceType==`auto-scaling-group` && Key==`{$ZABBIX_ASG_TAG}` && Value==`{$ZABBIX_ASG_VALUE}`]'.ResourceId --output json"]
Code:
$.[*]
Code:
[ "name1-asg", "name2-asg" ]
and the following LLD Macro settings:
I'm getting nothing, and no Item Prototype is resolved to an item.
What am I doing wrong?
Comment