From c3f803498ac827f4514c731750c556147929a0c7 Mon Sep 17 00:00:00 2001 From: Kelly Date: Mon, 29 Jun 2020 20:00:59 -0700 Subject: [PATCH] add monitor with templates --- content/v2.0/monitor-alert/_index.md | 8 ++--- content/v2.0/monitor-alert/templates/AWS.md | 36 +++++++++++++++++++ .../v2.0/monitor-alert/templates/_index.md | 15 ++++++++ 3 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 content/v2.0/monitor-alert/templates/AWS.md create mode 100644 content/v2.0/monitor-alert/templates/_index.md diff --git a/content/v2.0/monitor-alert/_index.md b/content/v2.0/monitor-alert/_index.md index cd52ba5b2..be3dbffb6 100644 --- a/content/v2.0/monitor-alert/_index.md +++ b/content/v2.0/monitor-alert/_index.md @@ -3,7 +3,7 @@ title: Monitor data and send alerts seotitle: Monitor data and send alerts description: > Monitor your time series data and send alerts by creating checks, notification - rules, and notification endpoints. + rules, and notification endpoints. Use a template to monitor supported environments. menu: v2_0: name: Monitor & alert @@ -14,7 +14,7 @@ v2.0/tags: [monitor, alert, checks, notification, endpoints] Monitor your time series data and send alerts by creating checks, notification rules, and notification endpoints. -## The monitoring workflow +## Overview 1. A [check](/v2.0/reference/glossary/#check) in InfluxDB queries data and assigns a status with a `_level` based on specific conditions. 2. InfluxDB stores the output of a check in the `statuses` measurement in the `_monitoring` system bucket. @@ -23,7 +23,8 @@ rules, and notification endpoints. to a [notification endpoint](/v2.0/reference/glossary/#notification-endpoint). 4. InfluxDB stores notifications in the `notifications` measurement in the `_monitoring` system bucket. -## Monitor your data +## Create an alert + To get started, do the following: 1. [Create checks](/v2.0/monitor-alert/checks/create/) to monitor data and assign a status. @@ -32,7 +33,6 @@ To get started, do the following: 3. [Create notification rules](/v2.0/monitor-alert/notification-rules/create) to check statuses and send notifications to your notifications endpoints. - ## Manage your monitoring and alerting pipeline {{< children >}} diff --git a/content/v2.0/monitor-alert/templates/AWS.md b/content/v2.0/monitor-alert/templates/AWS.md new file mode 100644 index 000000000..1cd0873ff --- /dev/null +++ b/content/v2.0/monitor-alert/templates/AWS.md @@ -0,0 +1,36 @@ +--- +title: Monitor Amazon Web Services (AWS) +seotitle: Monitor Amazon Web Services (AWS) +description: > + Use the AWS CloudWatch Monitoring template to monitor data from Amazon Web Services (AWS), Amazon Elastic Compute Cloud (EC2), and Amazon Elastic Load Balancing (ELB) with the AWS CloudWatch Service. +menu: + v2_0: + parent: Monitor with templates +weight: 1000 +--- + +Use the AWS CloudWatch Monitoring template to monitor data from Amazon Web Services (AWS), Amazon Elastic Compute Cloud (EC2), and Amazon Elastic Load Balancing (ELB) with the AWS CloudWatch Service. + +When you install this template, you'll get the following: + +- 2 dashboards: + - **AWS CloudWatch NLB (Network Load Balancers) Monitoring**: Displays data from the cloudwatch_aws_network_elb measurement + - **AWS CloudWatch Instance Monitoring**: Displays data from the cloudwatch_aws_ec2 measurement +- 2 labels: `inputs.cloudwatch`, `AWS` +- 1 variable: `v.bucket` +- 1 Telegraf input plugin: [AWS CloudWatch](/v2.0/reference/telegraf-plugins/#cloudwatch) + +## Install the template + +1. In the influx CLI, run the following command: + + ```sh + influx pkg -u https://raw.githubusercontent.com/influxdata/community-templates/master/aws_cloudwatch/aws_cloudwatch.yml + ``` + +2. Load the dashboards. +3. [Configure the AWS Cloudwatch input plugin](/v2.0/write-data/no-code/use-telegraf/manual-config/#configure-telegraf-input-and-output-plugins). +4. [Start Telegraf](/v2.0/write-data/no-code/use-telegraf/auto-config/#start-telegraf). +5. In InfluxDB, select **Boards** (**Dashboards**). + + {{< nav-icon "dashboards" >}}, open your AWS dashboards, and then use the `v.bucket` variable to specify the bucket to store data in. diff --git a/content/v2.0/monitor-alert/templates/_index.md b/content/v2.0/monitor-alert/templates/_index.md new file mode 100644 index 000000000..6ededf2db --- /dev/null +++ b/content/v2.0/monitor-alert/templates/_index.md @@ -0,0 +1,15 @@ +--- +title: Monitor with templates +seotitle: Use templates to easily start monitoring data in many supporting environments, including AWS Cloudwatch, Redis, Apache, Nginx, and more. +description: > + Use templates to easily start monitoring data in many supporting environments, including AWS Cloudwatch, Redis, Apache, Nginx, and more. +menu: + v2_0: + parent: Monitor & alert +weight: 104 +v2.0/tags: [monitor, templates] +--- + +Use one of our community templates to quickly set up an InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor data in supported environments. + +{{< children >}}