zabbix-cloudwatch icon indicating copy to clipboard operation
zabbix-cloudwatch copied to clipboard

print results on zabbix Dashboard

Open lbardelli opened this issue 8 years ago • 2 comments

Hi Randy! I have no problem with the installation proccess, so futher I need to know how can I show these collect informations on zabbix dashboard... Could you help me ?

Thanks!

lbardelli avatar Mar 03 '16 18:03 lbardelli

You need to collect this data using some like this:

  • Wrapper script:
#!/bin/bash
#
/usr/bin/zabbix-cloudwatch -n $1 \
               -m $2 \
               -d $3 \
               --dimension-value $4 \
               -t $5 -s $6 \
               --aws-access-key 'xxxxxx' \
               --aws-secret-key 'yyyyy' \
               --aws-region "$7"
  • Zabbix Item configuration
Name: CPUUtilization
Type: External check
Key : zabbix-cloudwatch["AWS/RDS","CPUUtilization","DBInstanceIdentifier",{$DBINSTANCEIDENTIFIER},"basic","Sum",{$DBREGION}]
Type of information: Numeric (float)
Units: %
Update interval (in sec): 60
  • Collecting:
[root@zabbix externalscripts]# ./zabbix-cloudwatch AWS/RDS CPUUtilization DBInstanceIdentifier zabbix-dtb basic Sum sa-east-1
15.81

tiago-cruz-movile avatar Apr 04 '16 20:04 tiago-cruz-movile

@tiago-cruz-movile Thanks for the assist! Unfortunately, I am no help at all b/c we no longer use Zabbix

randywallace avatar Apr 07 '16 17:04 randywallace