Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print results on zabbix Dashboard #9

Open
lbardelli opened this issue Mar 3, 2016 · 2 comments
Open

print results on zabbix Dashboard #9

lbardelli opened this issue Mar 3, 2016 · 2 comments

Comments

@lbardelli
Copy link

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!

@tiago-cruz-movile
Copy link

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

@randywallace
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants