Monitor Amazon Web Services (AWS)
The AWS CloudWatch Monitoring template includes the following:
- two dashboards:
- AWS CloudWatch NLB (Network Load Balancers) Monitoring: Displays data from the
- AWS CloudWatch Instance Monitoring: Displays data from the
cloudwatch_aws_ec2
measurement
- two :
kubernetes
andcloudwatch
- two labels:
inputs.cloudwatch
,AWS
- one variable:
v.bucket
Use the influx CLI to run the following command:
on a server with network access to both the CloudWatch API and InfluxDB v2 API.
In your Telegraf configuration file (
telegraf.conf
), find the following example output plugins, and then replace theurls
to specify the servers to monitor:## k8s
[[outputs.influxdb_v2]]
urls = ["http://influxdb.monitoring:8086"]
organization = "InfluxData"
bucket = "kubernetes"
## cloudv2 sample
[[outputs.influxdb_v2]]
urls = ["$INFLUX_HOST"]
token = "$INFLUX_TOKEN"
organization = "$INFLUX_ORG"
bucket = “cloudwatch"