zabbix-cloudwatch | Amazon CloudWatch is a monitoring service | AWS library
kandi X-RAY | zabbix-cloudwatch Summary
kandi X-RAY | zabbix-cloudwatch Summary
Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS, which can be accessed from AWS console. We have now integrated CloudWatch monitoring data into Zabbix monitoring system. AmazonCloudWatch Developer Guide - AWS SDK in Python Boto -
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get CloudWatch DynamoDB data .
- Send cloudwatch data to zabbix .
- Get SNS topics .
- Get CloudWatchWatch CloudWatch data .
- Send data to client .
- Get list of DynamoDB tables .
- Get Queue Queue Queue Queue Queues
- Get the list of SQS queues for a given component .
- Send cloudWatch data to zabbix server .
- Purge old CloudWatch log lines .
zabbix-cloudwatch Key Features
zabbix-cloudwatch Examples and Code Snippets
Community Discussions
Trending Discussions on zabbix-cloudwatch
QUESTION
I'm trying to modify this python function to monitor Lambda functions in Zabbix (automatically create items/triggers for every lambda function)
https://github.com/omni-lchen/zabbix-cloudwatch/blob/master/awsLLD.py#L182
...ANSWER
Answered 2018-Aug-01 at 19:18The problem is that functionResults['Functions']
is a list, not a dictionary, so you need to pass integer indices in. But also the 'NextMarker'
key looks like it's within functionResults
proper.
I think what you want is:
QUESTION
I'm totally noob for Python, i found this on GitHub and it works as expected, but couldn't figure out how to edit this to add RDS name/Lambda function name/ to output.
So don't know metric if more than one RDS/Lambda/ELB/Application ELB are monitored by zabbix.
https://github.com/omni-lchen/zabbix-cloudwatch/blob/master/zabbixCloudWatch.py
...ANSWER
Answered 2018-Jul-26 at 20:46after line 191 try:
QUESTION
I followed this guide:https://github.com/omni-lchen/zabbix-cloudwatch
Added dummy host with 127.0.0.1 IP, it's located on Zabbix server itself
...ANSWER
Answered 2018-Jul-21 at 19:39Managed to get it working:
had to copy awsLLD.sh to /usr/lib/zabbix/externalscripts/
after zabbix-service restart SNS data started to appear in Zabbix
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zabbix-cloudwatch
Install boto on zabbix server via pip. pip install boto
Create cloudwatch directory in "/opt/zabbix/cloudwatch" and do a git pull from this repository.
Add AWS account credential to the configuration file "conf/awscred".
Find the metrics from AmazonCloudWatch Developer Guide and add metrics to the configuration file "conf/aws_services_metrics.conf".
Create a zabbix template for an AWS service, then create items with metrics key by using zabbix trapper type. Sample templates can be found in "templates" folder. AWS Metric Zabbix Trapper Item Key Format without Discovery. Key: <aws_service>.<metric>.<statistics> AWS Metric Zabbix Trapper Item Key Format with Discovery. Key: <aws_service>.<metric>.<statistics>["<aws_account>","<aws_region>","<discovery_item_value>"] DynamoDB Item Key Format is different from the standard setup, due to combinations of different dimensions and metrics. operations_all = ['GetItem', 'PutItem', 'Query', 'Scan', 'UpdateItem', 'DeleteItem', 'BatchGetItem', 'BatchWriteItem'] operations_metrics = ['SuccessfulRequestLatency', 'SystemErrors', 'ThrottledRequests] DynamoDB Item Key1: DynamoDB.<operations_all>.<operations_metrics>.<statistics>["<aws_account>","<aws_region>","<table_name>"] operations_returned_item = ['Query', 'Scan'] DynamoDB Item Key2: DynamoDB.<operations_returned_item>.ReturnedItemCount.<statistics>["<aws_account>","<aws_region>","<table_name>"] DynamoDB Other Keys: DynamoDB.<metric>.<statistics>["<aws_account>","<aws_region>","<table_name>"]
Create a new host and linked with the template.
Create a cloudwatch bash wrapper script for cron job. Sample cron jobs can be found in "cron.d" folder.
Create a new cron job to send the cloudwatch metrics to the host. Sample crontab can be found in "cron.d" folder.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page