Open khoi-thinh opened 7 years ago
That's correct, but you also need to install python dateutil module due to recent utc to local timezone change.
Do i have to change any value in cron.ELB.sh script or have to setup MACRO in zabbix host? I didn't see anywhere in your guide said that i need to put in aws region or anything.
And unfortunately, as i executed the cron.ELB.sh, it said:
./cron.ELB.sh: line 27: zabbixCloudWatch.py: command not found
You only use MACRO if you use discovery rule, but also need to adjust the script a bit in awsLLD.py to adapt to your naming standard. You need to give execution permission to all bash and python scripts chmod +x .py chmod +x .sh
First of all, all of your scripts had been given execution permissions. The same error came out ./cron.ELB.sh: line 27: zabbixCloudWatch.py: command not found
So let me be clear I have 3 ELB running named A,B,C. I just want to get metrics from B and my instance is in Singapore region (ap-southeast-1) Where is the place i should put that information in?
In your cron.ELB.sh, there are these line
LOAD_BALANCER=$1
ZABBIX_HOST=$2
ZABBIX_SERVER=$3
ACCOUNT=$4
REGION=$5
In your ELB template, i saw this
That is bash wrapper script, you need to set the zabbix host, server, elb parameters in cronjob, see cron.d/crontab
As far as i understand, you had prepared everything including template, script. In my case, i just want to integrate ELB metrics into my zabbix server. How should i do that? Please correct me if i'm wrong.