Open anup1384 opened 6 years ago
@anup1384 as I responded to you in twitter, try running discovery script manually and see output. Most likely something is wrong in configuration and script returns errors instead of JSON.
I have similar issue but it works partially: https://puu.sh/zCork/c9cad5fc32.png
I've run discovery script manually and it works for s3 module but it doesn't for ec2 module:
botocore.exceptions.ClientError: An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
I'm testing it on aws key with full administrative access
It's connected to #10 - time sync issue. After setting correct time on zabbix server (with ntp) everything works.
Any idea on above error?
Is there still no documented resolution for this?
Hi, i ran the discovery script for my ec2 instance and it works, but, in the template, the discovery rule is not working. It doesn´t show anything. When i created manually the item with the values (without {#INSTANCE_ID) i can get the values without problems.
Any idea about this problem?
[account-name] = AWS account ID
/usr/local/zabbix/sbin/zabbix_agentd -c /usr/local/zabbix/conf/zabbix_agentd.conf -t xxx.discover | python -m json.tool
zabbix_get -s ip -k "xxx.discovery"
my situation is the zabbix server gets the returned data is { "data": [] }
. after I restart the zabbix client. the problem solved.
Account ID inserted within square brackets in /conf/aws.conf [#############]
manually running ./aws.discovery 'ec2' 'region' 'account number' within externalscripts returns {"data":[......]}
however from within Zabbix I still get "Value should be a JSON object" in Discovery Rules - Any idea why?
I am getting error in zabbix Value should be a JSON object.