wawastein / zabbix-cloudwatch

Cloudwatch integration for Zabbix 3.x
GNU General Public License v3.0
33 stars 53 forks source link

Fixed syntax error for Zabbix 4.0+ #26

Open jensolsson opened 4 years ago

jensolsson commented 4 years ago

I havent tested it 100% but it seem to work

jensolsson commented 4 years ago

Yes it seem to work fine

sherrerq commented 4 years ago

Dear @jensolsson,

First of all, thank you for your efforts. I have some problems with one item prototype and I would appreciate your help. I modified rds.py script to get de_instances (standar) and db_cluster metrics. Using commands I can get metrics from my cluster. what I did was clone an item prototype from a db_instance and change the --metric and --dimension parameter. The problem is that items from this item prototype are not created in my host. However, items from db_instances prototype are created perfectly. Any idea?

Best regards prototypes

sherrerq commented 4 years ago

Hi @jensolsson ,

Would you mind uploading your template into someplace? I need it asap and maybe wawastein last some days in check PRs and merge. Thanks!

jensolsson commented 4 years ago

Hi

Since I made a pullrequest you can just get it from my github from where the pull request originates

Kind regards Jens On 13 Feb 2020, 09:22 +0100, Sergio Herrero Querol notifications@github.com, wrote:

Hi @jensolsson , Would you mind uploading your template into someplace? I need it asap and maybe wawastein last some days in check PRs and merge. Thanks! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sherrerq commented 4 years ago

Dear @jensolsson , I am sorry, you are right! I am trying to import your template but I get this error. My Zabbix version is 4.0

Cannot find item "cloudwatch.metric[120,UnHealthyHostCount,AWS/ApplicationELB,Maximum,{$REGION},"LoadBalancer={#TARGET_GROUP_LOAD_BALANCER_ARN},TargetGroup={#TARGET_GROUP_ARN}",{$ACCOUNT}]" on "Cloudwatch Template" used in graph prototype "ELBv2 {#TARGET_GROUP_LOAD_BALANCER_NAME} {#TARGET_GROUP_NAME} UnHealthyHostCount" of discovery rule "ELBv2 Discovery" on "Cloudwatch Template 3".