I'm unable to get a custom discovery rule working. The agent always indicates it is not supported. The discovery config has these parameters:
In the zabbix_agentd.conf I have:
I run the command manually, as the zabbix user, and get what appears to be good output.
I use several other custom active checks, but this is my first discovery rule. What am I doing wrong?
Code:
key: sqs.discover
interval: 10 (low just for testing)
macro: {#QNAME}
type: Zabbix agent (Active)
Code:
UserParameter=sqs.discover,/etc/zabbix/sysmonitor-ec2-metrics.sh sqs-discover
Code:
{"data": [{"{#QREGION}": "us-east-1", "{#QNAME}": "channelsmanager_stream_graphDB"}, {"{#QREGION}": "us-east-1", "{#QNAME}": "contentupdatesstream_inbox-1"}, {"{#QREGION}": "us-east-1", "{#QNAME}": "usersignals_inbox-1"}, {"{#QREGION}": "eu-west-1", "{#QNAME}": "em-test"}]}
Comment