Closed melch700 closed 5 years ago
Same error here on zabbix 4.2
@danimas and @melch700 try like this <"key>instances[{#TARGET_GROUP_LOAD_BALANCER_NAME}{#TARGET_GROUP_NAME}]</"key> Note : remove the " in keys part
Thanks @MrBal. I modified the line that you suggest, but i got an another error.
The section is now like this:
\<item_prototype> \<name>ELBv2: {#TARGET_GROUP_LOAD_BALANCER_NAME} target group {#TARGET_GROUP_NAME} total targets\</name> \<type>15\</type> \<snmp_community/> \<snmp_oid/> \<key>instances[{#TARGET_GROUP_LOAD_BALANCER_NAME}{#TARGET_GROUP_NAME}]\</key>
I got the following error:
Incorrect trigger expression. Check expression part starting from "{Cloudwatch Template:instances[{#TARGET_GROUP_LOAD_BALANCER_NAME}][{#TARGET_GROUP_NAME}].last()}=-1".
@danimas same error here in zabbix share , maybe solve your problem it's work for me
https://share.zabbix.com/cloud/zabbix-cloudwatch-integration
@MrBal and @danimas , removed the square brackets at
this worked for me thanks.
zabbix 4.0 lts
when i import the cloudwatch_template.xml i get the following error
Invalid key "instances[{#TARGET_GROUP_LOAD_BALANCER_NAME}][{#TARGET_GROUP_NAME}]" for item prototype "ELBv2: {#TARGET_GROUP_LOAD_BALANCER_NAME} target group {#TARGET_GROUP_NAME} total targets" on "Cloudwatch Template": incorrect syntax near "[{#TARGET_GROUP_NAME}]".