From cd82f7f80cfd8ca56ba6f085114168c9fa360c1b Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Thu, 2 Apr 2020 15:33:11 -0700 Subject: [PATCH 01/19] First batch Signed-off-by: Todd Campbell --- aws/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 aws/.keep diff --git a/aws/.keep b/aws/.keep deleted file mode 100644 index e69de29..0000000 From 872ab23384fc0e33a95661bd7831ff7c390765f0 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Thu, 2 Apr 2020 15:33:30 -0700 Subject: [PATCH 02/19] First batch, continued Signed-off-by: Todd Campbell --- aws/check-alb-target-group-health.yaml | 87 ++++++++++++++++++++ aws/check-cloudwatch-alarm.yaml | 87 ++++++++++++++++++++ aws/check-cloudwatch-alarms.yaml | 88 ++++++++++++++++++++ aws/check-cloudwatch-composite-metric.yaml | 95 ++++++++++++++++++++++ aws/check-ebs-burst-limit.yaml | 89 ++++++++++++++++++++ aws/check-ebs-snapshots.yaml | 88 ++++++++++++++++++++ aws/check-ec2-cpu_balance.yaml | 89 ++++++++++++++++++++ aws/check-ec2-filter.yaml | 93 +++++++++++++++++++++ aws/check-ec2-network.yaml | 92 +++++++++++++++++++++ aws/metrics-ec2-count.yaml | 92 +++++++++++++++++++++ aws/metrics-ec2-filter.yaml | 94 +++++++++++++++++++++ 11 files changed, 994 insertions(+) create mode 100644 aws/check-alb-target-group-health.yaml create mode 100644 aws/check-cloudwatch-alarm.yaml create mode 100644 aws/check-cloudwatch-alarms.yaml create mode 100644 aws/check-cloudwatch-composite-metric.yaml create mode 100644 aws/check-ebs-burst-limit.yaml create mode 100644 aws/check-ebs-snapshots.yaml create mode 100644 aws/check-ec2-cpu_balance.yaml create mode 100644 aws/check-ec2-filter.yaml create mode 100644 aws/check-ec2-network.yaml create mode 100644 aws/metrics-ec2-count.yaml create mode 100644 aws/metrics-ec2-filter.yaml diff --git a/aws/check-alb-target-group-health.yaml b/aws/check-alb-target-group-health.yaml new file mode 100644 index 0000000..ecc890b --- /dev/null +++ b/aws/check-alb-target-group-health.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check the health of Application Load Balancer (ALB) target groups +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-alb-target-group-health +spec: + command: >- + check-alb-target-group-health + --aws_region={{ .annotations.check_alb_target_group_health_aws_region | default "us-east-1" }} + --target_groups={{ .annotations.check_alb_target_group_health_target_groups | default "target-group-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-cloudwatch-alarm.yaml b/aws/check-cloudwatch-alarm.yaml new file mode 100644 index 0000000..9f8ef07 --- /dev/null +++ b/aws/check-cloudwatch-alarm.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check the status of a cloudwatch alarm +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-cloudwatch-alarm +spec: + command: >- + check-cloudwatch-alarm + --aws_region={{ .annotations.check_cloudwatch_alarm_aws_region | default "us-east-1" }} + --state={{ .annotations.check_cloudwatch_alarm_state | default "ALARM" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-cloudwatch-alarms.yaml b/aws/check-cloudwatch-alarms.yaml new file mode 100644 index 0000000..d0f0fb3 --- /dev/null +++ b/aws/check-cloudwatch-alarms.yaml @@ -0,0 +1,88 @@ +--- +# Description +# Check the status of a cloudwatch alarm, with exclusions +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-cloudwatch-alarms +spec: + command: >- + check-cloudwatch-alarms + --aws_region={{ .annotations.check_cloudwatch_alarms_aws_region | default "us-east-1" }} + --state={{ .annotations.check_cloudwatch_alarms_state | default "ALARM" }} + --exclude_alarms={{ .annotations.check_cloudwatch_alarms_exclude_alarms | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-cloudwatch-composite-metric.yaml b/aws/check-cloudwatch-composite-metric.yaml new file mode 100644 index 0000000..a1dd19c --- /dev/null +++ b/aws/check-cloudwatch-composite-metric.yaml @@ -0,0 +1,95 @@ +--- +# Description +# Retrieve two CloudWatch metric values and compute percentages to trigger alarm +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-cloudwatch-composite-metric +spec: + command: >- + check-cloudwatch-composite-metric + --aws_region={{ .annotations.check_cloudwatch_composite_metric_aws_region | default "us-east-1" }} + --state={{ .annotations.check_cloudwatch_composite_metric_state | default "ALARM" }} + --exclude_alarms={{ .annotations.check_cloudwatch_composite_metrics_exclude_alarms | default "" }} + --namespace={{ .annotations.check_cloudwatch_composite_metrics_namespace | default "AWS/EC2" }} + --dimensions={{ .annotations.check_cloudwatch_composite_metrics_dimensions | default "" }} + --period={{ .annotations.check_cloudwatch_composite_metrics_period | default 60 }} + --statistic={{ .annotations.check_cloudwatch_composite_metrics_statistic | default "Average" }} + --compare={{ .annotations.check_cloudwatch_composite_metrics_compare | default "greater" }} + --critical={{ .annotations.check_cloudwatch_composite_metrics_critical | default 0 }} + --warining={{ .annotations.check_cloudwatch_composite_metrics_warining | default 0 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-ebs-burst-limit.yaml b/aws/check-ebs-burst-limit.yaml new file mode 100644 index 0000000..cddbc43 --- /dev/null +++ b/aws/check-ebs-burst-limit.yaml @@ -0,0 +1,89 @@ +--- +# Description +# Check for EBS volumes with low burst balance +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-ebs-burst-limit +spec: + command: >- + check-ebs-burst-limit + --aws_region={{ .annotations.check_ebs_burst_limit_aws_region | default "us-east-1" }} + --warning={{ .annotations.check_ebs_burst_limit_warning | default 10 }} + --critical={{ .annotations.check_ebs_burst_limit_critical | default 50 }} + --check_self={{ .annotations.check_ebs_burst_limit_check_self | default "false" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-ebs-snapshots.yaml b/aws/check-ebs-snapshots.yaml new file mode 100644 index 0000000..b128fb1 --- /dev/null +++ b/aws/check-ebs-snapshots.yaml @@ -0,0 +1,88 @@ +--- +# Description +# Check EC2 attached volumes for snapshots (only with a name tag) +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-ebs-snapshots +spec: + command: >- + check-ebs-snapshots + --aws_region={{ .annotations.check_ebs_snapshots_aws_region | default "us-east-1" }} + --period={{ .annotations.check_ebs_snapshots_period | default 7 }} + --check_ignored={{ .annotations.check_ebs_snapshots_check_ignored | default "true" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-ec2-cpu_balance.yaml b/aws/check-ec2-cpu_balance.yaml new file mode 100644 index 0000000..bb4ece3 --- /dev/null +++ b/aws/check-ec2-cpu_balance.yaml @@ -0,0 +1,89 @@ +--- +# Description +# Check the CPU balance for EC2 instances +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-ec2-cpu_balance +spec: + command: >- + check-ec2-cpu_balance + --aws_region={{ .annotations.check_ec2_cpu_balance_aws_region | default "us-east-1" }} + --warning={{ .annotations.check_ec2_cpu_balance_warning | default 2.3 }} + --critical={{ .annotations.check_ec2_cpu_balance_critical | default 1.2 }} + --tag={{ .annotations.check_ec2_cpu_balance_tag | default "NAME" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-ec2-filter.yaml b/aws/check-ec2-filter.yaml new file mode 100644 index 0000000..af6c21d --- /dev/null +++ b/aws/check-ec2-filter.yaml @@ -0,0 +1,93 @@ +--- +# Description +# Retrieves EC2 instances matching a filter, returning the number matched +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-ec2-filter +spec: + command: >- + check-ec2-filter + --aws_region={{ .annotations.check_ec2_filter_aws_region | default "us-east-1" }} + --warning={{ .annotations.check_ec2_filter_warning | default 1 }} + --critical={{ .annotations.check_ec2_filter_critical | default 2 }} + --exclude_tags={{ .annotations.check_ec2_filter_exclude_tags | default "{}" }} + --compare={{ .annotations.check_ec2_filter_compare | default "equal" }} + --detailed_message={{ .annotations.check_ec2_filter_detailed_message | default "false" }} + --min_running_secs={{ .annotations.check_ec2_filter_min_running_secs | default 0 }} + --filters={{ .annotations.check_ec2_filter_filters | default "{\"filters\" : [{\"name\" : \"instance-state-name\", \"values\": [\"running\"]}]}" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-ec2-network.yaml b/aws/check-ec2-network.yaml new file mode 100644 index 0000000..7c189d7 --- /dev/null +++ b/aws/check-ec2-network.yaml @@ -0,0 +1,92 @@ +--- +# Description +# Check EC2 network metrics by CloudWatch +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-ec2-network +spec: + command: >- + check-ec2-network + --aws_region={{ .annotations.check_ec2_network_aws_region | default "us-east-1" }} + --warning={{ .annotations.check_ec2_network_warning | default 1500000 }} + --critical={{ .annotations.check_ec2_network_critical | default 1000000 }} + --instance_id={{ .annotations.check_ec2_network_instance_id | default "" }} + --end_time={{ .annotations.check_ec2_network_end_time | default "NOW" }} + --period={{ .annotations.check_ec2_network_min_period | default 60 }} + --direction={{ .annotations.check_ec2_filter_direction | default "NetworkIn" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/metrics-ec2-count.yaml b/aws/metrics-ec2-count.yaml new file mode 100644 index 0000000..193b5ad --- /dev/null +++ b/aws/metrics-ec2-count.yaml @@ -0,0 +1,92 @@ +--- +# Description +# +# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT +# +# Provide metrics for number of EC2 instances +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: metrics-ec2-count +spec: + command: >- + metrics-ec2-count + --aws_region {{ .annotations.metrics_ec2_count_aws_region | default "us-east-1" }} + --metric_type {{ .annotations.metrics_ec2_count_metric_type | default "instance" }} + --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/metrics-ec2-filter.yaml b/aws/metrics-ec2-filter.yaml new file mode 100644 index 0000000..e94c04e --- /dev/null +++ b/aws/metrics-ec2-filter.yaml @@ -0,0 +1,94 @@ +--- +# Description +# +# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT +# +# Provide metrics for number of EC2 instances matching a given filter +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: metrics-ec2-filter +spec: + command: >- + metrics-ec2-filter + --aws_region {{ .annotations.metrics_ec2_count_aws_region | default "us-east-1" }} + --metric_type {{ .annotations.metrics_ec2_count_metric_type | default "instance" }} + --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} + --filters {{ .annotations.metrics_ec2_count_filters | default "{}" }} + --filter_name {{ .annotations.metrics_ec2_count_filter_name | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' From e68398d2f328cf9af1116278325fc08e00fad2ab Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Thu, 2 Apr 2020 17:07:06 -0700 Subject: [PATCH 03/19] Next batch, elb Signed-off-by: Todd Campbell --- aws/check-elb-certs.yaml | 89 ++++++++++++++++++++++++ aws/check-elb-health-fog.yaml | 89 ++++++++++++++++++++++++ aws/check-elb-health-sdk.yaml | 91 ++++++++++++++++++++++++ aws/check-elb-instances-inservice.yaml | 87 +++++++++++++++++++++++ aws/check-elb-latency.yaml | 91 ++++++++++++++++++++++++ aws/check-elb-nodes.yaml | 91 ++++++++++++++++++++++++ aws/check-elb-sum-requests.yaml | 90 ++++++++++++++++++++++++ aws/metrics-elb.yaml | 95 ++++++++++++++++++++++++++ 8 files changed, 723 insertions(+) create mode 100644 aws/check-elb-certs.yaml create mode 100644 aws/check-elb-health-fog.yaml create mode 100644 aws/check-elb-health-sdk.yaml create mode 100644 aws/check-elb-instances-inservice.yaml create mode 100644 aws/check-elb-latency.yaml create mode 100644 aws/check-elb-nodes.yaml create mode 100644 aws/check-elb-sum-requests.yaml create mode 100644 aws/metrics-elb.yaml diff --git a/aws/check-elb-certs.yaml b/aws/check-elb-certs.yaml new file mode 100644 index 0000000..a3b64b6 --- /dev/null +++ b/aws/check-elb-certs.yaml @@ -0,0 +1,89 @@ +--- +# Description +# Check the all https ELB endpoints in a region for expiring certificates +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-certs +spec: + command: >- + check-alb-elb-certs + --aws_region={{ .annotations.check_elb_certs_aws_region | default "us-east-1" }} + --warning={{ .annotations.check_elb_certs_warning | default 30 }} + --critical={{ .annotations.check_elb_certs_critical | default 5 }} + --verbose={{ .annotations.check_elb_certs_verbose | default false }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-health-fog.yaml b/aws/check-elb-health-fog.yaml new file mode 100644 index 0000000..e13ea43 --- /dev/null +++ b/aws/check-elb-health-fog.yaml @@ -0,0 +1,89 @@ +--- +# Description +# Check the health of an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-health-fog +spec: + command: >- + check-alb-elb-health-fog + --aws_region={{ .annotations.check_elb_health_fog_aws_region | default "us-east-1" }} + --elb_name={{ .annotations.check_elb_health_fog_elb_name | default "" }} + --instances={{ .annotations.check_elb_health_fog_instances | default "" }} + --verbose={{ .annotations.check_elb_health_fog_verbose | default false }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-health-sdk.yaml b/aws/check-elb-health-sdk.yaml new file mode 100644 index 0000000..e90c442 --- /dev/null +++ b/aws/check-elb-health-sdk.yaml @@ -0,0 +1,91 @@ +--- +# Description +# Check the health of an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-health-sdk +spec: + command: >- + check-alb-elb-health-sdk + --aws_region={{ .annotations.check_elb_health_sdk_aws_region | default "us-east-1" }} + --elb_name={{ .annotations.check_elb_health_sdk_elb_name | default "" }} + --instances={{ .annotations.check_elb_health_sdk_instances | default "" }} + --verbose={{ .annotations.check_elb_health_sdk_verbose | default false }} + --instance_tag={{ .annotations.check_elb_health_sdk_instance_tag | default "NAME" }} + --warn_only={{ .annotations.check_elb_health_sdk_warn_only | default false }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-instances-inservice.yaml b/aws/check-elb-instances-inservice.yaml new file mode 100644 index 0000000..644c9b8 --- /dev/null +++ b/aws/check-elb-instances-inservice.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check the health of an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-instances-inservice +spec: + command: >- + check-alb-elb-instances-inservice + --aws_region={{ .annotations.check_elb_instances_inservice_aws_region | default "us-east-1" }} + --elb_name={{ .annotations.check_elb_instances_inservice_elb_name | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-latency.yaml b/aws/check-elb-latency.yaml new file mode 100644 index 0000000..4980f50 --- /dev/null +++ b/aws/check-elb-latency.yaml @@ -0,0 +1,91 @@ +--- +# Description +# Check the latency of an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-latency +spec: + command: >- + check-alb-elb-latency + --aws_region={{ .annotations.check_elb_latency_aws_region | default "us-east-1" }} + --elb_names={{ .annotations.check_elb_latency_elb_names | default "" }} + --period={{ .annotations.check_elb_latency_period | default 60 }} + --statistics={{ .annotations.check_elb_latency_statistics | default "average" }} + --critical_over={{ .annotations.check_elb_latency_critical_over | default 60 }} + --warning_over={{ .annotations.check_elb_latency_warning_over | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-nodes.yaml b/aws/check-elb-nodes.yaml new file mode 100644 index 0000000..fb448a4 --- /dev/null +++ b/aws/check-elb-nodes.yaml @@ -0,0 +1,91 @@ +--- +# Description +# Check that minimum number or percentage of nodes are in service in an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-nodes +spec: + command: >- + check-alb-elb-nodes + --aws_region={{ .annotations.check_elb_nodes_aws_region | default "us-east-1" }} + --elb_name={{ .annotations.check_elb_nodes_elb_name | default "" }} + --critical={{ .annotations.check_elb_nodes_critical | default -1 }} + --warning={{ .annotations.check_elb_nodes_warning | default -1 }} + --critical_percentage={{ .annotations.check_elb_nodes_critical_percentage | default -1 }} + --warning_percentage={{ .annotations.check_elb_nodes_warning_percentage | default -1 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-elb-sum-requests.yaml b/aws/check-elb-sum-requests.yaml new file mode 100644 index 0000000..81f3a5a --- /dev/null +++ b/aws/check-elb-sum-requests.yaml @@ -0,0 +1,90 @@ +--- +# Description +# Check sum of ELB requests +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-elb-sum-requests +spec: + command: >- + check-alb-elb-sum-requests + --aws_region={{ .annotations.check_elb_sum_requests_aws_region | default "us-east-1" }} + --elb_names={{ .annotations.check_elb_sum_requests_elb_names | default "" }} + --period={{ .annotations.check_elb_sum_requests_period | default 60 }} + --critical_over={{ .annotations.check_elb_sum_requests_critical_over| default 60 }} + --warning_over={{ .annotations.check_elb_sum_requests_warning_over| default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/metrics-elb.yaml b/aws/metrics-elb.yaml new file mode 100644 index 0000000..3e0b97b --- /dev/null +++ b/aws/metrics-elb.yaml @@ -0,0 +1,95 @@ +--- +# Description +# +# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT +# +# Provide specified metrics for an ELB +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: metrics-elb +spec: + command: >- + metrics-elb + --aws_region {{ .annotations.metrics_elb_aws_region | default "us-east-1" }} + --elb_name {{ .annotations.metrics_elb_elb_name | default "" }} + --period {{ .annotations.metrics_elb_period | default 60 }} + --fetch_age {{ .annotations.metrics_elb_fetch_age | default 60 }} + --critical_over {{ .annotations.metrics_elb_critical_over | default 60 }} + --warning_over {{ .annotations.metrics_elb_warning_over | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' From ffe38c4d1474fde57330e0f7f17150fcebcc40c0 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Fri, 3 Apr 2020 09:23:22 -0700 Subject: [PATCH 04/19] Next batch, rds plus elb fixes Signed-off-by: Todd Campbell --- aws/check-elb-certs.yaml | 2 +- aws/check-elb-health-fog.yaml | 2 +- aws/check-elb-health-sdk.yaml | 2 +- aws/check-elb-instances-inservice.yaml | 2 +- aws/check-elb-latency.yaml | 2 +- aws/check-elb-nodes.yaml | 2 +- aws/check-elb-sum-requests.yaml | 2 +- aws/check-rds-events.yaml | 87 +++++++++++++++++++++++ aws/check-rds-pending.yaml | 86 +++++++++++++++++++++++ aws/check-rds.yaml | 97 ++++++++++++++++++++++++++ aws/metrics-rds.yaml | 92 ++++++++++++++++++++++++ 11 files changed, 369 insertions(+), 7 deletions(-) create mode 100644 aws/check-rds-events.yaml create mode 100644 aws/check-rds-pending.yaml create mode 100644 aws/check-rds.yaml create mode 100644 aws/metrics-rds.yaml diff --git a/aws/check-elb-certs.yaml b/aws/check-elb-certs.yaml index a3b64b6..6f6bd40 100644 --- a/aws/check-elb-certs.yaml +++ b/aws/check-elb-certs.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-certs spec: command: >- - check-alb-elb-certs + check-elb-certs --aws_region={{ .annotations.check_elb_certs_aws_region | default "us-east-1" }} --warning={{ .annotations.check_elb_certs_warning | default 30 }} --critical={{ .annotations.check_elb_certs_critical | default 5 }} diff --git a/aws/check-elb-health-fog.yaml b/aws/check-elb-health-fog.yaml index e13ea43..66e1aeb 100644 --- a/aws/check-elb-health-fog.yaml +++ b/aws/check-elb-health-fog.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-health-fog spec: command: >- - check-alb-elb-health-fog + check-elb-health-fog --aws_region={{ .annotations.check_elb_health_fog_aws_region | default "us-east-1" }} --elb_name={{ .annotations.check_elb_health_fog_elb_name | default "" }} --instances={{ .annotations.check_elb_health_fog_instances | default "" }} diff --git a/aws/check-elb-health-sdk.yaml b/aws/check-elb-health-sdk.yaml index e90c442..7a98c0b 100644 --- a/aws/check-elb-health-sdk.yaml +++ b/aws/check-elb-health-sdk.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-health-sdk spec: command: >- - check-alb-elb-health-sdk + check-elb-health-sdk --aws_region={{ .annotations.check_elb_health_sdk_aws_region | default "us-east-1" }} --elb_name={{ .annotations.check_elb_health_sdk_elb_name | default "" }} --instances={{ .annotations.check_elb_health_sdk_instances | default "" }} diff --git a/aws/check-elb-instances-inservice.yaml b/aws/check-elb-instances-inservice.yaml index 644c9b8..5a6c4a7 100644 --- a/aws/check-elb-instances-inservice.yaml +++ b/aws/check-elb-instances-inservice.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-instances-inservice spec: command: >- - check-alb-elb-instances-inservice + check-elb-instances-inservice --aws_region={{ .annotations.check_elb_instances_inservice_aws_region | default "us-east-1" }} --elb_name={{ .annotations.check_elb_instances_inservice_elb_name | default "" }} runtime_assets: diff --git a/aws/check-elb-latency.yaml b/aws/check-elb-latency.yaml index 4980f50..2c60e92 100644 --- a/aws/check-elb-latency.yaml +++ b/aws/check-elb-latency.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-latency spec: command: >- - check-alb-elb-latency + check-elb-latency --aws_region={{ .annotations.check_elb_latency_aws_region | default "us-east-1" }} --elb_names={{ .annotations.check_elb_latency_elb_names | default "" }} --period={{ .annotations.check_elb_latency_period | default 60 }} diff --git a/aws/check-elb-nodes.yaml b/aws/check-elb-nodes.yaml index fb448a4..01a40d2 100644 --- a/aws/check-elb-nodes.yaml +++ b/aws/check-elb-nodes.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-nodes spec: command: >- - check-alb-elb-nodes + check-elb-nodes --aws_region={{ .annotations.check_elb_nodes_aws_region | default "us-east-1" }} --elb_name={{ .annotations.check_elb_nodes_elb_name | default "" }} --critical={{ .annotations.check_elb_nodes_critical | default -1 }} diff --git a/aws/check-elb-sum-requests.yaml b/aws/check-elb-sum-requests.yaml index 81f3a5a..7ec7184 100644 --- a/aws/check-elb-sum-requests.yaml +++ b/aws/check-elb-sum-requests.yaml @@ -19,7 +19,7 @@ metadata: name: check-elb-sum-requests spec: command: >- - check-alb-elb-sum-requests + check-elb-sum-requests --aws_region={{ .annotations.check_elb_sum_requests_aws_region | default "us-east-1" }} --elb_names={{ .annotations.check_elb_sum_requests_elb_names | default "" }} --period={{ .annotations.check_elb_sum_requests_period | default 60 }} diff --git a/aws/check-rds-events.yaml b/aws/check-rds-events.yaml new file mode 100644 index 0000000..4f9ade3 --- /dev/null +++ b/aws/check-rds-events.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check RDS clusters for critical events +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-rds-events +spec: + command: >- + check-rds-events + --aws_region={{ .annotations.check_rds_events_aws_region | default "us-east-1" }} + --db_instance_id={{ .annotations.check_rds_events_db_instance_id | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-rds-pending.yaml b/aws/check-rds-pending.yaml new file mode 100644 index 0000000..5be5016 --- /dev/null +++ b/aws/check-rds-pending.yaml @@ -0,0 +1,86 @@ +--- +# Description +# Check RDS clusters for pending maintenance actions +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-rds-pending +spec: + command: >- + check-rds-pending + --aws_region={{ .annotations.check_rds_pending_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-rds.yaml b/aws/check-rds.yaml new file mode 100644 index 0000000..a66d865 --- /dev/null +++ b/aws/check-rds.yaml @@ -0,0 +1,97 @@ +--- +# Description +# Check RDS instance statuses by RDS and Cloudwatch +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-rds +spec: + command: >- + check-rds + --aws_region={{ .annotations.check_rds_aws_region | default "us-west-1" }} + --db_instance_id={{ .annotations.check_rds_db_instance_id | default "" }} + --scheme={{ .annotations.check_rds_scheme | default "" }} + --fetch_age={{ .annotations.check_rds_fetch_age | default 0 }} + --period={{ .annotations.check_rds_period | default 180 }} + --statistic={{ .annotations.check_rds_statistic | default "average" }} + --db_cluster_id={{ .annotations.check_rds_db_cluster_id | default "" }} + --accept_nil={{ .annotations.check_rds_accept_nil | default "false" }} + --availability_zone_severity={{ .annotations.check_rds_availability_zone_severity | default "critical" }} + --available_zone={{ .annotations.check_rds_availability_zone | default "us-west-1a" }} + --cpu_critical_over={{ .annotations.check_rds_cpu_critical_over | default 80 }} + --cpu_warning_over={{ .annotations.check_rds_cpu_warning_over | default 40 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/metrics-rds.yaml b/aws/metrics-rds.yaml new file mode 100644 index 0000000..d9f9db9 --- /dev/null +++ b/aws/metrics-rds.yaml @@ -0,0 +1,92 @@ +--- +# Description +# +# Provide RDS metrics from Cloudwatch +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: metrics-rds +spec: + command: >- + metrics-rds + --aws_region={{ .annotations.metrics_rds_aws_region | default "us-east-1" }} + --db_instance_id={{ .annotations.metrics_rds_db_instance_id | default "" }} + --scheme={{ .annotations.metrics_rds_scheme | default "" }} + --fetch_age={{ .annotations.metrics_rds_fetch_age | default 0 }} + --period={{ .annotations.metrics_rds_period | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' From 45611a11823ee7ffa9a1792c98d66530752e4dae Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Fri, 3 Apr 2020 09:54:01 -0700 Subject: [PATCH 05/19] Next batch, s3 Signed-off-by: Todd Campbell --- aws/check-s3-bucket-visibility.yaml | 91 +++++++++++++++++++++++++++++ aws/check-s3-bucket.yaml | 87 +++++++++++++++++++++++++++ aws/check-s3-object.yaml | 91 +++++++++++++++++++++++++++++ aws/check-s3-tag.yaml | 87 +++++++++++++++++++++++++++ aws/metrics-s3.yaml | 89 ++++++++++++++++++++++++++++ 5 files changed, 445 insertions(+) create mode 100644 aws/check-s3-bucket-visibility.yaml create mode 100644 aws/check-s3-bucket.yaml create mode 100644 aws/check-s3-object.yaml create mode 100644 aws/check-s3-tag.yaml create mode 100644 aws/metrics-s3.yaml diff --git a/aws/check-s3-bucket-visibility.yaml b/aws/check-s3-bucket-visibility.yaml new file mode 100644 index 0000000..efeab4a --- /dev/null +++ b/aws/check-s3-bucket-visibility.yaml @@ -0,0 +1,91 @@ +--- +# Description +# Check S3 bucket for website configuration and bucket policy +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-s3-bucket-visibility +spec: + command: >- + check-s3-bucket-visibility + --aws_region={{ .annotations.check_s3_bucket_visibility_aws_region | default "us-west-1" }} + --bucket_names={{ .annotations.check_s3_bucket_visibility_bucket_names | default "" }} + --all_buckets={{ .annotations.check_s3_bucket_visibility_all_buckets | default "false" }} + --exclude_buckets={{ .annotations.check_s3_bucket_visibility_exclude_buckets | default "" }} + --exclude_buckets_regex={{ .annotations.check_s3_bucket_visibility_exclude_buckets_regex | default "" }} + --critical_on_missing={{ .annotations.check_s3_bucket_visibility_critical_on_missing | default "false" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-s3-bucket.yaml b/aws/check-s3-bucket.yaml new file mode 100644 index 0000000..2907f95 --- /dev/null +++ b/aws/check-s3-bucket.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check S3 bucket existence +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-s3-bucket +spec: + command: >- + check-s3-bucket + --aws_region={{ .annotations.check_s3_bucket_aws_region | default "us-west-1" }} + --bucket_name={{ .annotations.check_s3_bucket_bucket_name | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-s3-object.yaml b/aws/check-s3-object.yaml new file mode 100644 index 0000000..2ed1083 --- /dev/null +++ b/aws/check-s3-object.yaml @@ -0,0 +1,91 @@ +--- +# Description +# Check if object exists in S3 bucket +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-s3-object +spec: + command: >- + check-s3-object + --aws_region={{ .annotations.check_s3_object_aws_region | default "us-west-1" }} + --bucket_name={{ .annotations.check_s3_object_bucket_name | default "" }} + --key_name={{ .annotations.check_s3_object_key_name | default "" }} + --key_prefix={{ .annotations.check_s3_object_key_prefix | default "" }} + --warning_age={{ .annotations.check_s3_object_warning_age | default 90000 }} + --critical_age={{ .annotations.check_s3_object_critical_age | default 126000 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/check-s3-tag.yaml b/aws/check-s3-tag.yaml new file mode 100644 index 0000000..776cc4b --- /dev/null +++ b/aws/check-s3-tag.yaml @@ -0,0 +1,87 @@ +--- +# Description +# Check if S3 buckets have a set of tags +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: check-s3-tag +spec: + command: >- + check-s3-tag + --aws_region={{ .annotations.check_s3_tag_aws_region | default "us-west-1" }} + --tag_keys={{ .annotations.check_s3_tag_tag_keys | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' diff --git a/aws/metrics-s3.yaml b/aws/metrics-s3.yaml new file mode 100644 index 0000000..ce06193 --- /dev/null +++ b/aws/metrics-s3.yaml @@ -0,0 +1,89 @@ +--- +# Description +# +# Provide S3 metrics from Cloudwatch +# +# Instructions +# 1. Add the "aws" subscription to agents that should run this check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +type: CheckConfig +api_version: core/v2 +metadata: + name: metrics-s3 +spec: + command: >- + metrics-s3 + --aws_region={{ .annotations.metrics_s3_aws_region | default "us-east-1" }} + --scheme={{ .annotations.metrics_s3_scheme | default "sensu.aws.s3.buckets" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:0.0.5 + publish: false + subscriptions: + - aws + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-aws:0.0.5 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws + io.sensu.bonsai.tier: Supported + io.sensu.bonsai.version: 0.0.5 + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.name: sensu-aws + io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 +spec: + builds: + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz + sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz + sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 + filters: + - entity.system.os == 'darwin' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz + sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd + filters: + - entity.system.os == 'darwin' + - entity.system.arch == 'amd64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz + sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'armv7' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz + sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'arm64' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz + sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == '386' + - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz + sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' From 6eb4699d35ae9e8f8c9ed2453e00fed670de20b1 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Mon, 6 Apr 2020 07:39:33 -0700 Subject: [PATCH 06/19] Nested subscriptions Signed-off-by: Todd Campbell --- aws/{ => alb}/check-alb-target-group-health.yaml | 5 ++++- aws/{ => cloudwatch}/check-cloudwatch-alarm.yaml | 5 ++++- aws/{ => cloudwatch}/check-cloudwatch-alarms.yaml | 5 ++++- aws/{ => cloudwatch}/check-cloudwatch-composite-metric.yaml | 5 ++++- aws/{ => ebs}/check-ebs-burst-limit.yaml | 5 ++++- aws/{ => ebs}/check-ebs-snapshots.yaml | 5 ++++- aws/{ => ec2}/check-ec2-cpu_balance.yaml | 5 ++++- aws/{ => ec2}/check-ec2-filter.yaml | 5 ++++- aws/{ => ec2}/check-ec2-network.yaml | 5 ++++- aws/{ => ec2}/metrics-ec2-count.yaml | 5 ++++- aws/{ => ec2}/metrics-ec2-filter.yaml | 5 ++++- aws/{ => elb}/check-elb-certs.yaml | 5 ++++- aws/{ => elb}/check-elb-health-fog.yaml | 5 ++++- aws/{ => elb}/check-elb-health-sdk.yaml | 5 ++++- aws/{ => elb}/check-elb-instances-inservice.yaml | 5 ++++- aws/{ => elb}/check-elb-latency.yaml | 5 ++++- aws/{ => elb}/check-elb-nodes.yaml | 5 ++++- aws/{ => elb}/check-elb-sum-requests.yaml | 5 ++++- aws/{ => elb}/metrics-elb.yaml | 5 ++++- aws/{ => rds}/check-rds-events.yaml | 5 ++++- aws/{ => rds}/check-rds-pending.yaml | 5 ++++- aws/{ => rds}/check-rds.yaml | 5 ++++- aws/{ => rds}/metrics-rds.yaml | 5 ++++- aws/{ => s3}/check-s3-bucket-visibility.yaml | 5 ++++- aws/{ => s3}/check-s3-bucket.yaml | 5 ++++- aws/{ => s3}/check-s3-object.yaml | 5 ++++- aws/{ => s3}/check-s3-tag.yaml | 5 ++++- aws/{ => s3}/metrics-s3.yaml | 5 ++++- 28 files changed, 112 insertions(+), 28 deletions(-) rename aws/{ => alb}/check-alb-target-group-health.yaml (96%) rename aws/{ => cloudwatch}/check-cloudwatch-alarm.yaml (96%) rename aws/{ => cloudwatch}/check-cloudwatch-alarms.yaml (96%) rename aws/{ => cloudwatch}/check-cloudwatch-composite-metric.yaml (96%) rename aws/{ => ebs}/check-ebs-burst-limit.yaml (96%) rename aws/{ => ebs}/check-ebs-snapshots.yaml (96%) rename aws/{ => ec2}/check-ec2-cpu_balance.yaml (96%) rename aws/{ => ec2}/check-ec2-filter.yaml (96%) rename aws/{ => ec2}/check-ec2-network.yaml (96%) rename aws/{ => ec2}/metrics-ec2-count.yaml (96%) rename aws/{ => ec2}/metrics-ec2-filter.yaml (96%) rename aws/{ => elb}/check-elb-certs.yaml (96%) rename aws/{ => elb}/check-elb-health-fog.yaml (96%) rename aws/{ => elb}/check-elb-health-sdk.yaml (96%) rename aws/{ => elb}/check-elb-instances-inservice.yaml (96%) rename aws/{ => elb}/check-elb-latency.yaml (96%) rename aws/{ => elb}/check-elb-nodes.yaml (96%) rename aws/{ => elb}/check-elb-sum-requests.yaml (96%) rename aws/{ => elb}/metrics-elb.yaml (96%) rename aws/{ => rds}/check-rds-events.yaml (96%) rename aws/{ => rds}/check-rds-pending.yaml (96%) rename aws/{ => rds}/check-rds.yaml (97%) rename aws/{ => rds}/metrics-rds.yaml (96%) rename aws/{ => s3}/check-s3-bucket-visibility.yaml (96%) rename aws/{ => s3}/check-s3-bucket.yaml (96%) rename aws/{ => s3}/check-s3-object.yaml (96%) rename aws/{ => s3}/check-s3-tag.yaml (96%) rename aws/{ => s3}/metrics-s3.yaml (96%) diff --git a/aws/check-alb-target-group-health.yaml b/aws/alb/check-alb-target-group-health.yaml similarity index 96% rename from aws/check-alb-target-group-health.yaml rename to aws/alb/check-alb-target-group-health.yaml index ecc890b..c6e3ba3 100644 --- a/aws/check-alb-target-group-health.yaml +++ b/aws/alb/check-alb-target-group-health.yaml @@ -3,7 +3,8 @@ # Check the health of Application Load Balancer (ALB) target groups # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/alb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/alb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-cloudwatch-alarm.yaml b/aws/cloudwatch/check-cloudwatch-alarm.yaml similarity index 96% rename from aws/check-cloudwatch-alarm.yaml rename to aws/cloudwatch/check-cloudwatch-alarm.yaml index 9f8ef07..fb81b5a 100644 --- a/aws/check-cloudwatch-alarm.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarm.yaml @@ -3,7 +3,8 @@ # Check the status of a cloudwatch alarm # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should +# run this check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/cloudwatch interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-cloudwatch-alarms.yaml b/aws/cloudwatch/check-cloudwatch-alarms.yaml similarity index 96% rename from aws/check-cloudwatch-alarms.yaml rename to aws/cloudwatch/check-cloudwatch-alarms.yaml index d0f0fb3..8e64722 100644 --- a/aws/check-cloudwatch-alarms.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarms.yaml @@ -3,7 +3,8 @@ # Check the status of a cloudwatch alarm, with exclusions # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should +# run this check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -28,6 +30,7 @@ spec: publish: false subscriptions: - aws + - aws/cloudwatch interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-cloudwatch-composite-metric.yaml b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml similarity index 96% rename from aws/check-cloudwatch-composite-metric.yaml rename to aws/cloudwatch/check-cloudwatch-composite-metric.yaml index a1dd19c..7942ee6 100644 --- a/aws/check-cloudwatch-composite-metric.yaml +++ b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -3,7 +3,8 @@ # Retrieve two CloudWatch metric values and compute percentages to trigger alarm # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should +# run this check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -35,6 +37,7 @@ spec: publish: false subscriptions: - aws + - aws/cloudwatch interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-ebs-burst-limit.yaml b/aws/ebs/check-ebs-burst-limit.yaml similarity index 96% rename from aws/check-ebs-burst-limit.yaml rename to aws/ebs/check-ebs-burst-limit.yaml index cddbc43..fe0d982 100644 --- a/aws/check-ebs-burst-limit.yaml +++ b/aws/ebs/check-ebs-burst-limit.yaml @@ -3,7 +3,8 @@ # Check for EBS volumes with low burst balance # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -29,6 +31,7 @@ spec: publish: false subscriptions: - aws + - aws/ebs interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-ebs-snapshots.yaml b/aws/ebs/check-ebs-snapshots.yaml similarity index 96% rename from aws/check-ebs-snapshots.yaml rename to aws/ebs/check-ebs-snapshots.yaml index b128fb1..3b73303 100644 --- a/aws/check-ebs-snapshots.yaml +++ b/aws/ebs/check-ebs-snapshots.yaml @@ -3,7 +3,8 @@ # Check EC2 attached volumes for snapshots (only with a name tag) # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -28,6 +30,7 @@ spec: publish: false subscriptions: - aws + - aws/ebs interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-ec2-cpu_balance.yaml b/aws/ec2/check-ec2-cpu_balance.yaml similarity index 96% rename from aws/check-ec2-cpu_balance.yaml rename to aws/ec2/check-ec2-cpu_balance.yaml index bb4ece3..542edf5 100644 --- a/aws/check-ec2-cpu_balance.yaml +++ b/aws/ec2/check-ec2-cpu_balance.yaml @@ -3,7 +3,8 @@ # Check the CPU balance for EC2 instances # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -29,6 +31,7 @@ spec: publish: false subscriptions: - aws + - aws/ec2 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-ec2-filter.yaml b/aws/ec2/check-ec2-filter.yaml similarity index 96% rename from aws/check-ec2-filter.yaml rename to aws/ec2/check-ec2-filter.yaml index af6c21d..baf2eba 100644 --- a/aws/check-ec2-filter.yaml +++ b/aws/ec2/check-ec2-filter.yaml @@ -3,7 +3,8 @@ # Retrieves EC2 instances matching a filter, returning the number matched # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -33,6 +35,7 @@ spec: publish: false subscriptions: - aws + - aws/ec2 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-ec2-network.yaml b/aws/ec2/check-ec2-network.yaml similarity index 96% rename from aws/check-ec2-network.yaml rename to aws/ec2/check-ec2-network.yaml index 7c189d7..c57c924 100644 --- a/aws/check-ec2-network.yaml +++ b/aws/ec2/check-ec2-network.yaml @@ -3,7 +3,8 @@ # Check EC2 network metrics by CloudWatch # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -32,6 +34,7 @@ spec: publish: false subscriptions: - aws + - aws/ec2 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/metrics-ec2-count.yaml b/aws/ec2/metrics-ec2-count.yaml similarity index 96% rename from aws/metrics-ec2-count.yaml rename to aws/ec2/metrics-ec2-count.yaml index 193b5ad..db44831 100644 --- a/aws/metrics-ec2-count.yaml +++ b/aws/ec2/metrics-ec2-count.yaml @@ -6,7 +6,8 @@ # Provide metrics for number of EC2 instances # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -16,6 +17,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/ec2 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/metrics-ec2-filter.yaml b/aws/ec2/metrics-ec2-filter.yaml similarity index 96% rename from aws/metrics-ec2-filter.yaml rename to aws/ec2/metrics-ec2-filter.yaml index e94c04e..3ad74f5 100644 --- a/aws/metrics-ec2-filter.yaml +++ b/aws/ec2/metrics-ec2-filter.yaml @@ -6,7 +6,8 @@ # Provide metrics for number of EC2 instances matching a given filter # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -16,6 +17,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -33,6 +35,7 @@ spec: publish: false subscriptions: - aws + - aws/ec2 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-certs.yaml b/aws/elb/check-elb-certs.yaml similarity index 96% rename from aws/check-elb-certs.yaml rename to aws/elb/check-elb-certs.yaml index 6f6bd40..b2137e1 100644 --- a/aws/check-elb-certs.yaml +++ b/aws/elb/check-elb-certs.yaml @@ -3,7 +3,8 @@ # Check the all https ELB endpoints in a region for expiring certificates # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -29,6 +31,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-health-fog.yaml b/aws/elb/check-elb-health-fog.yaml similarity index 96% rename from aws/check-elb-health-fog.yaml rename to aws/elb/check-elb-health-fog.yaml index 66e1aeb..138fe19 100644 --- a/aws/check-elb-health-fog.yaml +++ b/aws/elb/check-elb-health-fog.yaml @@ -3,7 +3,8 @@ # Check the health of an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -29,6 +31,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-health-sdk.yaml b/aws/elb/check-elb-health-sdk.yaml similarity index 96% rename from aws/check-elb-health-sdk.yaml rename to aws/elb/check-elb-health-sdk.yaml index 7a98c0b..4a8a3b8 100644 --- a/aws/check-elb-health-sdk.yaml +++ b/aws/elb/check-elb-health-sdk.yaml @@ -3,7 +3,8 @@ # Check the health of an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-instances-inservice.yaml b/aws/elb/check-elb-instances-inservice.yaml similarity index 96% rename from aws/check-elb-instances-inservice.yaml rename to aws/elb/check-elb-instances-inservice.yaml index 5a6c4a7..9f47eb7 100644 --- a/aws/check-elb-instances-inservice.yaml +++ b/aws/elb/check-elb-instances-inservice.yaml @@ -3,7 +3,8 @@ # Check the health of an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-latency.yaml b/aws/elb/check-elb-latency.yaml similarity index 96% rename from aws/check-elb-latency.yaml rename to aws/elb/check-elb-latency.yaml index 2c60e92..2ec0a5f 100644 --- a/aws/check-elb-latency.yaml +++ b/aws/elb/check-elb-latency.yaml @@ -3,7 +3,8 @@ # Check the latency of an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-nodes.yaml b/aws/elb/check-elb-nodes.yaml similarity index 96% rename from aws/check-elb-nodes.yaml rename to aws/elb/check-elb-nodes.yaml index 01a40d2..424827c 100644 --- a/aws/check-elb-nodes.yaml +++ b/aws/elb/check-elb-nodes.yaml @@ -3,7 +3,8 @@ # Check that minimum number or percentage of nodes are in service in an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-elb-sum-requests.yaml b/aws/elb/check-elb-sum-requests.yaml similarity index 96% rename from aws/check-elb-sum-requests.yaml rename to aws/elb/check-elb-sum-requests.yaml index 7ec7184..ec73459 100644 --- a/aws/check-elb-sum-requests.yaml +++ b/aws/elb/check-elb-sum-requests.yaml @@ -3,7 +3,8 @@ # Check sum of ELB requests # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -30,6 +32,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/metrics-elb.yaml b/aws/elb/metrics-elb.yaml similarity index 96% rename from aws/metrics-elb.yaml rename to aws/elb/metrics-elb.yaml index 3e0b97b..fd31e85 100644 --- a/aws/metrics-elb.yaml +++ b/aws/elb/metrics-elb.yaml @@ -6,7 +6,8 @@ # Provide specified metrics for an ELB # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -16,6 +17,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -34,6 +36,7 @@ spec: publish: false subscriptions: - aws + - aws/elb interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-rds-events.yaml b/aws/rds/check-rds-events.yaml similarity index 96% rename from aws/check-rds-events.yaml rename to aws/rds/check-rds-events.yaml index 4f9ade3..40b3a9d 100644 --- a/aws/check-rds-events.yaml +++ b/aws/rds/check-rds-events.yaml @@ -3,7 +3,8 @@ # Check RDS clusters for critical events # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/rds interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-rds-pending.yaml b/aws/rds/check-rds-pending.yaml similarity index 96% rename from aws/check-rds-pending.yaml rename to aws/rds/check-rds-pending.yaml index 5be5016..0e25c1e 100644 --- a/aws/check-rds-pending.yaml +++ b/aws/rds/check-rds-pending.yaml @@ -3,7 +3,8 @@ # Check RDS clusters for pending maintenance actions # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -26,6 +28,7 @@ spec: publish: false subscriptions: - aws + - aws/rds interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-rds.yaml b/aws/rds/check-rds.yaml similarity index 97% rename from aws/check-rds.yaml rename to aws/rds/check-rds.yaml index a66d865..ece11e4 100644 --- a/aws/check-rds.yaml +++ b/aws/rds/check-rds.yaml @@ -3,7 +3,8 @@ # Check RDS instance statuses by RDS and Cloudwatch # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -37,6 +39,7 @@ spec: publish: false subscriptions: - aws + - aws/rds interval: 30 timeout: 10 ttl: 0 diff --git a/aws/metrics-rds.yaml b/aws/rds/metrics-rds.yaml similarity index 96% rename from aws/metrics-rds.yaml rename to aws/rds/metrics-rds.yaml index d9f9db9..6eb98ac 100644 --- a/aws/metrics-rds.yaml +++ b/aws/rds/metrics-rds.yaml @@ -4,7 +4,8 @@ # Provide RDS metrics from Cloudwatch # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -14,6 +15,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/rds interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-s3-bucket-visibility.yaml b/aws/s3/check-s3-bucket-visibility.yaml similarity index 96% rename from aws/check-s3-bucket-visibility.yaml rename to aws/s3/check-s3-bucket-visibility.yaml index efeab4a..5bda944 100644 --- a/aws/check-s3-bucket-visibility.yaml +++ b/aws/s3/check-s3-bucket-visibility.yaml @@ -3,7 +3,8 @@ # Check S3 bucket for website configuration and bucket policy # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/s3 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-s3-bucket.yaml b/aws/s3/check-s3-bucket.yaml similarity index 96% rename from aws/check-s3-bucket.yaml rename to aws/s3/check-s3-bucket.yaml index 2907f95..9966039 100644 --- a/aws/check-s3-bucket.yaml +++ b/aws/s3/check-s3-bucket.yaml @@ -3,7 +3,8 @@ # Check S3 bucket existence # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/s3 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-s3-object.yaml b/aws/s3/check-s3-object.yaml similarity index 96% rename from aws/check-s3-object.yaml rename to aws/s3/check-s3-object.yaml index 2ed1083..452e0bc 100644 --- a/aws/check-s3-object.yaml +++ b/aws/s3/check-s3-object.yaml @@ -3,7 +3,8 @@ # Check if object exists in S3 bucket # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -31,6 +33,7 @@ spec: publish: false subscriptions: - aws + - aws/s3 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/check-s3-tag.yaml b/aws/s3/check-s3-tag.yaml similarity index 96% rename from aws/check-s3-tag.yaml rename to aws/s3/check-s3-tag.yaml index 776cc4b..d62aafb 100644 --- a/aws/check-s3-tag.yaml +++ b/aws/s3/check-s3-tag.yaml @@ -3,7 +3,8 @@ # Check if S3 buckets have a set of tags # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -13,6 +14,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -27,6 +29,7 @@ spec: publish: false subscriptions: - aws + - aws/s3 interval: 30 timeout: 10 ttl: 0 diff --git a/aws/metrics-s3.yaml b/aws/s3/metrics-s3.yaml similarity index 96% rename from aws/metrics-s3.yaml rename to aws/s3/metrics-s3.yaml index ce06193..aff76f6 100644 --- a/aws/metrics-s3.yaml +++ b/aws/s3/metrics-s3.yaml @@ -4,7 +4,8 @@ # Provide S3 metrics from Cloudwatch # # Instructions -# 1. Add the "aws" subscription to agents that should run this check. +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. # 2. More configuration options are available for this plugin; please see the # plugin documentation for more details. # @@ -14,6 +15,7 @@ # Contributors # The following individuals have contributed to this configuration template: # - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey type: CheckConfig api_version: core/v2 metadata: @@ -28,6 +30,7 @@ spec: publish: false subscriptions: - aws + - aws/s3 interval: 30 timeout: 10 ttl: 0 From 1f1e1d51362c9038866c19012a3fb8c17b1b3999 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 11:18:16 -0700 Subject: [PATCH 07/19] fix for namespace of golang checks Signed-off-by: Todd Campbell --- aws/alb/check-alb-target-group-health.yaml | 4 ++-- aws/cloudwatch/check-cloudwatch-alarm.yaml | 4 ++-- aws/cloudwatch/check-cloudwatch-alarms.yaml | 4 ++-- aws/cloudwatch/check-cloudwatch-composite-metric.yaml | 4 ++-- aws/ebs/check-ebs-burst-limit.yaml | 4 ++-- aws/ebs/check-ebs-snapshots.yaml | 4 ++-- aws/ec2/check-ec2-cpu_balance.yaml | 4 ++-- aws/ec2/check-ec2-filter.yaml | 4 ++-- aws/ec2/check-ec2-network.yaml | 4 ++-- aws/ec2/metrics-ec2-count.yaml | 4 ++-- aws/ec2/metrics-ec2-filter.yaml | 4 ++-- aws/elb/check-elb-certs.yaml | 4 ++-- aws/elb/check-elb-health-fog.yaml | 4 ++-- aws/elb/check-elb-health-sdk.yaml | 4 ++-- aws/elb/check-elb-instances-inservice.yaml | 4 ++-- aws/elb/check-elb-latency.yaml | 4 ++-- aws/elb/check-elb-nodes.yaml | 4 ++-- aws/elb/check-elb-sum-requests.yaml | 4 ++-- aws/elb/metrics-elb.yaml | 4 ++-- aws/rds/check-rds-events.yaml | 4 ++-- aws/rds/check-rds-pending.yaml | 4 ++-- aws/rds/check-rds.yaml | 4 ++-- aws/rds/metrics-rds.yaml | 4 ++-- aws/s3/check-s3-bucket-visibility.yaml | 4 ++-- aws/s3/check-s3-bucket.yaml | 4 ++-- aws/s3/check-s3-object.yaml | 4 ++-- aws/s3/check-s3-tag.yaml | 4 ++-- aws/s3/metrics-s3.yaml | 4 ++-- 28 files changed, 56 insertions(+), 56 deletions(-) diff --git a/aws/alb/check-alb-target-group-health.yaml b/aws/alb/check-alb-target-group-health.yaml index c6e3ba3..bece24d 100644 --- a/aws/alb/check-alb-target-group-health.yaml +++ b/aws/alb/check-alb-target-group-health.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_alb_target_group_health_aws_region | default "us-east-1" }} --target_groups={{ .annotations.check_alb_target_group_health_target_groups | default "target-group-1" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/cloudwatch/check-cloudwatch-alarm.yaml b/aws/cloudwatch/check-cloudwatch-alarm.yaml index fb81b5a..7eb6da0 100644 --- a/aws/cloudwatch/check-cloudwatch-alarm.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarm.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_cloudwatch_alarm_aws_region | default "us-east-1" }} --state={{ .annotations.check_cloudwatch_alarm_state | default "ALARM" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/cloudwatch/check-cloudwatch-alarms.yaml b/aws/cloudwatch/check-cloudwatch-alarms.yaml index 8e64722..ba2855a 100644 --- a/aws/cloudwatch/check-cloudwatch-alarms.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarms.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -26,7 +26,7 @@ spec: --state={{ .annotations.check_cloudwatch_alarms_state | default "ALARM" }} --exclude_alarms={{ .annotations.check_cloudwatch_alarms_exclude_alarms | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml index 7942ee6..388b9b5 100644 --- a/aws/cloudwatch/check-cloudwatch-composite-metric.yaml +++ b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -33,7 +33,7 @@ spec: --critical={{ .annotations.check_cloudwatch_composite_metrics_critical | default 0 }} --warining={{ .annotations.check_cloudwatch_composite_metrics_warining | default 0 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ebs/check-ebs-burst-limit.yaml b/aws/ebs/check-ebs-burst-limit.yaml index fe0d982..7348f00 100644 --- a/aws/ebs/check-ebs-burst-limit.yaml +++ b/aws/ebs/check-ebs-burst-limit.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -27,7 +27,7 @@ spec: --critical={{ .annotations.check_ebs_burst_limit_critical | default 50 }} --check_self={{ .annotations.check_ebs_burst_limit_check_self | default "false" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ebs/check-ebs-snapshots.yaml b/aws/ebs/check-ebs-snapshots.yaml index 3b73303..5938534 100644 --- a/aws/ebs/check-ebs-snapshots.yaml +++ b/aws/ebs/check-ebs-snapshots.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -26,7 +26,7 @@ spec: --period={{ .annotations.check_ebs_snapshots_period | default 7 }} --check_ignored={{ .annotations.check_ebs_snapshots_check_ignored | default "true" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ec2/check-ec2-cpu_balance.yaml b/aws/ec2/check-ec2-cpu_balance.yaml index 542edf5..e72febf 100644 --- a/aws/ec2/check-ec2-cpu_balance.yaml +++ b/aws/ec2/check-ec2-cpu_balance.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -27,7 +27,7 @@ spec: --critical={{ .annotations.check_ec2_cpu_balance_critical | default 1.2 }} --tag={{ .annotations.check_ec2_cpu_balance_tag | default "NAME" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ec2/check-ec2-filter.yaml b/aws/ec2/check-ec2-filter.yaml index baf2eba..f176ddc 100644 --- a/aws/ec2/check-ec2-filter.yaml +++ b/aws/ec2/check-ec2-filter.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -31,7 +31,7 @@ spec: --min_running_secs={{ .annotations.check_ec2_filter_min_running_secs | default 0 }} --filters={{ .annotations.check_ec2_filter_filters | default "{\"filters\" : [{\"name\" : \"instance-state-name\", \"values\": [\"running\"]}]}" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ec2/check-ec2-network.yaml b/aws/ec2/check-ec2-network.yaml index c57c924..e20a8f5 100644 --- a/aws/ec2/check-ec2-network.yaml +++ b/aws/ec2/check-ec2-network.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -30,7 +30,7 @@ spec: --period={{ .annotations.check_ec2_network_min_period | default 60 }} --direction={{ .annotations.check_ec2_filter_direction | default "NetworkIn" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ec2/metrics-ec2-count.yaml b/aws/ec2/metrics-ec2-count.yaml index db44831..3ae87c7 100644 --- a/aws/ec2/metrics-ec2-count.yaml +++ b/aws/ec2/metrics-ec2-count.yaml @@ -12,7 +12,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --metric_type {{ .annotations.metrics_ec2_count_metric_type | default "instance" }} --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/ec2/metrics-ec2-filter.yaml b/aws/ec2/metrics-ec2-filter.yaml index 3ad74f5..b64f942 100644 --- a/aws/ec2/metrics-ec2-filter.yaml +++ b/aws/ec2/metrics-ec2-filter.yaml @@ -12,7 +12,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -31,7 +31,7 @@ spec: --filters {{ .annotations.metrics_ec2_count_filters | default "{}" }} --filter_name {{ .annotations.metrics_ec2_count_filter_name | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-certs.yaml b/aws/elb/check-elb-certs.yaml index b2137e1..1e91813 100644 --- a/aws/elb/check-elb-certs.yaml +++ b/aws/elb/check-elb-certs.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -27,7 +27,7 @@ spec: --critical={{ .annotations.check_elb_certs_critical | default 5 }} --verbose={{ .annotations.check_elb_certs_verbose | default false }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-health-fog.yaml b/aws/elb/check-elb-health-fog.yaml index 138fe19..a68f941 100644 --- a/aws/elb/check-elb-health-fog.yaml +++ b/aws/elb/check-elb-health-fog.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -27,7 +27,7 @@ spec: --instances={{ .annotations.check_elb_health_fog_instances | default "" }} --verbose={{ .annotations.check_elb_health_fog_verbose | default false }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-health-sdk.yaml b/aws/elb/check-elb-health-sdk.yaml index 4a8a3b8..67daeb3 100644 --- a/aws/elb/check-elb-health-sdk.yaml +++ b/aws/elb/check-elb-health-sdk.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --instance_tag={{ .annotations.check_elb_health_sdk_instance_tag | default "NAME" }} --warn_only={{ .annotations.check_elb_health_sdk_warn_only | default false }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-instances-inservice.yaml b/aws/elb/check-elb-instances-inservice.yaml index 9f47eb7..5128911 100644 --- a/aws/elb/check-elb-instances-inservice.yaml +++ b/aws/elb/check-elb-instances-inservice.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_elb_instances_inservice_aws_region | default "us-east-1" }} --elb_name={{ .annotations.check_elb_instances_inservice_elb_name | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-latency.yaml b/aws/elb/check-elb-latency.yaml index 2ec0a5f..0a0deed 100644 --- a/aws/elb/check-elb-latency.yaml +++ b/aws/elb/check-elb-latency.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --critical_over={{ .annotations.check_elb_latency_critical_over | default 60 }} --warning_over={{ .annotations.check_elb_latency_warning_over | default 60 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-nodes.yaml b/aws/elb/check-elb-nodes.yaml index 424827c..a672345 100644 --- a/aws/elb/check-elb-nodes.yaml +++ b/aws/elb/check-elb-nodes.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --critical_percentage={{ .annotations.check_elb_nodes_critical_percentage | default -1 }} --warning_percentage={{ .annotations.check_elb_nodes_warning_percentage | default -1 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/check-elb-sum-requests.yaml b/aws/elb/check-elb-sum-requests.yaml index ec73459..1866e52 100644 --- a/aws/elb/check-elb-sum-requests.yaml +++ b/aws/elb/check-elb-sum-requests.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -28,7 +28,7 @@ spec: --critical_over={{ .annotations.check_elb_sum_requests_critical_over| default 60 }} --warning_over={{ .annotations.check_elb_sum_requests_warning_over| default 60 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/elb/metrics-elb.yaml b/aws/elb/metrics-elb.yaml index fd31e85..0d71fd1 100644 --- a/aws/elb/metrics-elb.yaml +++ b/aws/elb/metrics-elb.yaml @@ -12,7 +12,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -32,7 +32,7 @@ spec: --critical_over {{ .annotations.metrics_elb_critical_over | default 60 }} --warning_over {{ .annotations.metrics_elb_warning_over | default 60 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/rds/check-rds-events.yaml b/aws/rds/check-rds-events.yaml index 40b3a9d..6ad8782 100644 --- a/aws/rds/check-rds-events.yaml +++ b/aws/rds/check-rds-events.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_rds_events_aws_region | default "us-east-1" }} --db_instance_id={{ .annotations.check_rds_events_db_instance_id | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/rds/check-rds-pending.yaml b/aws/rds/check-rds-pending.yaml index 0e25c1e..430343d 100644 --- a/aws/rds/check-rds-pending.yaml +++ b/aws/rds/check-rds-pending.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -24,7 +24,7 @@ spec: check-rds-pending --aws_region={{ .annotations.check_rds_pending_aws_region | default "us-east-1" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/rds/check-rds.yaml b/aws/rds/check-rds.yaml index ece11e4..013ac32 100644 --- a/aws/rds/check-rds.yaml +++ b/aws/rds/check-rds.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -35,7 +35,7 @@ spec: --cpu_critical_over={{ .annotations.check_rds_cpu_critical_over | default 80 }} --cpu_warning_over={{ .annotations.check_rds_cpu_warning_over | default 40 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/rds/metrics-rds.yaml b/aws/rds/metrics-rds.yaml index 6eb98ac..4a46d5e 100644 --- a/aws/rds/metrics-rds.yaml +++ b/aws/rds/metrics-rds.yaml @@ -10,7 +10,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --fetch_age={{ .annotations.metrics_rds_fetch_age | default 0 }} --period={{ .annotations.metrics_rds_period | default 60 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/s3/check-s3-bucket-visibility.yaml b/aws/s3/check-s3-bucket-visibility.yaml index 5bda944..f27dade 100644 --- a/aws/s3/check-s3-bucket-visibility.yaml +++ b/aws/s3/check-s3-bucket-visibility.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --exclude_buckets_regex={{ .annotations.check_s3_bucket_visibility_exclude_buckets_regex | default "" }} --critical_on_missing={{ .annotations.check_s3_bucket_visibility_critical_on_missing | default "false" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/s3/check-s3-bucket.yaml b/aws/s3/check-s3-bucket.yaml index 9966039..37b7b26 100644 --- a/aws/s3/check-s3-bucket.yaml +++ b/aws/s3/check-s3-bucket.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_s3_bucket_aws_region | default "us-west-1" }} --bucket_name={{ .annotations.check_s3_bucket_bucket_name | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/s3/check-s3-object.yaml b/aws/s3/check-s3-object.yaml index 452e0bc..088a22c 100644 --- a/aws/s3/check-s3-object.yaml +++ b/aws/s3/check-s3-object.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -29,7 +29,7 @@ spec: --warning_age={{ .annotations.check_s3_object_warning_age | default 90000 }} --critical_age={{ .annotations.check_s3_object_critical_age | default 126000 }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/s3/check-s3-tag.yaml b/aws/s3/check-s3-tag.yaml index d62aafb..852fc3c 100644 --- a/aws/s3/check-s3-tag.yaml +++ b/aws/s3/check-s3-tag.yaml @@ -9,7 +9,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -25,7 +25,7 @@ spec: --aws_region={{ .annotations.check_s3_tag_aws_region | default "us-west-1" }} --tag_keys={{ .annotations.check_s3_tag_tag_keys | default "" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws diff --git a/aws/s3/metrics-s3.yaml b/aws/s3/metrics-s3.yaml index aff76f6..b15d47a 100644 --- a/aws/s3/metrics-s3.yaml +++ b/aws/s3/metrics-s3.yaml @@ -10,7 +10,7 @@ # plugin documentation for more details. # # Documentation -# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage-examples +# - Usage: https://github.com/sensu/sensu-aws#usage-examples # # Contributors # The following individuals have contributed to this configuration template: @@ -26,7 +26,7 @@ spec: --aws_region={{ .annotations.metrics_s3_aws_region | default "us-east-1" }} --scheme={{ .annotations.metrics_s3_scheme | default "sensu.aws.s3.buckets" }} runtime_assets: - - sensu-plugins/sensu-plugins-aws:0.0.5 + - sensu/sensu-aws:0.0.5 publish: false subscriptions: - aws From 71b106009898c32e3107a0505508a6da642aabfd Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 11:47:26 -0700 Subject: [PATCH 08/19] namespace the check names for the sensu-aws golang resources Signed-off-by: Todd Campbell --- aws/alb/check-alb-target-group-health.yaml | 2 +- aws/cloudwatch/check-cloudwatch-alarm.yaml | 2 +- aws/cloudwatch/check-cloudwatch-alarms.yaml | 2 +- aws/cloudwatch/check-cloudwatch-composite-metric.yaml | 2 +- aws/ebs/check-ebs-burst-limit.yaml | 2 +- aws/ebs/check-ebs-snapshots.yaml | 2 +- aws/ec2/check-ec2-cpu_balance.yaml | 2 +- aws/ec2/check-ec2-filter.yaml | 2 +- aws/ec2/check-ec2-network.yaml | 2 +- aws/ec2/metrics-ec2-count.yaml | 2 +- aws/ec2/metrics-ec2-filter.yaml | 2 +- aws/elb/check-elb-certs.yaml | 2 +- aws/elb/check-elb-health-fog.yaml | 2 +- aws/elb/check-elb-health-sdk.yaml | 2 +- aws/elb/check-elb-instances-inservice.yaml | 2 +- aws/elb/check-elb-latency.yaml | 2 +- aws/elb/check-elb-nodes.yaml | 2 +- aws/elb/check-elb-sum-requests.yaml | 2 +- aws/elb/metrics-elb.yaml | 2 +- aws/rds/check-rds-events.yaml | 2 +- aws/rds/check-rds-pending.yaml | 2 +- aws/rds/check-rds.yaml | 2 +- aws/rds/metrics-rds.yaml | 2 +- aws/s3/check-s3-bucket-visibility.yaml | 2 +- aws/s3/check-s3-bucket.yaml | 2 +- aws/s3/check-s3-object.yaml | 2 +- aws/s3/check-s3-tag.yaml | 2 +- aws/s3/metrics-s3.yaml | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/aws/alb/check-alb-target-group-health.yaml b/aws/alb/check-alb-target-group-health.yaml index bece24d..7b3e344 100644 --- a/aws/alb/check-alb-target-group-health.yaml +++ b/aws/alb/check-alb-target-group-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-alb-target-group-health + name: sensu-aws/check-alb-target-group-health spec: command: >- check-alb-target-group-health diff --git a/aws/cloudwatch/check-cloudwatch-alarm.yaml b/aws/cloudwatch/check-cloudwatch-alarm.yaml index 7eb6da0..e38e493 100644 --- a/aws/cloudwatch/check-cloudwatch-alarm.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarm.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-cloudwatch-alarm + name: sensu-aws/check-cloudwatch-alarm spec: command: >- check-cloudwatch-alarm diff --git a/aws/cloudwatch/check-cloudwatch-alarms.yaml b/aws/cloudwatch/check-cloudwatch-alarms.yaml index ba2855a..f57de50 100644 --- a/aws/cloudwatch/check-cloudwatch-alarms.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarms.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-cloudwatch-alarms + name: sensu-aws/check-cloudwatch-alarms spec: command: >- check-cloudwatch-alarms diff --git a/aws/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml index 388b9b5..8c1afb3 100644 --- a/aws/cloudwatch/check-cloudwatch-composite-metric.yaml +++ b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-cloudwatch-composite-metric + name: sensu-aws/check-cloudwatch-composite-metric spec: command: >- check-cloudwatch-composite-metric diff --git a/aws/ebs/check-ebs-burst-limit.yaml b/aws/ebs/check-ebs-burst-limit.yaml index 7348f00..14b8ff7 100644 --- a/aws/ebs/check-ebs-burst-limit.yaml +++ b/aws/ebs/check-ebs-burst-limit.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-ebs-burst-limit + name: sensu-aws/check-ebs-burst-limit spec: command: >- check-ebs-burst-limit diff --git a/aws/ebs/check-ebs-snapshots.yaml b/aws/ebs/check-ebs-snapshots.yaml index 5938534..39a918e 100644 --- a/aws/ebs/check-ebs-snapshots.yaml +++ b/aws/ebs/check-ebs-snapshots.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-ebs-snapshots + name: sensu-aws/check-ebs-snapshots spec: command: >- check-ebs-snapshots diff --git a/aws/ec2/check-ec2-cpu_balance.yaml b/aws/ec2/check-ec2-cpu_balance.yaml index e72febf..9360235 100644 --- a/aws/ec2/check-ec2-cpu_balance.yaml +++ b/aws/ec2/check-ec2-cpu_balance.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-ec2-cpu_balance + name: sensu-aws/check-ec2-cpu_balance spec: command: >- check-ec2-cpu_balance diff --git a/aws/ec2/check-ec2-filter.yaml b/aws/ec2/check-ec2-filter.yaml index f176ddc..719c105 100644 --- a/aws/ec2/check-ec2-filter.yaml +++ b/aws/ec2/check-ec2-filter.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-ec2-filter + name: sensu-aws/check-ec2-filter spec: command: >- check-ec2-filter diff --git a/aws/ec2/check-ec2-network.yaml b/aws/ec2/check-ec2-network.yaml index e20a8f5..71a3dc1 100644 --- a/aws/ec2/check-ec2-network.yaml +++ b/aws/ec2/check-ec2-network.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-ec2-network + name: sensu-aws/check-ec2-network spec: command: >- check-ec2-network diff --git a/aws/ec2/metrics-ec2-count.yaml b/aws/ec2/metrics-ec2-count.yaml index 3ae87c7..6e8bae1 100644 --- a/aws/ec2/metrics-ec2-count.yaml +++ b/aws/ec2/metrics-ec2-count.yaml @@ -21,7 +21,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: metrics-ec2-count + name: sensu-aws/metrics-ec2-count spec: command: >- metrics-ec2-count diff --git a/aws/ec2/metrics-ec2-filter.yaml b/aws/ec2/metrics-ec2-filter.yaml index b64f942..cd31eda 100644 --- a/aws/ec2/metrics-ec2-filter.yaml +++ b/aws/ec2/metrics-ec2-filter.yaml @@ -21,7 +21,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: metrics-ec2-filter + name: sensu-aws/metrics-ec2-filter spec: command: >- metrics-ec2-filter diff --git a/aws/elb/check-elb-certs.yaml b/aws/elb/check-elb-certs.yaml index 1e91813..b9481ba 100644 --- a/aws/elb/check-elb-certs.yaml +++ b/aws/elb/check-elb-certs.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-certs + name: sensu-aws/check-elb-certs spec: command: >- check-elb-certs diff --git a/aws/elb/check-elb-health-fog.yaml b/aws/elb/check-elb-health-fog.yaml index a68f941..b506b04 100644 --- a/aws/elb/check-elb-health-fog.yaml +++ b/aws/elb/check-elb-health-fog.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-health-fog + name: sensu-aws/check-elb-health-fog spec: command: >- check-elb-health-fog diff --git a/aws/elb/check-elb-health-sdk.yaml b/aws/elb/check-elb-health-sdk.yaml index 67daeb3..9c9fcf5 100644 --- a/aws/elb/check-elb-health-sdk.yaml +++ b/aws/elb/check-elb-health-sdk.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-health-sdk + name: sensu-aws/check-elb-health-sdk spec: command: >- check-elb-health-sdk diff --git a/aws/elb/check-elb-instances-inservice.yaml b/aws/elb/check-elb-instances-inservice.yaml index 5128911..2847979 100644 --- a/aws/elb/check-elb-instances-inservice.yaml +++ b/aws/elb/check-elb-instances-inservice.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-instances-inservice + name: sensu-aws/check-elb-instances-inservice spec: command: >- check-elb-instances-inservice diff --git a/aws/elb/check-elb-latency.yaml b/aws/elb/check-elb-latency.yaml index 0a0deed..620abc2 100644 --- a/aws/elb/check-elb-latency.yaml +++ b/aws/elb/check-elb-latency.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-latency + name: sensu-aws/check-elb-latency spec: command: >- check-elb-latency diff --git a/aws/elb/check-elb-nodes.yaml b/aws/elb/check-elb-nodes.yaml index a672345..19642b1 100644 --- a/aws/elb/check-elb-nodes.yaml +++ b/aws/elb/check-elb-nodes.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-nodes + name: sensu-aws/check-elb-nodes spec: command: >- check-elb-nodes diff --git a/aws/elb/check-elb-sum-requests.yaml b/aws/elb/check-elb-sum-requests.yaml index 1866e52..dd6ec0b 100644 --- a/aws/elb/check-elb-sum-requests.yaml +++ b/aws/elb/check-elb-sum-requests.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-elb-sum-requests + name: sensu-aws/check-elb-sum-requests spec: command: >- check-elb-sum-requests diff --git a/aws/elb/metrics-elb.yaml b/aws/elb/metrics-elb.yaml index 0d71fd1..1d6c669 100644 --- a/aws/elb/metrics-elb.yaml +++ b/aws/elb/metrics-elb.yaml @@ -21,7 +21,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: metrics-elb + name: sensu-aws/metrics-elb spec: command: >- metrics-elb diff --git a/aws/rds/check-rds-events.yaml b/aws/rds/check-rds-events.yaml index 6ad8782..480f576 100644 --- a/aws/rds/check-rds-events.yaml +++ b/aws/rds/check-rds-events.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-rds-events + name: sensu-aws/check-rds-events spec: command: >- check-rds-events diff --git a/aws/rds/check-rds-pending.yaml b/aws/rds/check-rds-pending.yaml index 430343d..991f0dd 100644 --- a/aws/rds/check-rds-pending.yaml +++ b/aws/rds/check-rds-pending.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-rds-pending + name: sensu-aws/check-rds-pending spec: command: >- check-rds-pending diff --git a/aws/rds/check-rds.yaml b/aws/rds/check-rds.yaml index 013ac32..eff4503 100644 --- a/aws/rds/check-rds.yaml +++ b/aws/rds/check-rds.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-rds + name: sensu-aws/check-rds spec: command: >- check-rds diff --git a/aws/rds/metrics-rds.yaml b/aws/rds/metrics-rds.yaml index 4a46d5e..083adc1 100644 --- a/aws/rds/metrics-rds.yaml +++ b/aws/rds/metrics-rds.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: metrics-rds + name: sensu-aws/metrics-rds spec: command: >- metrics-rds diff --git a/aws/s3/check-s3-bucket-visibility.yaml b/aws/s3/check-s3-bucket-visibility.yaml index f27dade..f854c92 100644 --- a/aws/s3/check-s3-bucket-visibility.yaml +++ b/aws/s3/check-s3-bucket-visibility.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-s3-bucket-visibility + name: sensu-aws/check-s3-bucket-visibility spec: command: >- check-s3-bucket-visibility diff --git a/aws/s3/check-s3-bucket.yaml b/aws/s3/check-s3-bucket.yaml index 37b7b26..cb774df 100644 --- a/aws/s3/check-s3-bucket.yaml +++ b/aws/s3/check-s3-bucket.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-s3-bucket + name: sensu-aws/check-s3-bucket spec: command: >- check-s3-bucket diff --git a/aws/s3/check-s3-object.yaml b/aws/s3/check-s3-object.yaml index 088a22c..a6cad62 100644 --- a/aws/s3/check-s3-object.yaml +++ b/aws/s3/check-s3-object.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-s3-object + name: sensu-aws/check-s3-object spec: command: >- check-s3-object diff --git a/aws/s3/check-s3-tag.yaml b/aws/s3/check-s3-tag.yaml index 852fc3c..b7f9b30 100644 --- a/aws/s3/check-s3-tag.yaml +++ b/aws/s3/check-s3-tag.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: check-s3-tag + name: sensu-aws/check-s3-tag spec: command: >- check-s3-tag diff --git a/aws/s3/metrics-s3.yaml b/aws/s3/metrics-s3.yaml index b15d47a..b3de660 100644 --- a/aws/s3/metrics-s3.yaml +++ b/aws/s3/metrics-s3.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: metrics-s3 + name: sensu-aws/metrics-s3 spec: command: >- metrics-s3 From d1d3e4071f497a1964fe8a940d0009a398f53649 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 11:58:09 -0700 Subject: [PATCH 09/19] Move sensu-aws plugins under their own directory Signed-off-by: Todd Campbell --- aws/{ => sensu-aws}/alb/check-alb-target-group-health.yaml | 0 aws/{ => sensu-aws}/cloudwatch/check-cloudwatch-alarm.yaml | 0 aws/{ => sensu-aws}/cloudwatch/check-cloudwatch-alarms.yaml | 0 .../cloudwatch/check-cloudwatch-composite-metric.yaml | 0 aws/{ => sensu-aws}/ebs/check-ebs-burst-limit.yaml | 0 aws/{ => sensu-aws}/ebs/check-ebs-snapshots.yaml | 0 aws/{ => sensu-aws}/ec2/check-ec2-cpu_balance.yaml | 0 aws/{ => sensu-aws}/ec2/check-ec2-filter.yaml | 0 aws/{ => sensu-aws}/ec2/check-ec2-network.yaml | 0 aws/{ => sensu-aws}/ec2/metrics-ec2-count.yaml | 0 aws/{ => sensu-aws}/ec2/metrics-ec2-filter.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-certs.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-health-fog.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-health-sdk.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-instances-inservice.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-latency.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-nodes.yaml | 0 aws/{ => sensu-aws}/elb/check-elb-sum-requests.yaml | 0 aws/{ => sensu-aws}/elb/metrics-elb.yaml | 0 aws/{ => sensu-aws}/rds/check-rds-events.yaml | 0 aws/{ => sensu-aws}/rds/check-rds-pending.yaml | 0 aws/{ => sensu-aws}/rds/check-rds.yaml | 0 aws/{ => sensu-aws}/rds/metrics-rds.yaml | 0 aws/{ => sensu-aws}/s3/check-s3-bucket-visibility.yaml | 0 aws/{ => sensu-aws}/s3/check-s3-bucket.yaml | 0 aws/{ => sensu-aws}/s3/check-s3-object.yaml | 0 aws/{ => sensu-aws}/s3/check-s3-tag.yaml | 0 aws/{ => sensu-aws}/s3/metrics-s3.yaml | 0 28 files changed, 0 insertions(+), 0 deletions(-) rename aws/{ => sensu-aws}/alb/check-alb-target-group-health.yaml (100%) rename aws/{ => sensu-aws}/cloudwatch/check-cloudwatch-alarm.yaml (100%) rename aws/{ => sensu-aws}/cloudwatch/check-cloudwatch-alarms.yaml (100%) rename aws/{ => sensu-aws}/cloudwatch/check-cloudwatch-composite-metric.yaml (100%) rename aws/{ => sensu-aws}/ebs/check-ebs-burst-limit.yaml (100%) rename aws/{ => sensu-aws}/ebs/check-ebs-snapshots.yaml (100%) rename aws/{ => sensu-aws}/ec2/check-ec2-cpu_balance.yaml (100%) rename aws/{ => sensu-aws}/ec2/check-ec2-filter.yaml (100%) rename aws/{ => sensu-aws}/ec2/check-ec2-network.yaml (100%) rename aws/{ => sensu-aws}/ec2/metrics-ec2-count.yaml (100%) rename aws/{ => sensu-aws}/ec2/metrics-ec2-filter.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-certs.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-health-fog.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-health-sdk.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-instances-inservice.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-latency.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-nodes.yaml (100%) rename aws/{ => sensu-aws}/elb/check-elb-sum-requests.yaml (100%) rename aws/{ => sensu-aws}/elb/metrics-elb.yaml (100%) rename aws/{ => sensu-aws}/rds/check-rds-events.yaml (100%) rename aws/{ => sensu-aws}/rds/check-rds-pending.yaml (100%) rename aws/{ => sensu-aws}/rds/check-rds.yaml (100%) rename aws/{ => sensu-aws}/rds/metrics-rds.yaml (100%) rename aws/{ => sensu-aws}/s3/check-s3-bucket-visibility.yaml (100%) rename aws/{ => sensu-aws}/s3/check-s3-bucket.yaml (100%) rename aws/{ => sensu-aws}/s3/check-s3-object.yaml (100%) rename aws/{ => sensu-aws}/s3/check-s3-tag.yaml (100%) rename aws/{ => sensu-aws}/s3/metrics-s3.yaml (100%) diff --git a/aws/alb/check-alb-target-group-health.yaml b/aws/sensu-aws/alb/check-alb-target-group-health.yaml similarity index 100% rename from aws/alb/check-alb-target-group-health.yaml rename to aws/sensu-aws/alb/check-alb-target-group-health.yaml diff --git a/aws/cloudwatch/check-cloudwatch-alarm.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml similarity index 100% rename from aws/cloudwatch/check-cloudwatch-alarm.yaml rename to aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml diff --git a/aws/cloudwatch/check-cloudwatch-alarms.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml similarity index 100% rename from aws/cloudwatch/check-cloudwatch-alarms.yaml rename to aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml diff --git a/aws/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml similarity index 100% rename from aws/cloudwatch/check-cloudwatch-composite-metric.yaml rename to aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml diff --git a/aws/ebs/check-ebs-burst-limit.yaml b/aws/sensu-aws/ebs/check-ebs-burst-limit.yaml similarity index 100% rename from aws/ebs/check-ebs-burst-limit.yaml rename to aws/sensu-aws/ebs/check-ebs-burst-limit.yaml diff --git a/aws/ebs/check-ebs-snapshots.yaml b/aws/sensu-aws/ebs/check-ebs-snapshots.yaml similarity index 100% rename from aws/ebs/check-ebs-snapshots.yaml rename to aws/sensu-aws/ebs/check-ebs-snapshots.yaml diff --git a/aws/ec2/check-ec2-cpu_balance.yaml b/aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml similarity index 100% rename from aws/ec2/check-ec2-cpu_balance.yaml rename to aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml diff --git a/aws/ec2/check-ec2-filter.yaml b/aws/sensu-aws/ec2/check-ec2-filter.yaml similarity index 100% rename from aws/ec2/check-ec2-filter.yaml rename to aws/sensu-aws/ec2/check-ec2-filter.yaml diff --git a/aws/ec2/check-ec2-network.yaml b/aws/sensu-aws/ec2/check-ec2-network.yaml similarity index 100% rename from aws/ec2/check-ec2-network.yaml rename to aws/sensu-aws/ec2/check-ec2-network.yaml diff --git a/aws/ec2/metrics-ec2-count.yaml b/aws/sensu-aws/ec2/metrics-ec2-count.yaml similarity index 100% rename from aws/ec2/metrics-ec2-count.yaml rename to aws/sensu-aws/ec2/metrics-ec2-count.yaml diff --git a/aws/ec2/metrics-ec2-filter.yaml b/aws/sensu-aws/ec2/metrics-ec2-filter.yaml similarity index 100% rename from aws/ec2/metrics-ec2-filter.yaml rename to aws/sensu-aws/ec2/metrics-ec2-filter.yaml diff --git a/aws/elb/check-elb-certs.yaml b/aws/sensu-aws/elb/check-elb-certs.yaml similarity index 100% rename from aws/elb/check-elb-certs.yaml rename to aws/sensu-aws/elb/check-elb-certs.yaml diff --git a/aws/elb/check-elb-health-fog.yaml b/aws/sensu-aws/elb/check-elb-health-fog.yaml similarity index 100% rename from aws/elb/check-elb-health-fog.yaml rename to aws/sensu-aws/elb/check-elb-health-fog.yaml diff --git a/aws/elb/check-elb-health-sdk.yaml b/aws/sensu-aws/elb/check-elb-health-sdk.yaml similarity index 100% rename from aws/elb/check-elb-health-sdk.yaml rename to aws/sensu-aws/elb/check-elb-health-sdk.yaml diff --git a/aws/elb/check-elb-instances-inservice.yaml b/aws/sensu-aws/elb/check-elb-instances-inservice.yaml similarity index 100% rename from aws/elb/check-elb-instances-inservice.yaml rename to aws/sensu-aws/elb/check-elb-instances-inservice.yaml diff --git a/aws/elb/check-elb-latency.yaml b/aws/sensu-aws/elb/check-elb-latency.yaml similarity index 100% rename from aws/elb/check-elb-latency.yaml rename to aws/sensu-aws/elb/check-elb-latency.yaml diff --git a/aws/elb/check-elb-nodes.yaml b/aws/sensu-aws/elb/check-elb-nodes.yaml similarity index 100% rename from aws/elb/check-elb-nodes.yaml rename to aws/sensu-aws/elb/check-elb-nodes.yaml diff --git a/aws/elb/check-elb-sum-requests.yaml b/aws/sensu-aws/elb/check-elb-sum-requests.yaml similarity index 100% rename from aws/elb/check-elb-sum-requests.yaml rename to aws/sensu-aws/elb/check-elb-sum-requests.yaml diff --git a/aws/elb/metrics-elb.yaml b/aws/sensu-aws/elb/metrics-elb.yaml similarity index 100% rename from aws/elb/metrics-elb.yaml rename to aws/sensu-aws/elb/metrics-elb.yaml diff --git a/aws/rds/check-rds-events.yaml b/aws/sensu-aws/rds/check-rds-events.yaml similarity index 100% rename from aws/rds/check-rds-events.yaml rename to aws/sensu-aws/rds/check-rds-events.yaml diff --git a/aws/rds/check-rds-pending.yaml b/aws/sensu-aws/rds/check-rds-pending.yaml similarity index 100% rename from aws/rds/check-rds-pending.yaml rename to aws/sensu-aws/rds/check-rds-pending.yaml diff --git a/aws/rds/check-rds.yaml b/aws/sensu-aws/rds/check-rds.yaml similarity index 100% rename from aws/rds/check-rds.yaml rename to aws/sensu-aws/rds/check-rds.yaml diff --git a/aws/rds/metrics-rds.yaml b/aws/sensu-aws/rds/metrics-rds.yaml similarity index 100% rename from aws/rds/metrics-rds.yaml rename to aws/sensu-aws/rds/metrics-rds.yaml diff --git a/aws/s3/check-s3-bucket-visibility.yaml b/aws/sensu-aws/s3/check-s3-bucket-visibility.yaml similarity index 100% rename from aws/s3/check-s3-bucket-visibility.yaml rename to aws/sensu-aws/s3/check-s3-bucket-visibility.yaml diff --git a/aws/s3/check-s3-bucket.yaml b/aws/sensu-aws/s3/check-s3-bucket.yaml similarity index 100% rename from aws/s3/check-s3-bucket.yaml rename to aws/sensu-aws/s3/check-s3-bucket.yaml diff --git a/aws/s3/check-s3-object.yaml b/aws/sensu-aws/s3/check-s3-object.yaml similarity index 100% rename from aws/s3/check-s3-object.yaml rename to aws/sensu-aws/s3/check-s3-object.yaml diff --git a/aws/s3/check-s3-tag.yaml b/aws/sensu-aws/s3/check-s3-tag.yaml similarity index 100% rename from aws/s3/check-s3-tag.yaml rename to aws/sensu-aws/s3/check-s3-tag.yaml diff --git a/aws/s3/metrics-s3.yaml b/aws/sensu-aws/s3/metrics-s3.yaml similarity index 100% rename from aws/s3/metrics-s3.yaml rename to aws/sensu-aws/s3/metrics-s3.yaml From d8f2e647275c3ff78647643a72b82fcc2a03940d Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 13:20:39 -0700 Subject: [PATCH 10/19] first batch from aws-plugins-aws Signed-off-by: Todd Campbell --- .../alb/check-alb-target-group-health.yaml | 120 +++++++++++++++++ .../asg/check-asg-instances-created.yaml | 122 +++++++++++++++++ .../asg/check-asg-instances-inservice.yaml | 120 +++++++++++++++++ .../asg/check-autoscaling-cpucredits.yaml | 122 +++++++++++++++++ .../beanstalk/check-beanstalk-elb-metric.yaml | 127 ++++++++++++++++++ .../beanstalk/check-beanstalk-health.yaml | 121 +++++++++++++++++ 6 files changed, 732 insertions(+) create mode 100644 aws/sensu-plugins/alb/check-alb-target-group-health.yaml create mode 100644 aws/sensu-plugins/asg/check-asg-instances-created.yaml create mode 100644 aws/sensu-plugins/asg/check-asg-instances-inservice.yaml create mode 100644 aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml create mode 100644 aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml create mode 100644 aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml diff --git a/aws/sensu-plugins/alb/check-alb-target-group-health.yaml b/aws/sensu-plugins/alb/check-alb-target-group-health.yaml new file mode 100644 index 0000000..89e526a --- /dev/null +++ b/aws/sensu-plugins/alb/check-alb-target-group-health.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check the health of Application Load Balancer (ALB) target groups +# +# Instructions +# 1. Add the "aws" or "aws/alb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-alb-target-group-health +spec: + command: >- + check-alb-target-group-health.rb + --aws-region {{ .annotations.check_alb_target_group_health_aws_region | default "us-east-1" }} + --target-group {{ .annotations.check_alb_target_group_health_target_group | default "target-group-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/alb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/asg/check-asg-instances-created.yaml b/aws/sensu-plugins/asg/check-asg-instances-created.yaml new file mode 100644 index 0000000..cb2c132 --- /dev/null +++ b/aws/sensu-plugins/asg/check-asg-instances-created.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check AutoScalingGroup Instances are terminated and launching last hour +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-asg-instances-created +spec: + command: >- + check-asg-instances-created.rb + --aws-region {{ .annotations.check_asg_instances_created_aws_region | default "us-east-1" }} + --asg_group_name {{ .annotations.check_asg_instances_created_asg_group_name | default "asg-group-1" }} + --warning_limit {{ .annotations.check_asg_instances_created_asg_group_name | default 3 }} + --critical_limit {{ .annotations.check_asg_instances_created_asg_group_name | default 4 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/asg/check-asg-instances-inservice.yaml b/aws/sensu-plugins/asg/check-asg-instances-inservice.yaml new file mode 100644 index 0000000..0d6ae93 --- /dev/null +++ b/aws/sensu-plugins/asg/check-asg-instances-inservice.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check AutoScalingGroup Instances in service +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-asg-instances-inservice +spec: + command: >- + check-asg-instances-inservice.rb + --aws-region {{ .annotations.check_asg_instances_inservice_aws_region | default "us-east-1" }} + --autoscaling-group {{ .annotations.check_asg_instances_inservice_autoscaling_group | default "asg-group-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml b/aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml new file mode 100644 index 0000000..4d471fd --- /dev/null +++ b/aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check AutoScaling CPU Credits through CloudWatch API +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-autoscaling-cpucredits +spec: + command: >- + check-autoscaling-cpucredits.rb + --aws-region {{ .annotations.check_autoscaling_cpucredits_aws_region | default "us-east-1" }} + --autoscaling-group {{ .annotations.check_autoscaling_cpucredits_autoscaling_group | default "asg-group-1" }} + --period {{ .annotations.check_autoscaling_cpucredits_period | default 60 }} + --countmetric {{ .annotations.check_autoscaling_cpucredits_countmetric | default "CPUCreditBalance" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml b/aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml new file mode 100644 index 0000000..45d9e8a --- /dev/null +++ b/aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml @@ -0,0 +1,127 @@ +--- +# Description +# Check the requested CloudWatch metric for the desired Beanstalk ELB +# +# Instructions +# 1. Add the "aws" or "aws/beanstalk" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-beanstalk-elb-metric +spec: + command: >- + check-beanstalk-elb-metric.rb + --environment {{ .annotations.check_beanstalk_elb_metric_environment | default "my-environment" }} + --elb-idx {{ .annotations.check_beanstalk_elb_metric_elb-idx | default 0 }} + --metric {{ .annotations.check_beanstalk_elb_metric_metric | default "Latency" }} + --period {{ .annotations.check_beanstalk_elb_metric_period | default 60 }} + --statistics {{ .annotations.check_beanstalk_elb_metric_statistics | default "Average" }} + --critical {{ .annotations.check_beanstalk_elb_metric_critical | default 100 }} + --warning {{ .annotations.check_beanstalk_elb_metric_warning | default 50 }} + --operator {{ .annotations.check_beanstalk_elb_metric_operator | default "greater" }} + --allow-no-data {{ .annotations.check_beanstalk_elb_metric_allow_no_data | default "false" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/beanstalk + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml b/aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml new file mode 100644 index 0000000..9340e37 --- /dev/null +++ b/aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check the health of a Beanstalk environment +# +# Instructions +# 1. Add the "aws" or "aws/beanstalk" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-beanstalk-health +spec: + command: >- + check-beanstalk-health.rb + --environment {{ .annotations.check_beanstalk_health_environment | default "my-environment" }} + --allow-no-data {{ .annotations.check_beanstalk_health_allow_no_data | default "true" }} + --aws-region {{ .annotations.check_beanstalk_health_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/beanstalk + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From 4a0715cb5bf7267144cce8f58ef49be72956e460 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 14:08:36 -0700 Subject: [PATCH 11/19] fix typo Signed-off-by: Todd Campbell --- aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml index 8c1afb3..51ef634 100644 --- a/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml +++ b/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -31,7 +31,7 @@ spec: --statistic={{ .annotations.check_cloudwatch_composite_metrics_statistic | default "Average" }} --compare={{ .annotations.check_cloudwatch_composite_metrics_compare | default "greater" }} --critical={{ .annotations.check_cloudwatch_composite_metrics_critical | default 0 }} - --warining={{ .annotations.check_cloudwatch_composite_metrics_warining | default 0 }} + --warning={{ .annotations.check_cloudwatch_composite_metrics_warning | default 0 }} runtime_assets: - sensu/sensu-aws:0.0.5 publish: false From 4bd78df810bbf9aecd476abb3222de88e9db813b Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 14:37:23 -0700 Subject: [PATCH 12/19] second batch from aws-plugins-aws Signed-off-by: Todd Campbell --- .../certificate/check-certificate-expiry.yaml | 121 +++++++++++++++++ .../cloudfront/check-cloudfront-tag.yaml | 120 ++++++++++++++++ .../cloudwatch/check-cloudwatch-alarm.yaml | 120 ++++++++++++++++ .../cloudwatch/check-cloudwatch-alarms.yaml | 121 +++++++++++++++++ .../check-cloudwatch-composite-metric.yaml | 128 ++++++++++++++++++ .../cloudwatch/check-cloudwatch-metric.yaml | 126 +++++++++++++++++ 6 files changed, 736 insertions(+) create mode 100644 aws/sensu-plugins/certificate/check-certificate-expiry.yaml create mode 100644 aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml create mode 100644 aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml create mode 100644 aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml create mode 100644 aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml create mode 100644 aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml diff --git a/aws/sensu-plugins/certificate/check-certificate-expiry.yaml b/aws/sensu-plugins/certificate/check-certificate-expiry.yaml new file mode 100644 index 0000000..df3bc18 --- /dev/null +++ b/aws/sensu-plugins/certificate/check-certificate-expiry.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check expiration date on a certificate, if none specified, check all in account +# +# Instructions +# 1. Add the "aws" or "aws/certificate" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-certificate-expiry +spec: + command: >- + check-certificate-expiry.rb + --aws-region {{ .annotations.check_certificate_expiry_aws_region | default "us-east-1" }} + --critical {{ .annotations.check_certificate_expiry_critical | default 0 }} + --warning {{ .annotations.check_certificate_expiry_warning | default 30 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/certificate + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml b/aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml new file mode 100644 index 0000000..5603d11 --- /dev/null +++ b/aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check CloudFront distributions for a set of tags +# +# Instructions +# 1. Add the "aws" or "aws/cloudfront" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-cloudfront-tag +spec: + command: >- + check-cloudfront-tag.rb + --aws-region {{ .annotations.check_cloudfront_tag_aws_region | default "us-east-1" }} + --tag-keys {{ .annotations.check_cloudfront_tag_tag_keys | default "MyTag" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudfront + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml b/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml new file mode 100644 index 0000000..4d3ae2d --- /dev/null +++ b/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check that retrieves the state of a CloudWatch alarm +# +# Instructions +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-cloudwatch-alarm +spec: + command: >- + check-cloudwatch-alarm.rb + --aws-region {{ .annotations.check_cloudwatch_alarm_aws_region | default "us-east-1" }} + --name {{ .annotations.check_cloudwatch_alarm_name | default "MyAlarm" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudwatch + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml b/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml new file mode 100644 index 0000000..06e8f02 --- /dev/null +++ b/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check raises a critical if one of the CloudWatch alarms are in a given state +# +# Instructions +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-cloudwatch-alarms +spec: + command: >- + check-cloudwatch-alarms.rb + --aws-region {{ .annotations.check_cloudwatch_alarms_aws_region | default "us-east-1" }} + --state {{ .annotations.check_cloudwatch_alarms_state | default "ALARM" }} + --exclude-alarms {{ .annotations.check_cloudwatch_alarms_exclude_alarms | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudwatch + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml new file mode 100644 index 0000000..057e070 --- /dev/null +++ b/aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -0,0 +1,128 @@ +--- +# Description +# Check retrieves a couple of values of two CloudWatch metrics, computes a percentage +# based on the numerator and denominator metrics +# +# Instructions +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-cloudwatch-composite-metric +spec: + command: >- + check-cloudwatch-composite-metric.rb + --aws-region {{ .annotations.check_cloudwatch_composite_metric_aws_region | default "us-east-1" }} + --namespace {{ .annotations.check_cloudwatch_composite_metric_namespace | default "AWS/ELB" }} + --period {{ .annotations.check_cloudwatch_composite_metric_period | default 60 }} + --numerator-metric {{ .annotations.check_cloudwatch_composite_metric_numerator_metric | default "HTTPCode_Backend_4XX" }} + --denominator-metric {{ .annotations.check_cloudwatch_composite_metric_denominator_metric | default "RequestCount" }} + --statistics {{ .annotations.check_cloudwatch_composite_metric_statistics | default "Maximum" }} + --operator {{ .annotations.check_cloudwatch_composite_metric_operator | default "equal" }} + --critical {{ .annotations.check_cloudwatch_composite_metric_critical | default 0 }} + --warning {{ .annotations.check_cloudwatch_composite_metric_warning | default 0 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudwatch + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml b/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml new file mode 100644 index 0000000..1582d28 --- /dev/null +++ b/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml @@ -0,0 +1,126 @@ +--- +# Description +# Check retrieves a couple of values of two CloudWatch metrics, computes a percentage +# based on the numerator and denominator metrics +# +# Instructions +# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-cloudwatch-metric +spec: + command: >- + check-cloudwatch-metric.rb + --aws-region {{ .annotations.check_cloudwatch_metric_aws_region | default "us-east-1" }} + --namespace {{ .annotations.check_cloudwatch_metric_namespace | default "AWS/EC2" }} + --period {{ .annotations.check_cloudwatch_metric_period | default 60 }} + --metric {{ .annotations.check_cloudwatch_metric_metric | default "CPUUtilization" }} + --critical {{ .annotations.check_cloudwatch_metric_critical | default 90 }} + --warning {{ .annotations.check_cloudwatch_metric_warning | default 75 }} + --operator {{ .annotations.check_cloudwatch_metric_operator | default "greater" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudwatch + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From 212ab18a1ea50dbece8617cf6815bb633c43cdaa Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 14:39:33 -0700 Subject: [PATCH 13/19] second batch from aws-plugins-aws, one fix Signed-off-by: Todd Campbell --- aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml b/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml index 1582d28..eac7279 100644 --- a/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml +++ b/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml @@ -1,7 +1,7 @@ --- # Description -# Check retrieves a couple of values of two CloudWatch metrics, computes a percentage -# based on the numerator and denominator metrics +# Check retrieves a value of a CloudWatch metric and triggers alarms based +# on supplied thresholds # # Instructions # 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should run this From ffadc30945bd98987f6a1aea7a7a28103b251232 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 7 Apr 2020 15:50:30 -0700 Subject: [PATCH 14/19] third batch from aws-plugins-aws Signed-off-by: Todd Campbell --- .../check-configservice-rules.yaml | 119 +++++++++++++++++ ...eck-direct-connect-virtual-interfaces.yaml | 120 +++++++++++++++++ .../dynamodb/check-dynamodb-capacity.yaml | 122 +++++++++++++++++ .../dynamodb/check-dynamodb-throttle.yaml | 124 ++++++++++++++++++ .../ebs/check-ebs-burst-limit.yaml | 122 +++++++++++++++++ .../ebs/check-ebs-snapshots.yaml | 121 +++++++++++++++++ .../ec2/check-ec2-cpu_balance.yaml | 121 +++++++++++++++++ aws/sensu-plugins/ec2/check-ec2-filter.yaml | 124 ++++++++++++++++++ aws/sensu-plugins/ec2/check-ec2-network.yaml | 124 ++++++++++++++++++ .../ecs/check-ec2-service-health.yaml | 121 +++++++++++++++++ 10 files changed, 1218 insertions(+) create mode 100644 aws/sensu-plugins/configservice/check-configservice-rules.yaml create mode 100644 aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml create mode 100644 aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml create mode 100644 aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml create mode 100644 aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml create mode 100644 aws/sensu-plugins/ebs/check-ebs-snapshots.yaml create mode 100644 aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml create mode 100644 aws/sensu-plugins/ec2/check-ec2-filter.yaml create mode 100644 aws/sensu-plugins/ec2/check-ec2-network.yaml create mode 100644 aws/sensu-plugins/ecs/check-ec2-service-health.yaml diff --git a/aws/sensu-plugins/configservice/check-configservice-rules.yaml b/aws/sensu-plugins/configservice/check-configservice-rules.yaml new file mode 100644 index 0000000..5fa3496 --- /dev/null +++ b/aws/sensu-plugins/configservice/check-configservice-rules.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check uses AWS ConfigService API to check fo rules compliance +# +# Instructions +# 1. Add the "aws" or "aws/configservice" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-configservice-rules +spec: + command: >- + check-cloudwatch-metric.rb + --aws-region {{ .annotations.check_configservice_rules_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/configservice + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml b/aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml new file mode 100644 index 0000000..1e70a0e --- /dev/null +++ b/aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check uses AWS ConfigService API to check fo rules compliance +# +# Instructions +# 1. Add the "aws" or "aws/direct-connect" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-direct-connect-virtual-interfaces +spec: + command: >- + check-direct-connect-virtual-interfaces.rb + --aws-region {{ .annotations.check_direct_connect_virtual_interfaces_aws_region | default "us-east-1" }} + --connection-id {{ .annotations.check_direct_connect_virtual_interfaces_connection_id | default "all" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/direct-connect + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml b/aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml new file mode 100644 index 0000000..89df8f4 --- /dev/null +++ b/aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check DynamoDB statuses by CloudWatch and DynamoDB APIs +# +# Instructions +# 1. Add the "aws" or "aws/dynamodb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-dynamodb-capacity +spec: + command: >- + check-dynamodb-capacity.rb + --aws-region {{ .annotations.check_dynamodb_capacity_aws_region | default "us-east-1" }} + --period {{ .annotations.check_dynamodb_capacity_period | default 60 }} + --critical-over {{ .annotations.check_dynamodb_capacity_critical_over | default 90 }} + --warning-over {{ .annotations.check_dynamodb_capacity_warning_over | default 75 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/dynamodb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml b/aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml new file mode 100644 index 0000000..264ca85 --- /dev/null +++ b/aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Check DynamoDB throttle by CloudWatch and DynamoDB APIs +# +# Instructions +# 1. Add the "aws" or "aws/dynamodb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-dynamodb-throttle +spec: + command: >- + check-dynamodb-throttle.rb + --aws-region {{ .annotations.check_dynamodb_capacity_aws_region | default "us-east-1" }} + --period {{ .annotations.check_dynamodb_capacity_period | default 60 }} + --critical-over {{ .annotations.check_dynamodb_capacity_critical_over | default 50 }} + --warning-over {{ .annotations.check_dynamodb_capacity_warning_over | default 40 }} + --throttle-for {{ .annotations.check_dynamodb_capacity_throttle_for | default "read,write" }} + --statistics {{ .annotations.check_dynamodb_capacity_statistics | default "Average" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/dynamodb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml b/aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml new file mode 100644 index 0000000..7140d8a --- /dev/null +++ b/aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check EC2 volumes for volumes with low burst balance +# +# Instructions +# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ebs-burst-limit +spec: + command: >- + check-ebs-burst-limit.rb + --region {{ .annotations.check_ebs_burst_limit_aws_region | default "us-east-1" }} + --critical {{ .annotations.check_ebs_burst_limit_critical | default 10 }} + --warning {{ .annotations.check_ebs_burst_limit_warning | default 50 }} + --check-self {{ .annotations.check_ebs_burst_limit_check_self | default "false" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ebs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ebs/check-ebs-snapshots.yaml b/aws/sensu-plugins/ebs/check-ebs-snapshots.yaml new file mode 100644 index 0000000..74402ee --- /dev/null +++ b/aws/sensu-plugins/ebs/check-ebs-snapshots.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check EC2 attached volumes for snapshots +# +# Instructions +# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ebs-snapshots +spec: + command: >- + check-ebs-snapshots.rb + --region {{ .annotations.check_ebs_snapshots_aws_region | default "us-east-1" }} + --period {{ .annotations.check_ebs_snapshots_period | default 7 }} + --ignore {{ .annotations.check_ebs_snapshots_check_ignore | default "true" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ebs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml b/aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml new file mode 100644 index 0000000..c43534f --- /dev/null +++ b/aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check the cpu balance for all EC2 instances +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ec2-cpu_balance +spec: + command: >- + check-ec2-cpu_balance.rb + --region {{ .annotations.check_ec2_cpu_balance_aws_region | default "us-east-1" }} + --critical {{ .annotations.check_ec2_cpu_balance_critical | default 20 }} + --warning {{ .annotations.check_ec2_cpu_balance_warning | default 25 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-ec2-filter.yaml b/aws/sensu-plugins/ec2/check-ec2-filter.yaml new file mode 100644 index 0000000..2c3c82b --- /dev/null +++ b/aws/sensu-plugins/ec2/check-ec2-filter.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Check the number of EC2 instances returned matching a given filter +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ec2-filter +spec: + command: >- + check-ec2-filter.rb + --aws-region {{ .annotations.check_ec2_filter_aws_region | default "us-east-1" }} + --name {{ .annotations.check_ec2_filter_name | default "" }} + --filter {{ .annotations.check_ec2_filter_filter | default "{}" }} + --critical {{ .annotations.check_ec2_filter_critical | default 5 }} + --warning {{ .annotations.check_ec2_filter_warning | default 10 }} + --operator {{ .annotations.check_ec2_filter_operator | default "equal" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-ec2-network.yaml b/aws/sensu-plugins/ec2/check-ec2-network.yaml new file mode 100644 index 0000000..693ee88 --- /dev/null +++ b/aws/sensu-plugins/ec2/check-ec2-network.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Check EC2 network metrics +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ec2-network +spec: + command: >- + check-ec2-network.rb + --aws-region {{ .annotations.check_ec2_network_aws_region | default "us-east-1" }} + --instance-id {{ .annotations.check_ec2_network_instance_id | default "i-1234567890abcdef0" }} + --period {{ .annotations.check_ec2_network_period | default 60 }} + --direction {{ .annotations.check_ec2_network_direction | default "NetworkIn" }} + --critical_over {{ .annotations.check_ec2_network_critical_over | default 1500000 }} + --warning_over {{ .annotations.check_ec2_network_warning_over | default 1000000 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ecs/check-ec2-service-health.yaml b/aws/sensu-plugins/ecs/check-ec2-service-health.yaml new file mode 100644 index 0000000..493425a --- /dev/null +++ b/aws/sensu-plugins/ecs/check-ec2-service-health.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check ECS for running and desired task counts for services in a cluster +# +# Instructions +# 1. Add the "aws" or "aws/ecs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ecs-service-health +spec: + command: >- + check-ecs-service-health.rb + --aws-region {{ .annotations.check_ecs_service_health_aws_region | default "us-east-1" }} + --cluster-name {{ .annotations.check_ecs_service_health_cluster_name | default "default" }} + --service {{ .annotations.check_ecs_service_health_service | default "MyService" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ecs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From ba668cb93a8c7343ca49a98f77d93f542de2ed16 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Wed, 8 Apr 2020 08:39:07 -0700 Subject: [PATCH 15/19] fourth batch from aws-plugins-aws Signed-off-by: Todd Campbell --- aws/sensu-plugins/efs/check-efs-metric.yaml | 126 ++++++++++++++++++ .../eip/check-eip-allocation.yaml | 120 +++++++++++++++++ .../check-elasticache-failover.yaml | 123 +++++++++++++++++ aws/sensu-plugins/elb/check-elb-certs.yaml | 121 +++++++++++++++++ .../elb/check-elb-health-fog.yaml | 120 +++++++++++++++++ .../elb/check-elb-health-sdk.yaml | 120 +++++++++++++++++ aws/sensu-plugins/elb/check-elb-health.yaml | 120 +++++++++++++++++ .../elb/check-elb-instance-inservice.yaml | 120 +++++++++++++++++ aws/sensu-plugins/elb/check-elb-latency.yaml | 124 +++++++++++++++++ aws/sensu-plugins/elb/check-elb-nodes.yaml | 122 +++++++++++++++++ .../elb/check-elb-sum-requests.yaml | 123 +++++++++++++++++ 11 files changed, 1339 insertions(+) create mode 100644 aws/sensu-plugins/efs/check-efs-metric.yaml create mode 100644 aws/sensu-plugins/eip/check-eip-allocation.yaml create mode 100644 aws/sensu-plugins/elasticache/check-elasticache-failover.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-certs.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-health-fog.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-health-sdk.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-health.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-instance-inservice.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-latency.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-nodes.yaml create mode 100644 aws/sensu-plugins/elb/check-elb-sum-requests.yaml diff --git a/aws/sensu-plugins/efs/check-efs-metric.yaml b/aws/sensu-plugins/efs/check-efs-metric.yaml new file mode 100644 index 0000000..1545bb9 --- /dev/null +++ b/aws/sensu-plugins/efs/check-efs-metric.yaml @@ -0,0 +1,126 @@ +--- +# Description +# Check the requested CloudWatch metric for the desired Beanstalk ELB +# +# Instructions +# 1. Add the "aws" or "aws/efs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-efs-metric +spec: + command: >- + check-efs-metric.rb + --region {{ .annotations.check_efs_metric_aws_region | default "us-east-1" }} + --name {{ .annotations.check_efs_metric_name | default "MyEFS" }} + --statistics {{ .annotations.check_efs_metric_statistics | default "Average" }} + --period {{ .annotations.check_efs_metric_period | default 60 }} + --metric {{ .annotations.check_efs_metric_metric | default "PercentIOLimit" }} + --critical {{ .annotations.check_efs_metric_critical | default 75 }} + --warning {{ .annotations.check_efs_metric_warning | default 25 }} + --operator {{ .annotations.check_efs_metric_operator | default "greater" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/efs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/eip/check-eip-allocation.yaml b/aws/sensu-plugins/eip/check-eip-allocation.yaml new file mode 100644 index 0000000..7675bdd --- /dev/null +++ b/aws/sensu-plugins/eip/check-eip-allocation.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check for new Elastic IP allocations +# +# Instructions +# 1. Add the "aws" or "aws/eip" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-eip-allocation +spec: + command: >- + check-eip-allocation.rb + --region {{ .annotations.check_eip_allocation_aws_region | default "us-east-1" }} + --eips_allowed {{ .annotations.check_eip_allocation_eips_allowed | default "1.1.1.1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/eip + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elasticache/check-elasticache-failover.yaml b/aws/sensu-plugins/elasticache/check-elasticache-failover.yaml new file mode 100644 index 0000000..9ca3617 --- /dev/null +++ b/aws/sensu-plugins/elasticache/check-elasticache-failover.yaml @@ -0,0 +1,123 @@ +--- +# Description +# Check if specified ElastiCache node is in 'primary' state +# +# Instructions +# 1. Add the "aws" or "aws/elasticache" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elasticache-failover +spec: + command: >- + check-elasticache-failover.rb + --region {{ .annotations.check_elasticache_failover_aws_region | default "us-east-1" }} + --replication-group {{ .annotations.check_elasticache_failover_replication_group | default "my-group-1" }} + --node-group {{ .annotations.check_elasticache_failover_node_group | default "0001" }} + --primary-node {{ .annotations.check_elasticache_failover_primary_node | default "mynode-001" }} + --severity {{ .annotations.check_elasticache_failover_severity | default "critical" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elasticache + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-certs.yaml b/aws/sensu-plugins/elb/check-elb-certs.yaml new file mode 100644 index 0000000..2d66f06 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-certs.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check ELB https endpoints for expiring certificates +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-certs +spec: + command: >- + check-elb-certs.rb + --aws-region {{ .annotations.check_elb_certs_aws_region | default "us-east-1" }} + --warn {{ .annotations.check_elb_certs_warn | default 30 }} + --crit {{ .annotations.check_elb_certs_crit | default 5 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-health-fog.yaml b/aws/sensu-plugins/elb/check-elb-health-fog.yaml new file mode 100644 index 0000000..93c9ed3 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-health-fog.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check the health of an ELB using the fog gem +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-health-fog +spec: + command: >- + check-elb-health-fog.rb + --aws-region {{ .annotations.check_elb_health_fog_aws_region | default "us-east-1" }} + --elb-name {{ .annotations.check_elb_health_fog_elb_name | default "my-elb-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-health-sdk.yaml b/aws/sensu-plugins/elb/check-elb-health-sdk.yaml new file mode 100644 index 0000000..a00d1d1 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-health-sdk.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check the health of an ELB or all ELBs using the AWS SDK +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-health-sdk +spec: + command: >- + check-elb-health-sdk.rb + --aws-region {{ .annotations.check_elb_health_sdk_aws_region | default "us-east-1" }} + --elb-name {{ .annotations.check_elb_health_sdk_elb_name | default "my-elb-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-health.yaml b/aws/sensu-plugins/elb/check-elb-health.yaml new file mode 100644 index 0000000..ee037db --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-health.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check the health of an ELB +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-health +spec: + command: >- + check-elb-health.rb + --aws-region {{ .annotations.check_elb_health_aws_region | default "us-east-1" }} + --elb-name {{ .annotations.check_elb_health_elb_name | default "my-elb-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-instance-inservice.yaml b/aws/sensu-plugins/elb/check-elb-instance-inservice.yaml new file mode 100644 index 0000000..4e93d57 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-instance-inservice.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check if ELB instances are inService +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-instance-inservice +spec: + command: >- + check-elb-instance-inservice.rb + --aws-region {{ .annotations.check_elb_instance_inservice_aws_region | default "us-east-1" }} + --load_balancer {{ .annotations.check_elb_instance_inservice_load_balancer | default "my-elb-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-latency.yaml b/aws/sensu-plugins/elb/check-elb-latency.yaml new file mode 100644 index 0000000..1371d40 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-latency.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Check the latency of an ELB +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-latency +spec: + command: >- + check-elb-latency.rb + --aws-region {{ .annotations.check_elb_latency_aws_region | default "us-east-1" }} + --elb-names {{ .annotations.check_elb_latency_elb_names | default "my-elb-1" }} + --period {{ .annotations.check_elb_latency_period | default 60 }} + --statistics {{ .annotations.check_elb_latency_statistics | default "average" }} + --critical_over {{ .annotations.check_elb_latency_critical_over | default 60 }} + --warning_over {{ .annotations.check_elb_latency_warning_over | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-nodes.yaml b/aws/sensu-plugins/elb/check-elb-nodes.yaml new file mode 100644 index 0000000..112c00c --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-nodes.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check an ELB for a minimum number or percentage of nodes inService +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-nodes +spec: + command: >- + check-elb-nodes.rb + --aws-region {{ .annotations.check_elb_nodes_aws_region | default "us-east-1" }} + --name {{ .annotations.check_elb_nodes_name | default "my-elb-1" }} + --crit {{ .annotations.check_elb_nodes_crit | default 2 }} + --warn {{ .annotations.check_elb_nodes_warn | default 3 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/check-elb-sum-requests.yaml b/aws/sensu-plugins/elb/check-elb-sum-requests.yaml new file mode 100644 index 0000000..b84de99 --- /dev/null +++ b/aws/sensu-plugins/elb/check-elb-sum-requests.yaml @@ -0,0 +1,123 @@ +--- +# Description +# Check ELB sum requests +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-elb-sum-requests +spec: + command: >- + check-elb-sum-requests.rb + --aws-region {{ .annotations.check_elb_sum_requests_aws_region | default "us-east-1" }} + --elb-names {{ .annotations.check_elb_sum_requests_elb_names | default "my-elb-1" }} + --period {{ .annotations.check_elb_sum_requests_crit | default 60 }} + --warning-over {{ .annotations.check_elb_sum_requests_warning_over | default 1000 }} + --critical-over {{ .annotations.check_elb_sum_requests_critical_over | default 2000 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From 64a76bf6227e9d054672b9862783a0eaec30856d Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Wed, 8 Apr 2020 10:21:52 -0700 Subject: [PATCH 16/19] fifth batch from aws-plugins-aws Signed-off-by: Todd Campbell --- .../asg/check-instances-count.yaml | 122 +++++++++++++++++ .../ec2/check-instance-events.yaml | 119 +++++++++++++++++ .../ec2/check-instance-health.yaml | 120 +++++++++++++++++ .../ec2/check-instance-reachability.yaml | 122 +++++++++++++++++ .../ec2/check-reserved-instances.yaml | 121 +++++++++++++++++ aws/sensu-plugins/emr/check-emr-cluster.yaml | 120 +++++++++++++++++ aws/sensu-plugins/emr/check-emr-steps.yaml | 122 +++++++++++++++++ aws/sensu-plugins/eni/check-eni-status.yaml | 121 +++++++++++++++++ aws/sensu-plugins/kms/check-kms-key.yaml | 120 +++++++++++++++++ aws/sensu-plugins/rds/check-rds-events.yaml | 119 +++++++++++++++++ aws/sensu-plugins/rds/check-rds-pending.yaml | 119 +++++++++++++++++ aws/sensu-plugins/rds/check-rds.yaml | 126 ++++++++++++++++++ .../redshift/check-redshift-events.yaml | 119 +++++++++++++++++ .../check-route53-domain-expiration.yaml | 121 +++++++++++++++++ aws/sensu-plugins/vpc/check-route.yaml | 125 +++++++++++++++++ 15 files changed, 1816 insertions(+) create mode 100644 aws/sensu-plugins/asg/check-instances-count.yaml create mode 100644 aws/sensu-plugins/ec2/check-instance-events.yaml create mode 100644 aws/sensu-plugins/ec2/check-instance-health.yaml create mode 100644 aws/sensu-plugins/ec2/check-instance-reachability.yaml create mode 100644 aws/sensu-plugins/ec2/check-reserved-instances.yaml create mode 100644 aws/sensu-plugins/emr/check-emr-cluster.yaml create mode 100644 aws/sensu-plugins/emr/check-emr-steps.yaml create mode 100644 aws/sensu-plugins/eni/check-eni-status.yaml create mode 100644 aws/sensu-plugins/kms/check-kms-key.yaml create mode 100644 aws/sensu-plugins/rds/check-rds-events.yaml create mode 100644 aws/sensu-plugins/rds/check-rds-pending.yaml create mode 100644 aws/sensu-plugins/rds/check-rds.yaml create mode 100644 aws/sensu-plugins/redshift/check-redshift-events.yaml create mode 100644 aws/sensu-plugins/route53/check-route53-domain-expiration.yaml create mode 100644 aws/sensu-plugins/vpc/check-route.yaml diff --git a/aws/sensu-plugins/asg/check-instances-count.yaml b/aws/sensu-plugins/asg/check-instances-count.yaml new file mode 100644 index 0000000..fdc9ad8 --- /dev/null +++ b/aws/sensu-plugins/asg/check-instances-count.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check instances count for a specified ASG +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-instance-reachability +spec: + command: >- + check-instance-reachability.rb + --aws-region {{ .annotations.check_instances_count_aws_region | default "us-east-1" }} + --groupname {{ .annotations.check_instances_count_groupname | default "my-asg-1" }} + --warn {{ .annotations.check_instances_count_warn | default 15 }} + --crit {{ .annotations.check_instances_count_crit | default 25 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-instance-events.yaml b/aws/sensu-plugins/ec2/check-instance-events.yaml new file mode 100644 index 0000000..a665e36 --- /dev/null +++ b/aws/sensu-plugins/ec2/check-instance-events.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check if any EC2 instances have a scheduled event +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-instance-events +spec: + command: >- + check-instance-events.rb + --aws-region {{ .annotations.check_instance_events_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-instance-health.yaml b/aws/sensu-plugins/ec2/check-instance-health.yaml new file mode 100644 index 0000000..add2bea --- /dev/null +++ b/aws/sensu-plugins/ec2/check-instance-health.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check all instances in an account and check event data, system status +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-instance-health +spec: + command: >- + check-instance-health.rb + --aws-region {{ .annotations.check_instance_health_aws_region | default "us-east-1" }} + --filter {{ .annotations.check_instance_health_filter | default "{}" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-instance-reachability.yaml b/aws/sensu-plugins/ec2/check-instance-reachability.yaml new file mode 100644 index 0000000..23b2935 --- /dev/null +++ b/aws/sensu-plugins/ec2/check-instance-reachability.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check all instances in an account and check event data, system status +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-instance-reachability +spec: + command: >- + check-instance-reachability.rb + --aws-region {{ .annotations.check_instance_rechability_aws_region | default "us-east-1" }} + --filter {{ .annotations.check_instance_reachability_filter | default "{}" }} + --timeout {{ .annotations.check_instance_reachability_timeout | default 5 }} + --count {{ .annotations.check_instance_reachability_count | default 1 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/check-reserved-instances.yaml b/aws/sensu-plugins/ec2/check-reserved-instances.yaml new file mode 100644 index 0000000..3a55e10 --- /dev/null +++ b/aws/sensu-plugins/ec2/check-reserved-instances.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check if reserved EC2 instances expire soon +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-reserved-instances +spec: + command: >- + check-reserved-instances.rb + --aws-region {{ .annotations.check_reserved_instances_aws_region | default "us-east-1" }} + --warning {{ .annotations.check_reserved_instances_timeout | default 432000 }} + --critical {{ .annotations.check_reserved_instances_count | default 5184000 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/emr/check-emr-cluster.yaml b/aws/sensu-plugins/emr/check-emr-cluster.yaml new file mode 100644 index 0000000..86404b9 --- /dev/null +++ b/aws/sensu-plugins/emr/check-emr-cluster.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check if an EMR cluster exists +# +# Instructions +# 1. Add the "aws" or "aws/emr" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-emr-cluster +spec: + command: >- + check-emr-cluster.rb + --aws-region {{ .annotations.check_emr_cluster_aws_region | default "us-east-1" }} + --cluster-name {{ .annotations.check_emr_cluster_name | default "my-cluster-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/emr + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/emr/check-emr-steps.yaml b/aws/sensu-plugins/emr/check-emr-steps.yaml new file mode 100644 index 0000000..3b52047 --- /dev/null +++ b/aws/sensu-plugins/emr/check-emr-steps.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check for any failed steps in an EMR cluster in the past 10 minutes +# +# Instructions +# 1. Add the "aws" or "aws/emr" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-emr-steps +spec: + command: >- + check-emr-steps.rb + --aws-region {{ .annotations.check_emr_steps_aws_region | default "us-east-1" }} + --cluster-name {{ .annotations.check_emr_steps_name | default "my-cluster-1" }} + --step-status {{ .annotations.check_emr_steps_step_status | default "FAILED" }} + --count {{ .annotations.check_emr_steps_count | default 0 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/emr + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/eni/check-eni-status.yaml b/aws/sensu-plugins/eni/check-eni-status.yaml new file mode 100644 index 0000000..0da8141 --- /dev/null +++ b/aws/sensu-plugins/eni/check-eni-status.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check the status of an Elastic Network Interface +# +# Instructions +# 1. Add the "aws" or "aws/eni" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-eni-status +spec: + command: >- + check-eni-status.rb + --aws-region {{ .annotations.check_eni_status_aws_region | default "us-east-1" }} + --eni {{ .annotations.check_eni_status_eni | default "eni-1234567890abcdef0" }} + --crit {{ .annotations.check_eni_status_crit | default "available" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/eni + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/kms/check-kms-key.yaml b/aws/sensu-plugins/kms/check-kms-key.yaml new file mode 100644 index 0000000..a3c16e5 --- /dev/null +++ b/aws/sensu-plugins/kms/check-kms-key.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check KMS key values +# +# Instructions +# 1. Add the "aws" or "aws/kms" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-kms-key +spec: + command: >- + check-kms-key.rb + --aws-region {{ .annotations.check_kms_key_aws_region | default "us-east-1" }} + --key-id {{ .annotations.check_kms_key_key_id | default "my-key-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/kms + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/rds/check-rds-events.yaml b/aws/sensu-plugins/rds/check-rds-events.yaml new file mode 100644 index 0000000..cf6a12f --- /dev/null +++ b/aws/sensu-plugins/rds/check-rds-events.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check RDS clusters for critical events +# +# Instructions +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-rds-events +spec: + command: >- + check-rds-events + --aws-region {{ .annotations.check_rds_events_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/rds + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/rds/check-rds-pending.yaml b/aws/sensu-plugins/rds/check-rds-pending.yaml new file mode 100644 index 0000000..9670bc1 --- /dev/null +++ b/aws/sensu-plugins/rds/check-rds-pending.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check RDS clusters for pending maintenance action +# +# Instructions +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-rds-pending +spec: + command: >- + check-rds-pending.rb + --aws-region {{ .annotations.check_rds_pending_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/rds + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/rds/check-rds.yaml b/aws/sensu-plugins/rds/check-rds.yaml new file mode 100644 index 0000000..94388c2 --- /dev/null +++ b/aws/sensu-plugins/rds/check-rds.yaml @@ -0,0 +1,126 @@ +--- +# Description +# Check RDS instance statuses +# +# Instructions +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-rds +spec: + command: >- + check-rds.rb + --aws-region {{ .annotations.check_rds_pending_aws_region | default "us-east-1" }} + --db-instance-id {{ .annotations.check_rds_db_instance_id | default "" }} + --db-cluster-id={{ .annotations.check_rds_db_cluster_id | default "" }} + --period={{ .annotations.check_rds_period | default 180 }} + --statistics={{ .annotations.check_rds_statistics | default "average" }} + --accept_nil={{ .annotations.check_rds_accept_nil | default "false" }} + --cpu-critical-over={{ .annotations.check_rds_cpu_critical_over | default 80 }} + --cpu-warning-over={{ .annotations.check_rds_cpu_warning_over | default 40 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/rds + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/redshift/check-redshift-events.yaml b/aws/sensu-plugins/redshift/check-redshift-events.yaml new file mode 100644 index 0000000..e8132c9 --- /dev/null +++ b/aws/sensu-plugins/redshift/check-redshift-events.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check RDS clusters for critical events +# +# Instructions +# 1. Add the "aws" or "aws/redshift" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-redshift-events +spec: + command: >- + check-redshift-events + --aws-region {{ .annotations.check_redshift_events_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/redshift + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/route53/check-route53-domain-expiration.yaml b/aws/sensu-plugins/route53/check-route53-domain-expiration.yaml new file mode 100644 index 0000000..123b35d --- /dev/null +++ b/aws/sensu-plugins/route53/check-route53-domain-expiration.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check when Route 53 registered domains are close to expiration +# +# Instructions +# 1. Add the "aws" or "aws/route53" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-route53-domain-expiration +spec: + command: >- + check-route53-domain-expiration.rb + --aws-region {{ .annotations.check_route53_domain_expiration_aws_region | default "us-east-1" }} + --critical {{ .annotations.check_route53_domain_expiration_critical | default 7 }} + --warning {{ .annotations.check_route53_domain_expiration_warning | default 30 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/route53 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/vpc/check-route.yaml b/aws/sensu-plugins/vpc/check-route.yaml new file mode 100644 index 0000000..c903e54 --- /dev/null +++ b/aws/sensu-plugins/vpc/check-route.yaml @@ -0,0 +1,125 @@ +--- +# Description +# Check a route to an instance / eni on a route table +# +# Instructions +# 1. Add the "aws" or "aws/vpc" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-route +spec: + command: >- + check-route.rb + --aws-region {{ .annotations.check_route_aws_region | default "us-east-1" }} + --filter {{ .annotations.check_route_filter | default "{}" }} + --network-interface-id {{ .annotations.check_route_network_interface_id | default "eni-1234567890abcdef0" }} + --instance-id {{ .annotations.check_route_instance_id | default "i-1234567890abcdef0" }} + --gateway-id {{ .annotations.check_route_instance_id | default "igw-1234567890abcdef0" }} + --destination-cidr {{ .annotations.check_route_destination_cidr | default "172.16.0.0/24" }} + --state {{ .annotations.check_route_destination_state | default "active" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/vpc + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From 5ff3940e57d93b41a1d75aa2aaa748ff48f70531 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Wed, 8 Apr 2020 11:07:04 -0700 Subject: [PATCH 17/19] sixth batch from aws-plugins-aws Signed-off-by: Todd Campbell --- .../s3/check-s3-bucket-visibility.yaml | 122 +++++++++++++++++ aws/sensu-plugins/s3/check-s3-bucket.yaml | 120 ++++++++++++++++ aws/sensu-plugins/s3/check-s3-object.yaml | 124 +++++++++++++++++ aws/sensu-plugins/s3/check-s3-tag.yaml | 120 ++++++++++++++++ aws/sensu-plugins/ses/check-ses-limit.yaml | 122 +++++++++++++++++ .../ses/check-ses-statistics.yaml | 129 ++++++++++++++++++ .../sns/check-sns-subscriptions.yaml | 119 ++++++++++++++++ aws/sensu-plugins/sqs/check-sqs-messages.yaml | 123 +++++++++++++++++ .../check-trustedadvisor-service-limits.yaml | 119 ++++++++++++++++ .../vpc/check-subnet-ip-consumption.yaml | 121 ++++++++++++++++ .../vpc/check-vpc-nameservers.yaml | 121 ++++++++++++++++ aws/sensu-plugins/vpc/check-vpc-vpn.yaml | 122 +++++++++++++++++ 12 files changed, 1462 insertions(+) create mode 100644 aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml create mode 100644 aws/sensu-plugins/s3/check-s3-bucket.yaml create mode 100644 aws/sensu-plugins/s3/check-s3-object.yaml create mode 100644 aws/sensu-plugins/s3/check-s3-tag.yaml create mode 100644 aws/sensu-plugins/ses/check-ses-limit.yaml create mode 100644 aws/sensu-plugins/ses/check-ses-statistics.yaml create mode 100644 aws/sensu-plugins/sns/check-sns-subscriptions.yaml create mode 100644 aws/sensu-plugins/sqs/check-sqs-messages.yaml create mode 100644 aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml create mode 100644 aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml create mode 100644 aws/sensu-plugins/vpc/check-vpc-nameservers.yaml create mode 100644 aws/sensu-plugins/vpc/check-vpc-vpn.yaml diff --git a/aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml b/aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml new file mode 100644 index 0000000..89bc327 --- /dev/null +++ b/aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check an S3 bucket for website configuration and bucket policy +# +# Instructions +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-s3-bucket-visibility +spec: + command: >- + check-s3-bucket-visibility.rb + --aws-region {{ .annotations.check_s3_bucket_visibility_aws_region | default "us-east-1" }} + --bucket-names {{ .annotations.check_s3_bucket_visibility_bucket_names | default "my-bucket-1" }} + --all-buckets {{ .annotations.check_s3_bucket_visibility_filter | default "false" }} + --excluded-buckets {{ .annotations.check_s3_bucket_visibility_excluded_buckets | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/s3 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/s3/check-s3-bucket.yaml b/aws/sensu-plugins/s3/check-s3-bucket.yaml new file mode 100644 index 0000000..41fd764 --- /dev/null +++ b/aws/sensu-plugins/s3/check-s3-bucket.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check on existence of an S3 bucket +# +# Instructions +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-s3-bucket +spec: + command: >- + check-s3-bucket.rb + --aws-region {{ .annotations.check_s3_bucket_aws_region | default "us-east-1" }} + --bucket-name {{ .annotations.check_s3_bucket_bucket_name | default "my-bucket-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/s3 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/s3/check-s3-object.yaml b/aws/sensu-plugins/s3/check-s3-object.yaml new file mode 100644 index 0000000..e6e98f2 --- /dev/null +++ b/aws/sensu-plugins/s3/check-s3-object.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Check if a file exists in a bucket and/or is not too old +# +# Instructions +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-s3-object +spec: + command: >- + check-s3-object.rb + --aws-region {{ .annotations.check_s3_bucket_visibility_aws_region | default "us-east-1" }} + --bucket-name {{ .annotations.check_s3_bucket_visibility_bucket_name | default "my-bucket-1" }} + --key-name {{ .annotations.check_s3_object_key_name | default "" }} + --key-prefix {{ .annotations.check_s3_object_key_prefix | default "" }} + --warning {{ .annotations.check_s3_object_warning_age | default 90000 }} + --critical {{ .annotations.check_s3_object_critical_age | default 126000 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/s3 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/s3/check-s3-tag.yaml b/aws/sensu-plugins/s3/check-s3-tag.yaml new file mode 100644 index 0000000..3988106 --- /dev/null +++ b/aws/sensu-plugins/s3/check-s3-tag.yaml @@ -0,0 +1,120 @@ +--- +# Description +# Check if buckets have a set of tags +# +# Instructions +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-s3-tag +spec: + command: >- + check-s3-tag.rb + --aws-region {{ .annotations.check_s3_tag_aws_region | default "us-east-1" }} + --tag-keys {{ .annotations.check_s3_tag_tag_keys | default "MyTag" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/s3 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ses/check-ses-limit.yaml b/aws/sensu-plugins/ses/check-ses-limit.yaml new file mode 100644 index 0000000..0dbf0f1 --- /dev/null +++ b/aws/sensu-plugins/ses/check-ses-limit.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check SES sending limit and issue alert based on percentages for daily +# sending limit +# +# Instructions +# 1. Add the "aws" or "aws/ses" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ses-limit +spec: + command: >- + check-ses-limit.rb + --region {{ .annotations.check_ses_limit_aws_region | default "us-east-1" }} + --crit_perc {{ .annotations.check_ses_limit_crit_perc | default 90 }} + --warn_perc {{ .annotations.check_ses_limit_warn_perc | default 75 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ses + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ses/check-ses-statistics.yaml b/aws/sensu-plugins/ses/check-ses-statistics.yaml new file mode 100644 index 0000000..6fbfac1 --- /dev/null +++ b/aws/sensu-plugins/ses/check-ses-statistics.yaml @@ -0,0 +1,129 @@ +--- +# Description +# Check SES statistics threshold values +# +# Instructions +# 1. Add the "aws" or "aws/ses" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-ses-statistics +spec: + command: >- + check-ses-statistics.rb + --region {{ .annotations.check_ses_statistics_aws_region | default "us-east-1" }} + --low_delivery_warn {{ .annotations.check_ses_statistics_low_delivery_warn | default 0 }} + --low_delivery_crit {{ .annotations.check_ses_statistics_low_delivery_crit | default 0 }} + --delivery_warn {{ .annotations.check_ses_statistics_delivery_warn | default 0 }} + --delivery_crit {{ .annotations.check_ses_statistics_delivery_crit | default 0 }} + --complaint_warn {{ .annotations.check_ses_statistics_complaint_warn | default 0 }} + --complaint_crit {{ .annotations.check_ses_statistics_complaint_crit | default 0 }} + --reject_warn {{ .annotations.check_ses_statistics_reject_warn | default 0 }} + --reject_crit {{ .annotations.check_ses_statistics_reject_crit | default 0 }} + --bounce_warn {{ .annotations.check_ses_statistics_bounce_warn | default 0 }} + --bounce_crit {{ .annotations.check_ses_statistics_bounce_crit | default 0 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ses + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/sns/check-sns-subscriptions.yaml b/aws/sensu-plugins/sns/check-sns-subscriptions.yaml new file mode 100644 index 0000000..7a1f9fb --- /dev/null +++ b/aws/sensu-plugins/sns/check-sns-subscriptions.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check SNS topic's subscriptions are not in 'PendingConfirmation' state +# +# Instructions +# 1. Add the "aws" or "aws/sns" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-sns-subscriptions +spec: + command: >- + check-sns-subscriptions.rb + --region {{ .annotations.check_sns_subscriptions_aws_region | default "us-east-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/sns + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/sqs/check-sqs-messages.yaml b/aws/sensu-plugins/sqs/check-sqs-messages.yaml new file mode 100644 index 0000000..07e8e80 --- /dev/null +++ b/aws/sensu-plugins/sqs/check-sqs-messages.yaml @@ -0,0 +1,123 @@ +--- +# Description +# Check the number of messages in an SQS queue +# +# Instructions +# 1. Add the "aws" or "aws/sqs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-sqs-messages +spec: + command: >- + check-sqs-messages.rb + --region {{ .annotations.check_sqs_messages_aws_region | default "us-east-1" }} + --queue {{ .annotations.check_sqs_messages_queue | default "my-queue-1" }} + --metric {{ .annotations.check_sqs_messages_metric | default "ApproximateNumberOfMessages" }} + --warnnum {{ .annotations.check_sqs_messages_warnnum | default 50 }} + --critnum {{ .annotations.check_sqs_messages_critnum | default 100 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/sqs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml b/aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml new file mode 100644 index 0000000..44af306 --- /dev/null +++ b/aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml @@ -0,0 +1,119 @@ +--- +# Description +# Check if any service limits are not 'Green' in Trusted Advisor +# +# Instructions +# 1. Add the "aws" or "aws/trustedadvisor" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-trustedadvisor-service-limits +spec: + command: >- + check-trustedadvisor-service-limits.rb + --aws-language {{ .annotations.check_trustedadvisor_service_limits_aws_language | default "en" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/trustedadvisor + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml b/aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml new file mode 100644 index 0000000..7a73fec --- /dev/null +++ b/aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check if any subnet in a given region exceeds a threshold for IP +# address consumption +# +# Instructions +# 1. Add the "aws" or "aws/vpc" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-subnet-ip-consumption +spec: + command: >- + check-subnet-ip-consumption.rb + --aws-region {{ .annotations.check_subnet_ip_consumption_aws_region | default "us-east-1" }} + --threshold {{ .annotations.check_subnet_ip_consumption_threshold | default 85 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/vpc + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/vpc/check-vpc-nameservers.yaml b/aws/sensu-plugins/vpc/check-vpc-nameservers.yaml new file mode 100644 index 0000000..298644c --- /dev/null +++ b/aws/sensu-plugins/vpc/check-vpc-nameservers.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Check that the VPCs nameserervers are functional +# +# Instructions +# 1. Add the "aws" or "aws/vpc" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-vpc-nameservers +spec: + command: >- + check-vpc-nameservers.rb + --region {{ .annotations.check_vpc_nameservers_aws_region | default "us-east-1" }} + --vpc_id {{ .annotations.check_vpc_nameservers_vpc_id | default "vpc-1234567890abcdef0" }} + --queries {{ .annotations.check_vpc_nameservers_queries | default "google.com" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/vpc + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/vpc/check-vpc-vpn.yaml b/aws/sensu-plugins/vpc/check-vpc-vpn.yaml new file mode 100644 index 0000000..b3617bf --- /dev/null +++ b/aws/sensu-plugins/vpc/check-vpc-vpn.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Check that the VPC VPN connections are up +# +# Instructions +# 1. Add the "aws" or "aws/vpc" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/check-vpc-vpc +spec: + command: >- + check-vpc-vpc.rb + --region {{ .annotations.check_vpc_vpn_aws_region | default "us-east-1" }} + --vpn-connection-id {{ .annotations.check_vpc_vpn_connection_id | default "vpn-1234567890abcdef0" }} + --warn_count {{ .annotations.check_vpc_vpn_warn_count | default 1 }} + --crit_count {{ .annotations.check_vpc_vpn_crit_count | default 2 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/vpc + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + handlers: + - alert +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From b2b443729677fae42e06663890b347158c2eafbb Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Wed, 8 Apr 2020 12:29:14 -0700 Subject: [PATCH 18/19] seventh batch from aws-plugins-aws Signed-off-by: Todd Campbell --- aws/sensu-plugins/asg/metrics-asg.yaml | 125 ++++++++++++++++++ .../metrics-autoscaling-instance-count.yaml | 121 +++++++++++++++++ .../billing/metrics-billing.yaml | 122 +++++++++++++++++ .../cloudfront/metrics-cloudfront.yaml | 123 +++++++++++++++++ aws/sensu-plugins/ec2/metrics-ec2-count.yaml | 122 +++++++++++++++++ aws/sensu-plugins/ec2/metrics-ec2-filter.yaml | 122 +++++++++++++++++ .../elasticache/metrics-elasticache.yaml | 122 +++++++++++++++++ aws/sensu-plugins/elb/metrics-elb.yaml | 124 +++++++++++++++++ aws/sensu-plugins/emr/metrics-emr-steps.yaml | 122 +++++++++++++++++ aws/sensu-plugins/rds/metrics-rds.yaml | 124 +++++++++++++++++ aws/sensu-plugins/s3/metrics-s3.yaml | 121 +++++++++++++++++ aws/sensu-plugins/ses/metrics-ses.yaml | 121 +++++++++++++++++ aws/sensu-plugins/sqs/metrics-sqs.yaml | 122 +++++++++++++++++ aws/sensu-plugins/waf/metrics-waf.yaml | 123 +++++++++++++++++ 14 files changed, 1714 insertions(+) create mode 100644 aws/sensu-plugins/asg/metrics-asg.yaml create mode 100644 aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml create mode 100644 aws/sensu-plugins/billing/metrics-billing.yaml create mode 100644 aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml create mode 100644 aws/sensu-plugins/ec2/metrics-ec2-count.yaml create mode 100644 aws/sensu-plugins/ec2/metrics-ec2-filter.yaml create mode 100644 aws/sensu-plugins/elasticache/metrics-elasticache.yaml create mode 100644 aws/sensu-plugins/elb/metrics-elb.yaml create mode 100644 aws/sensu-plugins/emr/metrics-emr-steps.yaml create mode 100644 aws/sensu-plugins/rds/metrics-rds.yaml create mode 100644 aws/sensu-plugins/s3/metrics-s3.yaml create mode 100644 aws/sensu-plugins/ses/metrics-ses.yaml create mode 100644 aws/sensu-plugins/sqs/metrics-sqs.yaml create mode 100644 aws/sensu-plugins/waf/metrics-waf.yaml diff --git a/aws/sensu-plugins/asg/metrics-asg.yaml b/aws/sensu-plugins/asg/metrics-asg.yaml new file mode 100644 index 0000000..0548bda --- /dev/null +++ b/aws/sensu-plugins/asg/metrics-asg.yaml @@ -0,0 +1,125 @@ +--- +# Description +# Provide metrics from ASG, defaulting to GroupInServiceInstances +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-asg +spec: + command: >- + metrics-asg.rb + --aws-region {{ .annotations.metrics_asg_aws_region | default "us-east-1" }} + --name {{ .annotations.metrics_asg_name | default "asg-group-1" }} + --metric {{ .annotations.metrics_asg_metric | default "GroupInServiceInstances" }} + --statistic {{ .annotations.metrics_asg_statistic | default "Sum" }} + --period {{ .annotations.metrics_asg_period | default 60 }} + --fetch_age {{ .annotations.metrics_asg_fetch_age | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml b/aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml new file mode 100644 index 0000000..43ebba2 --- /dev/null +++ b/aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Provide metrics from ASG, defaulting to GroupInServiceInstances +# +# Instructions +# 1. Add the "aws" or "aws/asg" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-autoscaling-instance-count +spec: + command: >- + metrics-autoscaling-instance-count.rb + --aws-region {{ .annotations.metrics_autoscaling_instance_count_aws_region | default "us-east-1" }} + --autoscaling-group {{ .annotations.metrics_autoscaling_instance_count_autoscaling_group | default "asg-group-1" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/asg + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/billing/metrics-billing.yaml b/aws/sensu-plugins/billing/metrics-billing.yaml new file mode 100644 index 0000000..9cb1dec --- /dev/null +++ b/aws/sensu-plugins/billing/metrics-billing.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide Billing metrics +# +# Instructions +# 1. Add the "aws" or "aws/billing" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-billing +spec: + command: >- + metrics-billing.rb + --aws-region {{ .annotations.metrics_billing_aws_region | default "us-east-1" }} + --services-name {{ .annotations.metrics_billing_services_name | default "AmazonEC2,AWSDataTransfer" }} + --scheme {{ .annotations.metrics_billing_scheme | default "sensu.aws.billing" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/billing + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml b/aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml new file mode 100644 index 0000000..604d856 --- /dev/null +++ b/aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml @@ -0,0 +1,123 @@ +--- +# Description +# Provide metrics from CloudFront +# +# Instructions +# 1. Add the "aws" or "aws/cloudfront" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-cloudfront +spec: + command: >- + metrics-cloudfront.rb + --aws-region {{ .annotations.metrics_cloudfront_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_cloudfront_scheme | default "aws.cloudfront" }} + --metrics {{ .annotations.metrics_cloudfront_metrics | default "4xxErrorRate,5xxErrorRate,Requests" }} + --period {{ .annotations.metrics_cloudfront_period | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/cloudfront + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/metrics-ec2-count.yaml b/aws/sensu-plugins/ec2/metrics-ec2-count.yaml new file mode 100644 index 0000000..be3d8d8 --- /dev/null +++ b/aws/sensu-plugins/ec2/metrics-ec2-count.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide metrics for number of EC2 instances +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-ec2-count +spec: + command: >- + metrics-ec2-count.rb + --aws-region {{ .annotations.metrics_ec2_count_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} + --type {{ .annotations.metrics_ec2_count_type | default "instance" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ec2/metrics-ec2-filter.yaml b/aws/sensu-plugins/ec2/metrics-ec2-filter.yaml new file mode 100644 index 0000000..0a0ab20 --- /dev/null +++ b/aws/sensu-plugins/ec2/metrics-ec2-filter.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide metrics for number of EC2 instances matching a filter +# +# Instructions +# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-ec2-filter +spec: + command: >- + metrics-ec2-filter.rb + --aws-region {{ .annotations.metrics_ec2_filter_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_ec2_filter_scheme | default "sensu.aws.ec2" }} + --filter {{ .annotations.metrics_ec2_filter_type | default "{}" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ec2 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elasticache/metrics-elasticache.yaml b/aws/sensu-plugins/elasticache/metrics-elasticache.yaml new file mode 100644 index 0000000..b259676 --- /dev/null +++ b/aws/sensu-plugins/elasticache/metrics-elasticache.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide metrics for ElastiCache +# +# Instructions +# 1. Add the "aws" or "aws/elasticache" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-elasticache +spec: + command: >- + metrics-elasticache.rb + --aws-region {{ .annotations.metrics_elasticache_aws_region | default "us-east-1" }} + --statistic {{ .annotations.metrics_elasticache_statistic | default "CPUUtilization" }} + --period {{ .annotations.metrics_elasticache_period | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elasticache + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/elb/metrics-elb.yaml b/aws/sensu-plugins/elb/metrics-elb.yaml new file mode 100644 index 0000000..a8a772b --- /dev/null +++ b/aws/sensu-plugins/elb/metrics-elb.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Provide metrics for ELB +# +# Instructions +# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-elb +spec: + command: >- + metrics-elb.rb + --aws-region {{ .annotations.metrics_elb_aws_region | default "us-east-1" }} + --name {{ .annotations.metrics_elb_aws_name | default "my-elb-1" }} + --scheme {{ .annotations.metrics_elb_scheme | default "elb" }} + --period {{ .annotations.metrics_elb_period | default 60 }} + --fetch_age {{ .annotations.metrics_elb_fetch_age | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/elb + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/emr/metrics-emr-steps.yaml b/aws/sensu-plugins/emr/metrics-emr-steps.yaml new file mode 100644 index 0000000..87feb97 --- /dev/null +++ b/aws/sensu-plugins/emr/metrics-emr-steps.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide metrics for EMR cluster queue steps +# +# Instructions +# 1. Add the "aws" or "aws/emr" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-emr-steps +spec: + command: >- + metrics-emr-steps.rb + --aws-region {{ .annotations.metrics_emr_steps_aws_region | default "us-east-1" }} + --cluster-name {{ .annotations.metrics_emr_steps_aws_cluster_name | default "my-cluster-1" }} + --scheme {{ .annotations.metrics_emr_steps_scheme | default "sensu.aws.emr" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/emr + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/rds/metrics-rds.yaml b/aws/sensu-plugins/rds/metrics-rds.yaml new file mode 100644 index 0000000..5ae931f --- /dev/null +++ b/aws/sensu-plugins/rds/metrics-rds.yaml @@ -0,0 +1,124 @@ +--- +# Description +# Provide metrics for ELB +# +# Instructions +# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-rds +spec: + command: >- + metrics-rds.rb + --aws-region {{ .annotations.metrics_rds_aws_region | default "us-east-1" }} + --db-instance-id {{ .annotations.metrics_rds_aws_db_instance_id | default "" }} + --statistics {{ .annotations.metrics_rds_statistics | default "average" }} + --period {{ .annotations.metrics_rds_period | default 60 }} + --fetch_age {{ .annotations.metrics_rds_fetch_age | default 0 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/rds + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/s3/metrics-s3.yaml b/aws/sensu-plugins/s3/metrics-s3.yaml new file mode 100644 index 0000000..02a7e62 --- /dev/null +++ b/aws/sensu-plugins/s3/metrics-s3.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Provide metrics for S3 +# +# Instructions +# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-s3 +spec: + command: >- + metrics-s3.rb + --aws-region {{ .annotations.metrics_s3_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_s3_scheme | default "sensu.aws.s3.buckets" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/s3 + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/ses/metrics-ses.yaml b/aws/sensu-plugins/ses/metrics-ses.yaml new file mode 100644 index 0000000..f805f7b --- /dev/null +++ b/aws/sensu-plugins/ses/metrics-ses.yaml @@ -0,0 +1,121 @@ +--- +# Description +# Provide metrics for SES +# +# Instructions +# 1. Add the "aws" or "aws/ses" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-ses +spec: + command: >- + metrics-ses.rb + --aws-region {{ .annotations.metrics_ses_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_ses_scheme | default "sensu.aws.ses" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/ses + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/sqs/metrics-sqs.yaml b/aws/sensu-plugins/sqs/metrics-sqs.yaml new file mode 100644 index 0000000..d1eb05c --- /dev/null +++ b/aws/sensu-plugins/sqs/metrics-sqs.yaml @@ -0,0 +1,122 @@ +--- +# Description +# Provide metrics for SQS +# +# Instructions +# 1. Add the "aws" or "aws/sqs" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-sqs +spec: + command: >- + metrics-sqs.rb + --aws-region {{ .annotations.metrics_sqs_aws_region | default "us-east-1" }} + --queue {{ .annotations.metrics_sqs_queue | default "my-queue-1" }} + --scheme {{ .annotations.metrics_sqs_scheme | default "" }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/sqs + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz diff --git a/aws/sensu-plugins/waf/metrics-waf.yaml b/aws/sensu-plugins/waf/metrics-waf.yaml new file mode 100644 index 0000000..bbf50a2 --- /dev/null +++ b/aws/sensu-plugins/waf/metrics-waf.yaml @@ -0,0 +1,123 @@ +--- +# Description +# Provide metrics for WAF +# +# Instructions +# 1. Add the "aws" or "aws/waf" subscriptions to agents that should run this +# check. +# 2. More configuration options are available for this plugin; please see the +# plugin documentation for more details. +# +# Documentation +# - Usage: https://github.com/sensu-plugins/sensu-plugins-aws#usage +# +# Contributors +# The following individuals have contributed to this configuration template: +# - Todd Campbell, @nixwiz +# - Caleb Hailey, @calebhailey +type: CheckConfig +api_version: core/v2 +metadata: + name: sensu-plugins-aws/metrics-waf +spec: + command: >- + metrics-waf.rb + --aws-region {{ .annotations.metrics_waf_aws_region | default "us-east-1" }} + --scheme {{ .annotations.metrics_waf_scheme | default "aws.waf" }} + --metric {{ .annotations.metrics_waf_metric | default "AllowedRequests,BlockedRequests,CountedRequests,PassedRequests" }} + --period {{ .annotations.metrics_waf_period | default 60 }} + runtime_assets: + - sensu-plugins/sensu-plugins-aws:18.5.0 + - sensu/sensu-ruby-runtime:0.0.10 + publish: false + subscriptions: + - aws + - aws/waf + interval: 30 + timeout: 10 + ttl: 0 + proxy_entity_name: "" + stdin: false + output_metric_format: graphite_plaintext + output_metric_handlers: + - metric-storage +--- +type: Asset +api_version: core/v2 +metadata: + name: sensu-plugins-aws:18.5.0 + labels: + annotations: + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-aws + io.sensu.bonsai.tier: Community + io.sensu.bonsai.version: 18.4.0 + io.sensu.bonsai.namespace: sensu-plugins + io.sensu.bonsai.name: sensu-plugins-aws + io.sensu.bonsai.tags: ruby-runtime-2.4.4 +spec: + builds: + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_alpine_linux_amd64.tar.gz + sha512: e8ff3ac85cc7dbf8c6ebd6dc0500cffbc9ff3863a6ef6bbdc1a9926a3b4b3846c16cba291e9be9e35652038cdd929ed0222f3f1d8dace7a4a7295836b92d372d + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_centos_linux_amd64.tar.gz + sha512: b68da32e0e7228e2c1e81b3cbcdd0358fb099a9df68d6ded88222a252593107951f3ed3fe0ed7e49610a5631c397494c786e0a1e3ee9a47fa905bfa0c3db894e + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - url: https://assets.bonsai.sensu.io/5f04e0fd667ec7b89b5a570c03528a476859b08c/sensu-plugins-aws_18.4.0_debian_linux_amd64.tar.gz + sha512: c057951d33aa1d4e952b2f781df452e55ab4b5f39cedc250ae209bc6630858797ffb82fc8e445e7efe50b269ece46a3aa74e45e4c2da6b31d3d8a4dbfdd3012a + filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' +--- +type: Asset +api_version: core/v2 +metadata: + annotations: + io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.name: sensu-ruby-runtime + io.sensu.bonsai.namespace: sensu + io.sensu.bonsai.tags: "" + io.sensu.bonsai.tier: Community + io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime + io.sensu.bonsai.version: 0.0.10 + name: sensu/sensu-ruby-runtime:0.0.10 +spec: + builds: + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) == 6 + headers: null + sha512: cbee19124b7007342ce37ff9dfd4a1dde03beb1e87e61ca2aef606a7ad3c9bd0bba4e53873c07afa5ac46b0861967a9224511b4504dadb1a5e8fb687e9495304 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos6_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'debian' + headers: null + sha512: a28952fd93fc63db1f8988c7bc40b0ad815eb9f35ef7317d6caf5d77ecfbfd824a9db54184400aa0c81c29b34cb48c7e8c6e3f17891aaf84cafa3c134266a61a + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_debian_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform_family == 'rhel' + - parseInt(entity.system.platform_version.split('.')[0]) > 6 + headers: null + sha512: 338b88b568a3213fa234640da2e037d1487fc3c639bc62340f2fb71eac8af9a90566cffc768d15035406ac5c049350006d73f3a07ae15f9528e1c6a9af2944cb + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_centos_linux_amd64.tar.gz + - filters: + - entity.system.os == 'linux' + - entity.system.arch == 'amd64' + - entity.system.platform == 'alpine' + - entity.system.platform_version.split('.')[0] == '3' + headers: null + sha512: 8d768d1fba545898a8d09dca603457eb0018ec6829bc5f609a1ea51a2be0c4b2d13e1aa46139ecbb04873449e4c76f463f0bdfbaf2107caf37ab1c8db87d5250 + url: https://assets.bonsai.sensu.io/5123017d3dadf2067fa90fc28275b92e9b586885/sensu-ruby-runtime_0.0.10_ruby-2.4.4_alpine_linux_amd64.tar.gz From 55d6df08f89207bbd81511205c9ff1b79311fe20 Mon Sep 17 00:00:00 2001 From: Todd Campbell Date: Tue, 21 Apr 2020 15:08:11 -0700 Subject: [PATCH 19/19] removed sensu-aws and fixed check names for sensu-plugins Signed-off-by: Todd Campbell --- .../alb/check-alb-target-group-health.yaml | 2 +- .../asg/check-asg-instances-created.yaml | 2 +- .../asg/check-asg-instances-inservice.yaml | 2 +- .../asg/check-autoscaling-cpucredits.yaml | 2 +- .../asg/check-instances-count.yaml | 2 +- aws/{sensu-plugins => }/asg/metrics-asg.yaml | 2 +- .../metrics-autoscaling-instance-count.yaml | 2 +- .../beanstalk/check-beanstalk-elb-metric.yaml | 4 +- .../beanstalk/check-beanstalk-health.yaml | 2 +- .../billing/metrics-billing.yaml | 2 +- .../certificate/check-certificate-expiry.yaml | 2 +- .../cloudfront/check-cloudfront-tag.yaml | 2 +- .../cloudfront/metrics-cloudfront.yaml | 2 +- .../cloudwatch/check-cloudwatch-alarm.yaml | 2 +- .../cloudwatch/check-cloudwatch-alarms.yaml | 2 +- .../check-cloudwatch-composite-metric.yaml | 2 +- .../cloudwatch/check-cloudwatch-metric.yaml | 2 +- .../check-configservice-rules.yaml | 2 +- ...eck-direct-connect-virtual-interfaces.yaml | 2 +- .../dynamodb/check-dynamodb-capacity.yaml | 2 +- .../dynamodb/check-dynamodb-throttle.yaml | 2 +- .../ebs/check-ebs-burst-limit.yaml | 2 +- .../ebs/check-ebs-snapshots.yaml | 2 +- .../ec2/check-ec2-cpu_balance.yaml | 2 +- .../ec2/check-ec2-filter.yaml | 2 +- .../ec2/check-ec2-network.yaml | 2 +- .../ec2/check-instance-events.yaml | 2 +- .../ec2/check-instance-health.yaml | 2 +- .../ec2/check-instance-reachability.yaml | 2 +- .../ec2/check-reserved-instances.yaml | 2 +- .../ec2/metrics-ec2-count.yaml | 2 +- .../ec2/metrics-ec2-filter.yaml | 2 +- .../ecs/check-ec2-service-health.yaml | 2 +- .../efs/check-efs-metric.yaml | 4 +- .../eip/check-eip-allocation.yaml | 2 +- .../check-elasticache-failover.yaml | 2 +- .../elasticache/metrics-elasticache.yaml | 2 +- .../elb/check-elb-certs.yaml | 2 +- .../elb/check-elb-health-fog.yaml | 2 +- .../elb/check-elb-health-sdk.yaml | 2 +- .../elb/check-elb-health.yaml | 2 +- .../elb/check-elb-instance-inservice.yaml | 2 +- .../elb/check-elb-latency.yaml | 2 +- .../elb/check-elb-nodes.yaml | 2 +- .../elb/check-elb-sum-requests.yaml | 2 +- aws/{sensu-plugins => }/elb/metrics-elb.yaml | 2 +- .../emr/check-emr-cluster.yaml | 2 +- .../emr/check-emr-steps.yaml | 2 +- .../emr/metrics-emr-steps.yaml | 2 +- .../eni/check-eni-status.yaml | 2 +- .../kms/check-kms-key.yaml | 2 +- .../rds/check-rds-events.yaml | 2 +- .../rds/check-rds-pending.yaml | 2 +- aws/{sensu-plugins => }/rds/check-rds.yaml | 2 +- aws/{sensu-plugins => }/rds/metrics-rds.yaml | 2 +- .../redshift/check-redshift-events.yaml | 2 +- .../check-route53-domain-expiration.yaml | 2 +- .../s3/check-s3-bucket-visibility.yaml | 2 +- .../s3/check-s3-bucket.yaml | 2 +- .../s3/check-s3-object.yaml | 2 +- aws/{sensu-plugins => }/s3/check-s3-tag.yaml | 2 +- aws/{sensu-plugins => }/s3/metrics-s3.yaml | 2 +- .../alb/check-alb-target-group-health.yaml | 90 ---------------- .../cloudwatch/check-cloudwatch-alarm.yaml | 90 ---------------- .../cloudwatch/check-cloudwatch-alarms.yaml | 91 ---------------- .../check-cloudwatch-composite-metric.yaml | 98 ----------------- aws/sensu-aws/ebs/check-ebs-burst-limit.yaml | 92 ---------------- aws/sensu-aws/ebs/check-ebs-snapshots.yaml | 91 ---------------- aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml | 92 ---------------- aws/sensu-aws/ec2/check-ec2-filter.yaml | 96 ----------------- aws/sensu-aws/ec2/check-ec2-network.yaml | 95 ----------------- aws/sensu-aws/ec2/metrics-ec2-count.yaml | 95 ----------------- aws/sensu-aws/ec2/metrics-ec2-filter.yaml | 97 ----------------- aws/sensu-aws/elb/check-elb-certs.yaml | 92 ---------------- aws/sensu-aws/elb/check-elb-health-fog.yaml | 92 ---------------- aws/sensu-aws/elb/check-elb-health-sdk.yaml | 94 ---------------- .../elb/check-elb-instances-inservice.yaml | 90 ---------------- aws/sensu-aws/elb/check-elb-latency.yaml | 94 ---------------- aws/sensu-aws/elb/check-elb-nodes.yaml | 94 ---------------- aws/sensu-aws/elb/check-elb-sum-requests.yaml | 93 ---------------- aws/sensu-aws/elb/metrics-elb.yaml | 98 ----------------- aws/sensu-aws/rds/check-rds-events.yaml | 90 ---------------- aws/sensu-aws/rds/check-rds-pending.yaml | 89 ---------------- aws/sensu-aws/rds/check-rds.yaml | 100 ------------------ aws/sensu-aws/rds/metrics-rds.yaml | 95 ----------------- .../s3/check-s3-bucket-visibility.yaml | 94 ---------------- aws/sensu-aws/s3/check-s3-bucket.yaml | 90 ---------------- aws/sensu-aws/s3/check-s3-object.yaml | 94 ---------------- aws/sensu-aws/s3/check-s3-tag.yaml | 90 ---------------- aws/sensu-aws/s3/metrics-s3.yaml | 92 ---------------- .../ses/check-ses-limit.yaml | 2 +- .../ses/check-ses-statistics.yaml | 2 +- aws/{sensu-plugins => }/ses/metrics-ses.yaml | 2 +- .../sns/check-sns-subscriptions.yaml | 2 +- .../sqs/check-sqs-messages.yaml | 2 +- aws/{sensu-plugins => }/sqs/metrics-sqs.yaml | 2 +- .../check-trustedadvisor-service-limits.yaml | 2 +- aws/{sensu-plugins => }/vpc/check-route.yaml | 2 +- .../vpc/check-subnet-ip-consumption.yaml | 2 +- .../vpc/check-vpc-nameservers.yaml | 2 +- .../vpc/check-vpc-vpn.yaml | 2 +- aws/{sensu-plugins => }/waf/metrics-waf.yaml | 2 +- 102 files changed, 76 insertions(+), 2684 deletions(-) rename aws/{sensu-plugins => }/alb/check-alb-target-group-health.yaml (98%) rename aws/{sensu-plugins => }/asg/check-asg-instances-created.yaml (99%) rename aws/{sensu-plugins => }/asg/check-asg-instances-inservice.yaml (98%) rename aws/{sensu-plugins => }/asg/check-autoscaling-cpucredits.yaml (99%) rename aws/{sensu-plugins => }/asg/check-instances-count.yaml (99%) rename aws/{sensu-plugins => }/asg/metrics-asg.yaml (99%) rename aws/{sensu-plugins => }/asg/metrics-autoscaling-instance-count.yaml (98%) rename aws/{sensu-plugins => }/beanstalk/check-beanstalk-elb-metric.yaml (98%) rename aws/{sensu-plugins => }/beanstalk/check-beanstalk-health.yaml (99%) rename aws/{sensu-plugins => }/billing/metrics-billing.yaml (99%) rename aws/{sensu-plugins => }/certificate/check-certificate-expiry.yaml (99%) rename aws/{sensu-plugins => }/cloudfront/check-cloudfront-tag.yaml (99%) rename aws/{sensu-plugins => }/cloudfront/metrics-cloudfront.yaml (99%) rename aws/{sensu-plugins => }/cloudwatch/check-cloudwatch-alarm.yaml (99%) rename aws/{sensu-plugins => }/cloudwatch/check-cloudwatch-alarms.yaml (99%) rename aws/{sensu-plugins => }/cloudwatch/check-cloudwatch-composite-metric.yaml (99%) rename aws/{sensu-plugins => }/cloudwatch/check-cloudwatch-metric.yaml (99%) rename aws/{sensu-plugins => }/configservice/check-configservice-rules.yaml (99%) rename aws/{sensu-plugins => }/direct-connect/check-direct-connect-virtual-interfaces.yaml (98%) rename aws/{sensu-plugins => }/dynamodb/check-dynamodb-capacity.yaml (99%) rename aws/{sensu-plugins => }/dynamodb/check-dynamodb-throttle.yaml (99%) rename aws/{sensu-plugins => }/ebs/check-ebs-burst-limit.yaml (99%) rename aws/{sensu-plugins => }/ebs/check-ebs-snapshots.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-ec2-cpu_balance.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-ec2-filter.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-ec2-network.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-instance-events.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-instance-health.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-instance-reachability.yaml (99%) rename aws/{sensu-plugins => }/ec2/check-reserved-instances.yaml (99%) rename aws/{sensu-plugins => }/ec2/metrics-ec2-count.yaml (99%) rename aws/{sensu-plugins => }/ec2/metrics-ec2-filter.yaml (99%) rename aws/{sensu-plugins => }/ecs/check-ec2-service-health.yaml (99%) rename aws/{sensu-plugins => }/efs/check-efs-metric.yaml (99%) rename aws/{sensu-plugins => }/eip/check-eip-allocation.yaml (99%) rename aws/{sensu-plugins => }/elasticache/check-elasticache-failover.yaml (99%) rename aws/{sensu-plugins => }/elasticache/metrics-elasticache.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-certs.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-health-fog.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-health-sdk.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-health.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-instance-inservice.yaml (98%) rename aws/{sensu-plugins => }/elb/check-elb-latency.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-nodes.yaml (99%) rename aws/{sensu-plugins => }/elb/check-elb-sum-requests.yaml (99%) rename aws/{sensu-plugins => }/elb/metrics-elb.yaml (99%) rename aws/{sensu-plugins => }/emr/check-emr-cluster.yaml (99%) rename aws/{sensu-plugins => }/emr/check-emr-steps.yaml (99%) rename aws/{sensu-plugins => }/emr/metrics-emr-steps.yaml (99%) rename aws/{sensu-plugins => }/eni/check-eni-status.yaml (99%) rename aws/{sensu-plugins => }/kms/check-kms-key.yaml (99%) rename aws/{sensu-plugins => }/rds/check-rds-events.yaml (99%) rename aws/{sensu-plugins => }/rds/check-rds-pending.yaml (99%) rename aws/{sensu-plugins => }/rds/check-rds.yaml (99%) rename aws/{sensu-plugins => }/rds/metrics-rds.yaml (99%) rename aws/{sensu-plugins => }/redshift/check-redshift-events.yaml (99%) rename aws/{sensu-plugins => }/route53/check-route53-domain-expiration.yaml (98%) rename aws/{sensu-plugins => }/s3/check-s3-bucket-visibility.yaml (99%) rename aws/{sensu-plugins => }/s3/check-s3-bucket.yaml (99%) rename aws/{sensu-plugins => }/s3/check-s3-object.yaml (99%) rename aws/{sensu-plugins => }/s3/check-s3-tag.yaml (99%) rename aws/{sensu-plugins => }/s3/metrics-s3.yaml (99%) delete mode 100644 aws/sensu-aws/alb/check-alb-target-group-health.yaml delete mode 100644 aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml delete mode 100644 aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml delete mode 100644 aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml delete mode 100644 aws/sensu-aws/ebs/check-ebs-burst-limit.yaml delete mode 100644 aws/sensu-aws/ebs/check-ebs-snapshots.yaml delete mode 100644 aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml delete mode 100644 aws/sensu-aws/ec2/check-ec2-filter.yaml delete mode 100644 aws/sensu-aws/ec2/check-ec2-network.yaml delete mode 100644 aws/sensu-aws/ec2/metrics-ec2-count.yaml delete mode 100644 aws/sensu-aws/ec2/metrics-ec2-filter.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-certs.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-health-fog.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-health-sdk.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-instances-inservice.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-latency.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-nodes.yaml delete mode 100644 aws/sensu-aws/elb/check-elb-sum-requests.yaml delete mode 100644 aws/sensu-aws/elb/metrics-elb.yaml delete mode 100644 aws/sensu-aws/rds/check-rds-events.yaml delete mode 100644 aws/sensu-aws/rds/check-rds-pending.yaml delete mode 100644 aws/sensu-aws/rds/check-rds.yaml delete mode 100644 aws/sensu-aws/rds/metrics-rds.yaml delete mode 100644 aws/sensu-aws/s3/check-s3-bucket-visibility.yaml delete mode 100644 aws/sensu-aws/s3/check-s3-bucket.yaml delete mode 100644 aws/sensu-aws/s3/check-s3-object.yaml delete mode 100644 aws/sensu-aws/s3/check-s3-tag.yaml delete mode 100644 aws/sensu-aws/s3/metrics-s3.yaml rename aws/{sensu-plugins => }/ses/check-ses-limit.yaml (99%) rename aws/{sensu-plugins => }/ses/check-ses-statistics.yaml (99%) rename aws/{sensu-plugins => }/ses/metrics-ses.yaml (99%) rename aws/{sensu-plugins => }/sns/check-sns-subscriptions.yaml (99%) rename aws/{sensu-plugins => }/sqs/check-sqs-messages.yaml (99%) rename aws/{sensu-plugins => }/sqs/metrics-sqs.yaml (99%) rename aws/{sensu-plugins => }/trustedadvisor/check-trustedadvisor-service-limits.yaml (98%) rename aws/{sensu-plugins => }/vpc/check-route.yaml (99%) rename aws/{sensu-plugins => }/vpc/check-subnet-ip-consumption.yaml (99%) rename aws/{sensu-plugins => }/vpc/check-vpc-nameservers.yaml (99%) rename aws/{sensu-plugins => }/vpc/check-vpc-vpn.yaml (99%) rename aws/{sensu-plugins => }/waf/metrics-waf.yaml (99%) diff --git a/aws/sensu-plugins/alb/check-alb-target-group-health.yaml b/aws/alb/check-alb-target-group-health.yaml similarity index 98% rename from aws/sensu-plugins/alb/check-alb-target-group-health.yaml rename to aws/alb/check-alb-target-group-health.yaml index 89e526a..389a4ca 100644 --- a/aws/sensu-plugins/alb/check-alb-target-group-health.yaml +++ b/aws/alb/check-alb-target-group-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-alb-target-group-health + name: check-alb-target-group-health spec: command: >- check-alb-target-group-health.rb diff --git a/aws/sensu-plugins/asg/check-asg-instances-created.yaml b/aws/asg/check-asg-instances-created.yaml similarity index 99% rename from aws/sensu-plugins/asg/check-asg-instances-created.yaml rename to aws/asg/check-asg-instances-created.yaml index cb2c132..fd8b329 100644 --- a/aws/sensu-plugins/asg/check-asg-instances-created.yaml +++ b/aws/asg/check-asg-instances-created.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-asg-instances-created + name: check-asg-instances-created spec: command: >- check-asg-instances-created.rb diff --git a/aws/sensu-plugins/asg/check-asg-instances-inservice.yaml b/aws/asg/check-asg-instances-inservice.yaml similarity index 98% rename from aws/sensu-plugins/asg/check-asg-instances-inservice.yaml rename to aws/asg/check-asg-instances-inservice.yaml index 0d6ae93..3c40676 100644 --- a/aws/sensu-plugins/asg/check-asg-instances-inservice.yaml +++ b/aws/asg/check-asg-instances-inservice.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-asg-instances-inservice + name: check-asg-instances-inservice spec: command: >- check-asg-instances-inservice.rb diff --git a/aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml b/aws/asg/check-autoscaling-cpucredits.yaml similarity index 99% rename from aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml rename to aws/asg/check-autoscaling-cpucredits.yaml index 4d471fd..be63483 100644 --- a/aws/sensu-plugins/asg/check-autoscaling-cpucredits.yaml +++ b/aws/asg/check-autoscaling-cpucredits.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-autoscaling-cpucredits + name: check-autoscaling-cpucredits spec: command: >- check-autoscaling-cpucredits.rb diff --git a/aws/sensu-plugins/asg/check-instances-count.yaml b/aws/asg/check-instances-count.yaml similarity index 99% rename from aws/sensu-plugins/asg/check-instances-count.yaml rename to aws/asg/check-instances-count.yaml index fdc9ad8..c00026e 100644 --- a/aws/sensu-plugins/asg/check-instances-count.yaml +++ b/aws/asg/check-instances-count.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-instance-reachability + name: check-instance-reachability spec: command: >- check-instance-reachability.rb diff --git a/aws/sensu-plugins/asg/metrics-asg.yaml b/aws/asg/metrics-asg.yaml similarity index 99% rename from aws/sensu-plugins/asg/metrics-asg.yaml rename to aws/asg/metrics-asg.yaml index 0548bda..9cdb944 100644 --- a/aws/sensu-plugins/asg/metrics-asg.yaml +++ b/aws/asg/metrics-asg.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-asg + name: metrics-asg spec: command: >- metrics-asg.rb diff --git a/aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml b/aws/asg/metrics-autoscaling-instance-count.yaml similarity index 98% rename from aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml rename to aws/asg/metrics-autoscaling-instance-count.yaml index 43ebba2..7b9c6a8 100644 --- a/aws/sensu-plugins/asg/metrics-autoscaling-instance-count.yaml +++ b/aws/asg/metrics-autoscaling-instance-count.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-autoscaling-instance-count + name: metrics-autoscaling-instance-count spec: command: >- metrics-autoscaling-instance-count.rb diff --git a/aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml b/aws/beanstalk/check-beanstalk-elb-metric.yaml similarity index 98% rename from aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml rename to aws/beanstalk/check-beanstalk-elb-metric.yaml index 45d9e8a..f5ec133 100644 --- a/aws/sensu-plugins/beanstalk/check-beanstalk-elb-metric.yaml +++ b/aws/beanstalk/check-beanstalk-elb-metric.yaml @@ -1,6 +1,6 @@ --- # Description -# Check the requested CloudWatch metric for the desired Beanstalk ELB +# Check the requested CloudWatch metric for the desired Beanstalk ELB # # Instructions # 1. Add the "aws" or "aws/beanstalk" subscriptions to agents that should run this @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-beanstalk-elb-metric + name: check-beanstalk-elb-metric spec: command: >- check-beanstalk-elb-metric.rb diff --git a/aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml b/aws/beanstalk/check-beanstalk-health.yaml similarity index 99% rename from aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml rename to aws/beanstalk/check-beanstalk-health.yaml index 9340e37..c2d5ca6 100644 --- a/aws/sensu-plugins/beanstalk/check-beanstalk-health.yaml +++ b/aws/beanstalk/check-beanstalk-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-beanstalk-health + name: check-beanstalk-health spec: command: >- check-beanstalk-health.rb diff --git a/aws/sensu-plugins/billing/metrics-billing.yaml b/aws/billing/metrics-billing.yaml similarity index 99% rename from aws/sensu-plugins/billing/metrics-billing.yaml rename to aws/billing/metrics-billing.yaml index 9cb1dec..790da7f 100644 --- a/aws/sensu-plugins/billing/metrics-billing.yaml +++ b/aws/billing/metrics-billing.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-billing + name: metrics-billing spec: command: >- metrics-billing.rb diff --git a/aws/sensu-plugins/certificate/check-certificate-expiry.yaml b/aws/certificate/check-certificate-expiry.yaml similarity index 99% rename from aws/sensu-plugins/certificate/check-certificate-expiry.yaml rename to aws/certificate/check-certificate-expiry.yaml index df3bc18..82ffc2c 100644 --- a/aws/sensu-plugins/certificate/check-certificate-expiry.yaml +++ b/aws/certificate/check-certificate-expiry.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-certificate-expiry + name: check-certificate-expiry spec: command: >- check-certificate-expiry.rb diff --git a/aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml b/aws/cloudfront/check-cloudfront-tag.yaml similarity index 99% rename from aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml rename to aws/cloudfront/check-cloudfront-tag.yaml index 5603d11..8343e49 100644 --- a/aws/sensu-plugins/cloudfront/check-cloudfront-tag.yaml +++ b/aws/cloudfront/check-cloudfront-tag.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-cloudfront-tag + name: check-cloudfront-tag spec: command: >- check-cloudfront-tag.rb diff --git a/aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml b/aws/cloudfront/metrics-cloudfront.yaml similarity index 99% rename from aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml rename to aws/cloudfront/metrics-cloudfront.yaml index 604d856..94db910 100644 --- a/aws/sensu-plugins/cloudfront/metrics-cloudfront.yaml +++ b/aws/cloudfront/metrics-cloudfront.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-cloudfront + name: metrics-cloudfront spec: command: >- metrics-cloudfront.rb diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml b/aws/cloudwatch/check-cloudwatch-alarm.yaml similarity index 99% rename from aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml rename to aws/cloudwatch/check-cloudwatch-alarm.yaml index 4d3ae2d..5f483bb 100644 --- a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarm.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarm.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-cloudwatch-alarm + name: check-cloudwatch-alarm spec: command: >- check-cloudwatch-alarm.rb diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml b/aws/cloudwatch/check-cloudwatch-alarms.yaml similarity index 99% rename from aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml rename to aws/cloudwatch/check-cloudwatch-alarms.yaml index 06e8f02..29dbd03 100644 --- a/aws/sensu-plugins/cloudwatch/check-cloudwatch-alarms.yaml +++ b/aws/cloudwatch/check-cloudwatch-alarms.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-cloudwatch-alarms + name: check-cloudwatch-alarms spec: command: >- check-cloudwatch-alarms.rb diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml similarity index 99% rename from aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml rename to aws/cloudwatch/check-cloudwatch-composite-metric.yaml index 057e070..69fb1d7 100644 --- a/aws/sensu-plugins/cloudwatch/check-cloudwatch-composite-metric.yaml +++ b/aws/cloudwatch/check-cloudwatch-composite-metric.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-cloudwatch-composite-metric + name: check-cloudwatch-composite-metric spec: command: >- check-cloudwatch-composite-metric.rb diff --git a/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml b/aws/cloudwatch/check-cloudwatch-metric.yaml similarity index 99% rename from aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml rename to aws/cloudwatch/check-cloudwatch-metric.yaml index eac7279..8b4bebd 100644 --- a/aws/sensu-plugins/cloudwatch/check-cloudwatch-metric.yaml +++ b/aws/cloudwatch/check-cloudwatch-metric.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-cloudwatch-metric + name: check-cloudwatch-metric spec: command: >- check-cloudwatch-metric.rb diff --git a/aws/sensu-plugins/configservice/check-configservice-rules.yaml b/aws/configservice/check-configservice-rules.yaml similarity index 99% rename from aws/sensu-plugins/configservice/check-configservice-rules.yaml rename to aws/configservice/check-configservice-rules.yaml index 5fa3496..d045e4e 100644 --- a/aws/sensu-plugins/configservice/check-configservice-rules.yaml +++ b/aws/configservice/check-configservice-rules.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-configservice-rules + name: check-configservice-rules spec: command: >- check-cloudwatch-metric.rb diff --git a/aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml b/aws/direct-connect/check-direct-connect-virtual-interfaces.yaml similarity index 98% rename from aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml rename to aws/direct-connect/check-direct-connect-virtual-interfaces.yaml index 1e70a0e..fc5e380 100644 --- a/aws/sensu-plugins/direct-connect/check-direct-connect-virtual-interfaces.yaml +++ b/aws/direct-connect/check-direct-connect-virtual-interfaces.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-direct-connect-virtual-interfaces + name: check-direct-connect-virtual-interfaces spec: command: >- check-direct-connect-virtual-interfaces.rb diff --git a/aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml b/aws/dynamodb/check-dynamodb-capacity.yaml similarity index 99% rename from aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml rename to aws/dynamodb/check-dynamodb-capacity.yaml index 89df8f4..858e6e6 100644 --- a/aws/sensu-plugins/dynamodb/check-dynamodb-capacity.yaml +++ b/aws/dynamodb/check-dynamodb-capacity.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-dynamodb-capacity + name: check-dynamodb-capacity spec: command: >- check-dynamodb-capacity.rb diff --git a/aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml b/aws/dynamodb/check-dynamodb-throttle.yaml similarity index 99% rename from aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml rename to aws/dynamodb/check-dynamodb-throttle.yaml index 264ca85..2bcd436 100644 --- a/aws/sensu-plugins/dynamodb/check-dynamodb-throttle.yaml +++ b/aws/dynamodb/check-dynamodb-throttle.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-dynamodb-throttle + name: check-dynamodb-throttle spec: command: >- check-dynamodb-throttle.rb diff --git a/aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml b/aws/ebs/check-ebs-burst-limit.yaml similarity index 99% rename from aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml rename to aws/ebs/check-ebs-burst-limit.yaml index 7140d8a..67860ae 100644 --- a/aws/sensu-plugins/ebs/check-ebs-burst-limit.yaml +++ b/aws/ebs/check-ebs-burst-limit.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ebs-burst-limit + name: check-ebs-burst-limit spec: command: >- check-ebs-burst-limit.rb diff --git a/aws/sensu-plugins/ebs/check-ebs-snapshots.yaml b/aws/ebs/check-ebs-snapshots.yaml similarity index 99% rename from aws/sensu-plugins/ebs/check-ebs-snapshots.yaml rename to aws/ebs/check-ebs-snapshots.yaml index 74402ee..3fc3610 100644 --- a/aws/sensu-plugins/ebs/check-ebs-snapshots.yaml +++ b/aws/ebs/check-ebs-snapshots.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ebs-snapshots + name: check-ebs-snapshots spec: command: >- check-ebs-snapshots.rb diff --git a/aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml b/aws/ec2/check-ec2-cpu_balance.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml rename to aws/ec2/check-ec2-cpu_balance.yaml index c43534f..f717622 100644 --- a/aws/sensu-plugins/ec2/check-ec2-cpu_balance.yaml +++ b/aws/ec2/check-ec2-cpu_balance.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ec2-cpu_balance + name: check-ec2-cpu_balance spec: command: >- check-ec2-cpu_balance.rb diff --git a/aws/sensu-plugins/ec2/check-ec2-filter.yaml b/aws/ec2/check-ec2-filter.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-ec2-filter.yaml rename to aws/ec2/check-ec2-filter.yaml index 2c3c82b..6cd163d 100644 --- a/aws/sensu-plugins/ec2/check-ec2-filter.yaml +++ b/aws/ec2/check-ec2-filter.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ec2-filter + name: check-ec2-filter spec: command: >- check-ec2-filter.rb diff --git a/aws/sensu-plugins/ec2/check-ec2-network.yaml b/aws/ec2/check-ec2-network.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-ec2-network.yaml rename to aws/ec2/check-ec2-network.yaml index 693ee88..df5c0e5 100644 --- a/aws/sensu-plugins/ec2/check-ec2-network.yaml +++ b/aws/ec2/check-ec2-network.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ec2-network + name: check-ec2-network spec: command: >- check-ec2-network.rb diff --git a/aws/sensu-plugins/ec2/check-instance-events.yaml b/aws/ec2/check-instance-events.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-instance-events.yaml rename to aws/ec2/check-instance-events.yaml index a665e36..5e64d90 100644 --- a/aws/sensu-plugins/ec2/check-instance-events.yaml +++ b/aws/ec2/check-instance-events.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-instance-events + name: check-instance-events spec: command: >- check-instance-events.rb diff --git a/aws/sensu-plugins/ec2/check-instance-health.yaml b/aws/ec2/check-instance-health.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-instance-health.yaml rename to aws/ec2/check-instance-health.yaml index add2bea..e116981 100644 --- a/aws/sensu-plugins/ec2/check-instance-health.yaml +++ b/aws/ec2/check-instance-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-instance-health + name: check-instance-health spec: command: >- check-instance-health.rb diff --git a/aws/sensu-plugins/ec2/check-instance-reachability.yaml b/aws/ec2/check-instance-reachability.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-instance-reachability.yaml rename to aws/ec2/check-instance-reachability.yaml index 23b2935..392740f 100644 --- a/aws/sensu-plugins/ec2/check-instance-reachability.yaml +++ b/aws/ec2/check-instance-reachability.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-instance-reachability + name: check-instance-reachability spec: command: >- check-instance-reachability.rb diff --git a/aws/sensu-plugins/ec2/check-reserved-instances.yaml b/aws/ec2/check-reserved-instances.yaml similarity index 99% rename from aws/sensu-plugins/ec2/check-reserved-instances.yaml rename to aws/ec2/check-reserved-instances.yaml index 3a55e10..7a3465e 100644 --- a/aws/sensu-plugins/ec2/check-reserved-instances.yaml +++ b/aws/ec2/check-reserved-instances.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-reserved-instances + name: check-reserved-instances spec: command: >- check-reserved-instances.rb diff --git a/aws/sensu-plugins/ec2/metrics-ec2-count.yaml b/aws/ec2/metrics-ec2-count.yaml similarity index 99% rename from aws/sensu-plugins/ec2/metrics-ec2-count.yaml rename to aws/ec2/metrics-ec2-count.yaml index be3d8d8..26736d7 100644 --- a/aws/sensu-plugins/ec2/metrics-ec2-count.yaml +++ b/aws/ec2/metrics-ec2-count.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-ec2-count + name: metrics-ec2-count spec: command: >- metrics-ec2-count.rb diff --git a/aws/sensu-plugins/ec2/metrics-ec2-filter.yaml b/aws/ec2/metrics-ec2-filter.yaml similarity index 99% rename from aws/sensu-plugins/ec2/metrics-ec2-filter.yaml rename to aws/ec2/metrics-ec2-filter.yaml index 0a0ab20..21ff236 100644 --- a/aws/sensu-plugins/ec2/metrics-ec2-filter.yaml +++ b/aws/ec2/metrics-ec2-filter.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-ec2-filter + name: metrics-ec2-filter spec: command: >- metrics-ec2-filter.rb diff --git a/aws/sensu-plugins/ecs/check-ec2-service-health.yaml b/aws/ecs/check-ec2-service-health.yaml similarity index 99% rename from aws/sensu-plugins/ecs/check-ec2-service-health.yaml rename to aws/ecs/check-ec2-service-health.yaml index 493425a..295ba4b 100644 --- a/aws/sensu-plugins/ecs/check-ec2-service-health.yaml +++ b/aws/ecs/check-ec2-service-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ecs-service-health + name: check-ecs-service-health spec: command: >- check-ecs-service-health.rb diff --git a/aws/sensu-plugins/efs/check-efs-metric.yaml b/aws/efs/check-efs-metric.yaml similarity index 99% rename from aws/sensu-plugins/efs/check-efs-metric.yaml rename to aws/efs/check-efs-metric.yaml index 1545bb9..e4d4eea 100644 --- a/aws/sensu-plugins/efs/check-efs-metric.yaml +++ b/aws/efs/check-efs-metric.yaml @@ -1,6 +1,6 @@ --- # Description -# Check the requested CloudWatch metric for the desired Beanstalk ELB +# Check the requested CloudWatch metric for the desired Beanstalk ELB # # Instructions # 1. Add the "aws" or "aws/efs" subscriptions to agents that should run this @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-efs-metric + name: check-efs-metric spec: command: >- check-efs-metric.rb diff --git a/aws/sensu-plugins/eip/check-eip-allocation.yaml b/aws/eip/check-eip-allocation.yaml similarity index 99% rename from aws/sensu-plugins/eip/check-eip-allocation.yaml rename to aws/eip/check-eip-allocation.yaml index 7675bdd..d80c491 100644 --- a/aws/sensu-plugins/eip/check-eip-allocation.yaml +++ b/aws/eip/check-eip-allocation.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-eip-allocation + name: check-eip-allocation spec: command: >- check-eip-allocation.rb diff --git a/aws/sensu-plugins/elasticache/check-elasticache-failover.yaml b/aws/elasticache/check-elasticache-failover.yaml similarity index 99% rename from aws/sensu-plugins/elasticache/check-elasticache-failover.yaml rename to aws/elasticache/check-elasticache-failover.yaml index 9ca3617..56fd834 100644 --- a/aws/sensu-plugins/elasticache/check-elasticache-failover.yaml +++ b/aws/elasticache/check-elasticache-failover.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elasticache-failover + name: check-elasticache-failover spec: command: >- check-elasticache-failover.rb diff --git a/aws/sensu-plugins/elasticache/metrics-elasticache.yaml b/aws/elasticache/metrics-elasticache.yaml similarity index 99% rename from aws/sensu-plugins/elasticache/metrics-elasticache.yaml rename to aws/elasticache/metrics-elasticache.yaml index b259676..2ba546f 100644 --- a/aws/sensu-plugins/elasticache/metrics-elasticache.yaml +++ b/aws/elasticache/metrics-elasticache.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-elasticache + name: metrics-elasticache spec: command: >- metrics-elasticache.rb diff --git a/aws/sensu-plugins/elb/check-elb-certs.yaml b/aws/elb/check-elb-certs.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-certs.yaml rename to aws/elb/check-elb-certs.yaml index 2d66f06..6d7666c 100644 --- a/aws/sensu-plugins/elb/check-elb-certs.yaml +++ b/aws/elb/check-elb-certs.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-certs + name: check-elb-certs spec: command: >- check-elb-certs.rb diff --git a/aws/sensu-plugins/elb/check-elb-health-fog.yaml b/aws/elb/check-elb-health-fog.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-health-fog.yaml rename to aws/elb/check-elb-health-fog.yaml index 93c9ed3..d06a8a0 100644 --- a/aws/sensu-plugins/elb/check-elb-health-fog.yaml +++ b/aws/elb/check-elb-health-fog.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-health-fog + name: check-elb-health-fog spec: command: >- check-elb-health-fog.rb diff --git a/aws/sensu-plugins/elb/check-elb-health-sdk.yaml b/aws/elb/check-elb-health-sdk.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-health-sdk.yaml rename to aws/elb/check-elb-health-sdk.yaml index a00d1d1..b8893b3 100644 --- a/aws/sensu-plugins/elb/check-elb-health-sdk.yaml +++ b/aws/elb/check-elb-health-sdk.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-health-sdk + name: check-elb-health-sdk spec: command: >- check-elb-health-sdk.rb diff --git a/aws/sensu-plugins/elb/check-elb-health.yaml b/aws/elb/check-elb-health.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-health.yaml rename to aws/elb/check-elb-health.yaml index ee037db..0d4d23d 100644 --- a/aws/sensu-plugins/elb/check-elb-health.yaml +++ b/aws/elb/check-elb-health.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-health + name: check-elb-health spec: command: >- check-elb-health.rb diff --git a/aws/sensu-plugins/elb/check-elb-instance-inservice.yaml b/aws/elb/check-elb-instance-inservice.yaml similarity index 98% rename from aws/sensu-plugins/elb/check-elb-instance-inservice.yaml rename to aws/elb/check-elb-instance-inservice.yaml index 4e93d57..f6dc736 100644 --- a/aws/sensu-plugins/elb/check-elb-instance-inservice.yaml +++ b/aws/elb/check-elb-instance-inservice.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-instance-inservice + name: check-elb-instance-inservice spec: command: >- check-elb-instance-inservice.rb diff --git a/aws/sensu-plugins/elb/check-elb-latency.yaml b/aws/elb/check-elb-latency.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-latency.yaml rename to aws/elb/check-elb-latency.yaml index 1371d40..591cb66 100644 --- a/aws/sensu-plugins/elb/check-elb-latency.yaml +++ b/aws/elb/check-elb-latency.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-latency + name: check-elb-latency spec: command: >- check-elb-latency.rb diff --git a/aws/sensu-plugins/elb/check-elb-nodes.yaml b/aws/elb/check-elb-nodes.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-nodes.yaml rename to aws/elb/check-elb-nodes.yaml index 112c00c..26cae9e 100644 --- a/aws/sensu-plugins/elb/check-elb-nodes.yaml +++ b/aws/elb/check-elb-nodes.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-nodes + name: check-elb-nodes spec: command: >- check-elb-nodes.rb diff --git a/aws/sensu-plugins/elb/check-elb-sum-requests.yaml b/aws/elb/check-elb-sum-requests.yaml similarity index 99% rename from aws/sensu-plugins/elb/check-elb-sum-requests.yaml rename to aws/elb/check-elb-sum-requests.yaml index b84de99..1cda870 100644 --- a/aws/sensu-plugins/elb/check-elb-sum-requests.yaml +++ b/aws/elb/check-elb-sum-requests.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-elb-sum-requests + name: check-elb-sum-requests spec: command: >- check-elb-sum-requests.rb diff --git a/aws/sensu-plugins/elb/metrics-elb.yaml b/aws/elb/metrics-elb.yaml similarity index 99% rename from aws/sensu-plugins/elb/metrics-elb.yaml rename to aws/elb/metrics-elb.yaml index a8a772b..944847d 100644 --- a/aws/sensu-plugins/elb/metrics-elb.yaml +++ b/aws/elb/metrics-elb.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-elb + name: metrics-elb spec: command: >- metrics-elb.rb diff --git a/aws/sensu-plugins/emr/check-emr-cluster.yaml b/aws/emr/check-emr-cluster.yaml similarity index 99% rename from aws/sensu-plugins/emr/check-emr-cluster.yaml rename to aws/emr/check-emr-cluster.yaml index 86404b9..55f7f8f 100644 --- a/aws/sensu-plugins/emr/check-emr-cluster.yaml +++ b/aws/emr/check-emr-cluster.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-emr-cluster + name: check-emr-cluster spec: command: >- check-emr-cluster.rb diff --git a/aws/sensu-plugins/emr/check-emr-steps.yaml b/aws/emr/check-emr-steps.yaml similarity index 99% rename from aws/sensu-plugins/emr/check-emr-steps.yaml rename to aws/emr/check-emr-steps.yaml index 3b52047..a120e59 100644 --- a/aws/sensu-plugins/emr/check-emr-steps.yaml +++ b/aws/emr/check-emr-steps.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-emr-steps + name: check-emr-steps spec: command: >- check-emr-steps.rb diff --git a/aws/sensu-plugins/emr/metrics-emr-steps.yaml b/aws/emr/metrics-emr-steps.yaml similarity index 99% rename from aws/sensu-plugins/emr/metrics-emr-steps.yaml rename to aws/emr/metrics-emr-steps.yaml index 87feb97..b23f768 100644 --- a/aws/sensu-plugins/emr/metrics-emr-steps.yaml +++ b/aws/emr/metrics-emr-steps.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-emr-steps + name: metrics-emr-steps spec: command: >- metrics-emr-steps.rb diff --git a/aws/sensu-plugins/eni/check-eni-status.yaml b/aws/eni/check-eni-status.yaml similarity index 99% rename from aws/sensu-plugins/eni/check-eni-status.yaml rename to aws/eni/check-eni-status.yaml index 0da8141..a144cc8 100644 --- a/aws/sensu-plugins/eni/check-eni-status.yaml +++ b/aws/eni/check-eni-status.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-eni-status + name: check-eni-status spec: command: >- check-eni-status.rb diff --git a/aws/sensu-plugins/kms/check-kms-key.yaml b/aws/kms/check-kms-key.yaml similarity index 99% rename from aws/sensu-plugins/kms/check-kms-key.yaml rename to aws/kms/check-kms-key.yaml index a3c16e5..93e65db 100644 --- a/aws/sensu-plugins/kms/check-kms-key.yaml +++ b/aws/kms/check-kms-key.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-kms-key + name: check-kms-key spec: command: >- check-kms-key.rb diff --git a/aws/sensu-plugins/rds/check-rds-events.yaml b/aws/rds/check-rds-events.yaml similarity index 99% rename from aws/sensu-plugins/rds/check-rds-events.yaml rename to aws/rds/check-rds-events.yaml index cf6a12f..c6f26a3 100644 --- a/aws/sensu-plugins/rds/check-rds-events.yaml +++ b/aws/rds/check-rds-events.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-rds-events + name: check-rds-events spec: command: >- check-rds-events diff --git a/aws/sensu-plugins/rds/check-rds-pending.yaml b/aws/rds/check-rds-pending.yaml similarity index 99% rename from aws/sensu-plugins/rds/check-rds-pending.yaml rename to aws/rds/check-rds-pending.yaml index 9670bc1..f9a9d25 100644 --- a/aws/sensu-plugins/rds/check-rds-pending.yaml +++ b/aws/rds/check-rds-pending.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-rds-pending + name: check-rds-pending spec: command: >- check-rds-pending.rb diff --git a/aws/sensu-plugins/rds/check-rds.yaml b/aws/rds/check-rds.yaml similarity index 99% rename from aws/sensu-plugins/rds/check-rds.yaml rename to aws/rds/check-rds.yaml index 94388c2..c77ea53 100644 --- a/aws/sensu-plugins/rds/check-rds.yaml +++ b/aws/rds/check-rds.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-rds + name: check-rds spec: command: >- check-rds.rb diff --git a/aws/sensu-plugins/rds/metrics-rds.yaml b/aws/rds/metrics-rds.yaml similarity index 99% rename from aws/sensu-plugins/rds/metrics-rds.yaml rename to aws/rds/metrics-rds.yaml index 5ae931f..f5774e2 100644 --- a/aws/sensu-plugins/rds/metrics-rds.yaml +++ b/aws/rds/metrics-rds.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-rds + name: metrics-rds spec: command: >- metrics-rds.rb diff --git a/aws/sensu-plugins/redshift/check-redshift-events.yaml b/aws/redshift/check-redshift-events.yaml similarity index 99% rename from aws/sensu-plugins/redshift/check-redshift-events.yaml rename to aws/redshift/check-redshift-events.yaml index e8132c9..a0b719a 100644 --- a/aws/sensu-plugins/redshift/check-redshift-events.yaml +++ b/aws/redshift/check-redshift-events.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-redshift-events + name: check-redshift-events spec: command: >- check-redshift-events diff --git a/aws/sensu-plugins/route53/check-route53-domain-expiration.yaml b/aws/route53/check-route53-domain-expiration.yaml similarity index 98% rename from aws/sensu-plugins/route53/check-route53-domain-expiration.yaml rename to aws/route53/check-route53-domain-expiration.yaml index 123b35d..bab2565 100644 --- a/aws/sensu-plugins/route53/check-route53-domain-expiration.yaml +++ b/aws/route53/check-route53-domain-expiration.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-route53-domain-expiration + name: check-route53-domain-expiration spec: command: >- check-route53-domain-expiration.rb diff --git a/aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml b/aws/s3/check-s3-bucket-visibility.yaml similarity index 99% rename from aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml rename to aws/s3/check-s3-bucket-visibility.yaml index 89bc327..1e086c9 100644 --- a/aws/sensu-plugins/s3/check-s3-bucket-visibility.yaml +++ b/aws/s3/check-s3-bucket-visibility.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-s3-bucket-visibility + name: check-s3-bucket-visibility spec: command: >- check-s3-bucket-visibility.rb diff --git a/aws/sensu-plugins/s3/check-s3-bucket.yaml b/aws/s3/check-s3-bucket.yaml similarity index 99% rename from aws/sensu-plugins/s3/check-s3-bucket.yaml rename to aws/s3/check-s3-bucket.yaml index 41fd764..53f9b9f 100644 --- a/aws/sensu-plugins/s3/check-s3-bucket.yaml +++ b/aws/s3/check-s3-bucket.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-s3-bucket + name: check-s3-bucket spec: command: >- check-s3-bucket.rb diff --git a/aws/sensu-plugins/s3/check-s3-object.yaml b/aws/s3/check-s3-object.yaml similarity index 99% rename from aws/sensu-plugins/s3/check-s3-object.yaml rename to aws/s3/check-s3-object.yaml index e6e98f2..58fcf76 100644 --- a/aws/sensu-plugins/s3/check-s3-object.yaml +++ b/aws/s3/check-s3-object.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-s3-object + name: check-s3-object spec: command: >- check-s3-object.rb diff --git a/aws/sensu-plugins/s3/check-s3-tag.yaml b/aws/s3/check-s3-tag.yaml similarity index 99% rename from aws/sensu-plugins/s3/check-s3-tag.yaml rename to aws/s3/check-s3-tag.yaml index 3988106..bd0ea29 100644 --- a/aws/sensu-plugins/s3/check-s3-tag.yaml +++ b/aws/s3/check-s3-tag.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-s3-tag + name: check-s3-tag spec: command: >- check-s3-tag.rb diff --git a/aws/sensu-plugins/s3/metrics-s3.yaml b/aws/s3/metrics-s3.yaml similarity index 99% rename from aws/sensu-plugins/s3/metrics-s3.yaml rename to aws/s3/metrics-s3.yaml index 02a7e62..4f956b2 100644 --- a/aws/sensu-plugins/s3/metrics-s3.yaml +++ b/aws/s3/metrics-s3.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-s3 + name: metrics-s3 spec: command: >- metrics-s3.rb diff --git a/aws/sensu-aws/alb/check-alb-target-group-health.yaml b/aws/sensu-aws/alb/check-alb-target-group-health.yaml deleted file mode 100644 index 7b3e344..0000000 --- a/aws/sensu-aws/alb/check-alb-target-group-health.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check the health of Application Load Balancer (ALB) target groups -# -# Instructions -# 1. Add the "aws" or "aws/alb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-alb-target-group-health -spec: - command: >- - check-alb-target-group-health - --aws_region={{ .annotations.check_alb_target_group_health_aws_region | default "us-east-1" }} - --target_groups={{ .annotations.check_alb_target_group_health_target_groups | default "target-group-1" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/alb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml deleted file mode 100644 index e38e493..0000000 --- a/aws/sensu-aws/cloudwatch/check-cloudwatch-alarm.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check the status of a cloudwatch alarm -# -# Instructions -# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should -# run this check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-cloudwatch-alarm -spec: - command: >- - check-cloudwatch-alarm - --aws_region={{ .annotations.check_cloudwatch_alarm_aws_region | default "us-east-1" }} - --state={{ .annotations.check_cloudwatch_alarm_state | default "ALARM" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/cloudwatch - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml deleted file mode 100644 index f57de50..0000000 --- a/aws/sensu-aws/cloudwatch/check-cloudwatch-alarms.yaml +++ /dev/null @@ -1,91 +0,0 @@ ---- -# Description -# Check the status of a cloudwatch alarm, with exclusions -# -# Instructions -# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should -# run this check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-cloudwatch-alarms -spec: - command: >- - check-cloudwatch-alarms - --aws_region={{ .annotations.check_cloudwatch_alarms_aws_region | default "us-east-1" }} - --state={{ .annotations.check_cloudwatch_alarms_state | default "ALARM" }} - --exclude_alarms={{ .annotations.check_cloudwatch_alarms_exclude_alarms | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/cloudwatch - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml b/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml deleted file mode 100644 index 51ef634..0000000 --- a/aws/sensu-aws/cloudwatch/check-cloudwatch-composite-metric.yaml +++ /dev/null @@ -1,98 +0,0 @@ ---- -# Description -# Retrieve two CloudWatch metric values and compute percentages to trigger alarm -# -# Instructions -# 1. Add the "aws" or "aws/cloudwatch" subscriptions to agents that should -# run this check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-cloudwatch-composite-metric -spec: - command: >- - check-cloudwatch-composite-metric - --aws_region={{ .annotations.check_cloudwatch_composite_metric_aws_region | default "us-east-1" }} - --state={{ .annotations.check_cloudwatch_composite_metric_state | default "ALARM" }} - --exclude_alarms={{ .annotations.check_cloudwatch_composite_metrics_exclude_alarms | default "" }} - --namespace={{ .annotations.check_cloudwatch_composite_metrics_namespace | default "AWS/EC2" }} - --dimensions={{ .annotations.check_cloudwatch_composite_metrics_dimensions | default "" }} - --period={{ .annotations.check_cloudwatch_composite_metrics_period | default 60 }} - --statistic={{ .annotations.check_cloudwatch_composite_metrics_statistic | default "Average" }} - --compare={{ .annotations.check_cloudwatch_composite_metrics_compare | default "greater" }} - --critical={{ .annotations.check_cloudwatch_composite_metrics_critical | default 0 }} - --warning={{ .annotations.check_cloudwatch_composite_metrics_warning | default 0 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/cloudwatch - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ebs/check-ebs-burst-limit.yaml b/aws/sensu-aws/ebs/check-ebs-burst-limit.yaml deleted file mode 100644 index 14b8ff7..0000000 --- a/aws/sensu-aws/ebs/check-ebs-burst-limit.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# Description -# Check for EBS volumes with low burst balance -# -# Instructions -# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-ebs-burst-limit -spec: - command: >- - check-ebs-burst-limit - --aws_region={{ .annotations.check_ebs_burst_limit_aws_region | default "us-east-1" }} - --warning={{ .annotations.check_ebs_burst_limit_warning | default 10 }} - --critical={{ .annotations.check_ebs_burst_limit_critical | default 50 }} - --check_self={{ .annotations.check_ebs_burst_limit_check_self | default "false" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ebs - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ebs/check-ebs-snapshots.yaml b/aws/sensu-aws/ebs/check-ebs-snapshots.yaml deleted file mode 100644 index 39a918e..0000000 --- a/aws/sensu-aws/ebs/check-ebs-snapshots.yaml +++ /dev/null @@ -1,91 +0,0 @@ ---- -# Description -# Check EC2 attached volumes for snapshots (only with a name tag) -# -# Instructions -# 1. Add the "aws" or "aws/ebs" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-ebs-snapshots -spec: - command: >- - check-ebs-snapshots - --aws_region={{ .annotations.check_ebs_snapshots_aws_region | default "us-east-1" }} - --period={{ .annotations.check_ebs_snapshots_period | default 7 }} - --check_ignored={{ .annotations.check_ebs_snapshots_check_ignored | default "true" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ebs - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml b/aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml deleted file mode 100644 index 9360235..0000000 --- a/aws/sensu-aws/ec2/check-ec2-cpu_balance.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# Description -# Check the CPU balance for EC2 instances -# -# Instructions -# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-ec2-cpu_balance -spec: - command: >- - check-ec2-cpu_balance - --aws_region={{ .annotations.check_ec2_cpu_balance_aws_region | default "us-east-1" }} - --warning={{ .annotations.check_ec2_cpu_balance_warning | default 2.3 }} - --critical={{ .annotations.check_ec2_cpu_balance_critical | default 1.2 }} - --tag={{ .annotations.check_ec2_cpu_balance_tag | default "NAME" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ec2 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ec2/check-ec2-filter.yaml b/aws/sensu-aws/ec2/check-ec2-filter.yaml deleted file mode 100644 index 719c105..0000000 --- a/aws/sensu-aws/ec2/check-ec2-filter.yaml +++ /dev/null @@ -1,96 +0,0 @@ ---- -# Description -# Retrieves EC2 instances matching a filter, returning the number matched -# -# Instructions -# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-ec2-filter -spec: - command: >- - check-ec2-filter - --aws_region={{ .annotations.check_ec2_filter_aws_region | default "us-east-1" }} - --warning={{ .annotations.check_ec2_filter_warning | default 1 }} - --critical={{ .annotations.check_ec2_filter_critical | default 2 }} - --exclude_tags={{ .annotations.check_ec2_filter_exclude_tags | default "{}" }} - --compare={{ .annotations.check_ec2_filter_compare | default "equal" }} - --detailed_message={{ .annotations.check_ec2_filter_detailed_message | default "false" }} - --min_running_secs={{ .annotations.check_ec2_filter_min_running_secs | default 0 }} - --filters={{ .annotations.check_ec2_filter_filters | default "{\"filters\" : [{\"name\" : \"instance-state-name\", \"values\": [\"running\"]}]}" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ec2 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ec2/check-ec2-network.yaml b/aws/sensu-aws/ec2/check-ec2-network.yaml deleted file mode 100644 index 71a3dc1..0000000 --- a/aws/sensu-aws/ec2/check-ec2-network.yaml +++ /dev/null @@ -1,95 +0,0 @@ ---- -# Description -# Check EC2 network metrics by CloudWatch -# -# Instructions -# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-ec2-network -spec: - command: >- - check-ec2-network - --aws_region={{ .annotations.check_ec2_network_aws_region | default "us-east-1" }} - --warning={{ .annotations.check_ec2_network_warning | default 1500000 }} - --critical={{ .annotations.check_ec2_network_critical | default 1000000 }} - --instance_id={{ .annotations.check_ec2_network_instance_id | default "" }} - --end_time={{ .annotations.check_ec2_network_end_time | default "NOW" }} - --period={{ .annotations.check_ec2_network_min_period | default 60 }} - --direction={{ .annotations.check_ec2_filter_direction | default "NetworkIn" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ec2 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ec2/metrics-ec2-count.yaml b/aws/sensu-aws/ec2/metrics-ec2-count.yaml deleted file mode 100644 index 6e8bae1..0000000 --- a/aws/sensu-aws/ec2/metrics-ec2-count.yaml +++ /dev/null @@ -1,95 +0,0 @@ ---- -# Description -# -# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT -# -# Provide metrics for number of EC2 instances -# -# Instructions -# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/metrics-ec2-count -spec: - command: >- - metrics-ec2-count - --aws_region {{ .annotations.metrics_ec2_count_aws_region | default "us-east-1" }} - --metric_type {{ .annotations.metrics_ec2_count_metric_type | default "instance" }} - --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ec2 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - output_metric_format: graphite_plaintext - output_metric_handlers: - - metric-storage ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/ec2/metrics-ec2-filter.yaml b/aws/sensu-aws/ec2/metrics-ec2-filter.yaml deleted file mode 100644 index cd31eda..0000000 --- a/aws/sensu-aws/ec2/metrics-ec2-filter.yaml +++ /dev/null @@ -1,97 +0,0 @@ ---- -# Description -# -# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT -# -# Provide metrics for number of EC2 instances matching a given filter -# -# Instructions -# 1. Add the "aws" or "aws/ec2" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/metrics-ec2-filter -spec: - command: >- - metrics-ec2-filter - --aws_region {{ .annotations.metrics_ec2_count_aws_region | default "us-east-1" }} - --metric_type {{ .annotations.metrics_ec2_count_metric_type | default "instance" }} - --scheme {{ .annotations.metrics_ec2_count_scheme | default "sensu.aws.ec2" }} - --filters {{ .annotations.metrics_ec2_count_filters | default "{}" }} - --filter_name {{ .annotations.metrics_ec2_count_filter_name | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/ec2 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - output_metric_format: graphite_plaintext - output_metric_handlers: - - metric-storage ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-certs.yaml b/aws/sensu-aws/elb/check-elb-certs.yaml deleted file mode 100644 index b9481ba..0000000 --- a/aws/sensu-aws/elb/check-elb-certs.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# Description -# Check the all https ELB endpoints in a region for expiring certificates -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-certs -spec: - command: >- - check-elb-certs - --aws_region={{ .annotations.check_elb_certs_aws_region | default "us-east-1" }} - --warning={{ .annotations.check_elb_certs_warning | default 30 }} - --critical={{ .annotations.check_elb_certs_critical | default 5 }} - --verbose={{ .annotations.check_elb_certs_verbose | default false }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-health-fog.yaml b/aws/sensu-aws/elb/check-elb-health-fog.yaml deleted file mode 100644 index b506b04..0000000 --- a/aws/sensu-aws/elb/check-elb-health-fog.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# Description -# Check the health of an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-health-fog -spec: - command: >- - check-elb-health-fog - --aws_region={{ .annotations.check_elb_health_fog_aws_region | default "us-east-1" }} - --elb_name={{ .annotations.check_elb_health_fog_elb_name | default "" }} - --instances={{ .annotations.check_elb_health_fog_instances | default "" }} - --verbose={{ .annotations.check_elb_health_fog_verbose | default false }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-health-sdk.yaml b/aws/sensu-aws/elb/check-elb-health-sdk.yaml deleted file mode 100644 index 9c9fcf5..0000000 --- a/aws/sensu-aws/elb/check-elb-health-sdk.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -# Description -# Check the health of an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-health-sdk -spec: - command: >- - check-elb-health-sdk - --aws_region={{ .annotations.check_elb_health_sdk_aws_region | default "us-east-1" }} - --elb_name={{ .annotations.check_elb_health_sdk_elb_name | default "" }} - --instances={{ .annotations.check_elb_health_sdk_instances | default "" }} - --verbose={{ .annotations.check_elb_health_sdk_verbose | default false }} - --instance_tag={{ .annotations.check_elb_health_sdk_instance_tag | default "NAME" }} - --warn_only={{ .annotations.check_elb_health_sdk_warn_only | default false }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-instances-inservice.yaml b/aws/sensu-aws/elb/check-elb-instances-inservice.yaml deleted file mode 100644 index 2847979..0000000 --- a/aws/sensu-aws/elb/check-elb-instances-inservice.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check the health of an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-instances-inservice -spec: - command: >- - check-elb-instances-inservice - --aws_region={{ .annotations.check_elb_instances_inservice_aws_region | default "us-east-1" }} - --elb_name={{ .annotations.check_elb_instances_inservice_elb_name | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-latency.yaml b/aws/sensu-aws/elb/check-elb-latency.yaml deleted file mode 100644 index 620abc2..0000000 --- a/aws/sensu-aws/elb/check-elb-latency.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -# Description -# Check the latency of an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-latency -spec: - command: >- - check-elb-latency - --aws_region={{ .annotations.check_elb_latency_aws_region | default "us-east-1" }} - --elb_names={{ .annotations.check_elb_latency_elb_names | default "" }} - --period={{ .annotations.check_elb_latency_period | default 60 }} - --statistics={{ .annotations.check_elb_latency_statistics | default "average" }} - --critical_over={{ .annotations.check_elb_latency_critical_over | default 60 }} - --warning_over={{ .annotations.check_elb_latency_warning_over | default 60 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-nodes.yaml b/aws/sensu-aws/elb/check-elb-nodes.yaml deleted file mode 100644 index 19642b1..0000000 --- a/aws/sensu-aws/elb/check-elb-nodes.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -# Description -# Check that minimum number or percentage of nodes are in service in an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-nodes -spec: - command: >- - check-elb-nodes - --aws_region={{ .annotations.check_elb_nodes_aws_region | default "us-east-1" }} - --elb_name={{ .annotations.check_elb_nodes_elb_name | default "" }} - --critical={{ .annotations.check_elb_nodes_critical | default -1 }} - --warning={{ .annotations.check_elb_nodes_warning | default -1 }} - --critical_percentage={{ .annotations.check_elb_nodes_critical_percentage | default -1 }} - --warning_percentage={{ .annotations.check_elb_nodes_warning_percentage | default -1 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/check-elb-sum-requests.yaml b/aws/sensu-aws/elb/check-elb-sum-requests.yaml deleted file mode 100644 index dd6ec0b..0000000 --- a/aws/sensu-aws/elb/check-elb-sum-requests.yaml +++ /dev/null @@ -1,93 +0,0 @@ ---- -# Description -# Check sum of ELB requests -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-elb-sum-requests -spec: - command: >- - check-elb-sum-requests - --aws_region={{ .annotations.check_elb_sum_requests_aws_region | default "us-east-1" }} - --elb_names={{ .annotations.check_elb_sum_requests_elb_names | default "" }} - --period={{ .annotations.check_elb_sum_requests_period | default 60 }} - --critical_over={{ .annotations.check_elb_sum_requests_critical_over| default 60 }} - --warning_over={{ .annotations.check_elb_sum_requests_warning_over| default 60 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/elb/metrics-elb.yaml b/aws/sensu-aws/elb/metrics-elb.yaml deleted file mode 100644 index 1d6c669..0000000 --- a/aws/sensu-aws/elb/metrics-elb.yaml +++ /dev/null @@ -1,98 +0,0 @@ ---- -# Description -# -# NOTE: DOES NOT ACTUALLY OUTPUT METRICS IN A USABLE FORMAT -# -# Provide specified metrics for an ELB -# -# Instructions -# 1. Add the "aws" or "aws/elb" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/metrics-elb -spec: - command: >- - metrics-elb - --aws_region {{ .annotations.metrics_elb_aws_region | default "us-east-1" }} - --elb_name {{ .annotations.metrics_elb_elb_name | default "" }} - --period {{ .annotations.metrics_elb_period | default 60 }} - --fetch_age {{ .annotations.metrics_elb_fetch_age | default 60 }} - --critical_over {{ .annotations.metrics_elb_critical_over | default 60 }} - --warning_over {{ .annotations.metrics_elb_warning_over | default 60 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/elb - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - output_metric_format: graphite_plaintext - output_metric_handlers: - - metric-storage ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/rds/check-rds-events.yaml b/aws/sensu-aws/rds/check-rds-events.yaml deleted file mode 100644 index 480f576..0000000 --- a/aws/sensu-aws/rds/check-rds-events.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check RDS clusters for critical events -# -# Instructions -# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-rds-events -spec: - command: >- - check-rds-events - --aws_region={{ .annotations.check_rds_events_aws_region | default "us-east-1" }} - --db_instance_id={{ .annotations.check_rds_events_db_instance_id | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/rds - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/rds/check-rds-pending.yaml b/aws/sensu-aws/rds/check-rds-pending.yaml deleted file mode 100644 index 991f0dd..0000000 --- a/aws/sensu-aws/rds/check-rds-pending.yaml +++ /dev/null @@ -1,89 +0,0 @@ ---- -# Description -# Check RDS clusters for pending maintenance actions -# -# Instructions -# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-rds-pending -spec: - command: >- - check-rds-pending - --aws_region={{ .annotations.check_rds_pending_aws_region | default "us-east-1" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/rds - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/rds/check-rds.yaml b/aws/sensu-aws/rds/check-rds.yaml deleted file mode 100644 index eff4503..0000000 --- a/aws/sensu-aws/rds/check-rds.yaml +++ /dev/null @@ -1,100 +0,0 @@ ---- -# Description -# Check RDS instance statuses by RDS and Cloudwatch -# -# Instructions -# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-rds -spec: - command: >- - check-rds - --aws_region={{ .annotations.check_rds_aws_region | default "us-west-1" }} - --db_instance_id={{ .annotations.check_rds_db_instance_id | default "" }} - --scheme={{ .annotations.check_rds_scheme | default "" }} - --fetch_age={{ .annotations.check_rds_fetch_age | default 0 }} - --period={{ .annotations.check_rds_period | default 180 }} - --statistic={{ .annotations.check_rds_statistic | default "average" }} - --db_cluster_id={{ .annotations.check_rds_db_cluster_id | default "" }} - --accept_nil={{ .annotations.check_rds_accept_nil | default "false" }} - --availability_zone_severity={{ .annotations.check_rds_availability_zone_severity | default "critical" }} - --available_zone={{ .annotations.check_rds_availability_zone | default "us-west-1a" }} - --cpu_critical_over={{ .annotations.check_rds_cpu_critical_over | default 80 }} - --cpu_warning_over={{ .annotations.check_rds_cpu_warning_over | default 40 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/rds - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/rds/metrics-rds.yaml b/aws/sensu-aws/rds/metrics-rds.yaml deleted file mode 100644 index 083adc1..0000000 --- a/aws/sensu-aws/rds/metrics-rds.yaml +++ /dev/null @@ -1,95 +0,0 @@ ---- -# Description -# -# Provide RDS metrics from Cloudwatch -# -# Instructions -# 1. Add the "aws" or "aws/rds" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/metrics-rds -spec: - command: >- - metrics-rds - --aws_region={{ .annotations.metrics_rds_aws_region | default "us-east-1" }} - --db_instance_id={{ .annotations.metrics_rds_db_instance_id | default "" }} - --scheme={{ .annotations.metrics_rds_scheme | default "" }} - --fetch_age={{ .annotations.metrics_rds_fetch_age | default 0 }} - --period={{ .annotations.metrics_rds_period | default 60 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/rds - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - output_metric_format: graphite_plaintext - output_metric_handlers: - - metric-storage ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/s3/check-s3-bucket-visibility.yaml b/aws/sensu-aws/s3/check-s3-bucket-visibility.yaml deleted file mode 100644 index f854c92..0000000 --- a/aws/sensu-aws/s3/check-s3-bucket-visibility.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -# Description -# Check S3 bucket for website configuration and bucket policy -# -# Instructions -# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-s3-bucket-visibility -spec: - command: >- - check-s3-bucket-visibility - --aws_region={{ .annotations.check_s3_bucket_visibility_aws_region | default "us-west-1" }} - --bucket_names={{ .annotations.check_s3_bucket_visibility_bucket_names | default "" }} - --all_buckets={{ .annotations.check_s3_bucket_visibility_all_buckets | default "false" }} - --exclude_buckets={{ .annotations.check_s3_bucket_visibility_exclude_buckets | default "" }} - --exclude_buckets_regex={{ .annotations.check_s3_bucket_visibility_exclude_buckets_regex | default "" }} - --critical_on_missing={{ .annotations.check_s3_bucket_visibility_critical_on_missing | default "false" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/s3 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/s3/check-s3-bucket.yaml b/aws/sensu-aws/s3/check-s3-bucket.yaml deleted file mode 100644 index cb774df..0000000 --- a/aws/sensu-aws/s3/check-s3-bucket.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check S3 bucket existence -# -# Instructions -# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-s3-bucket -spec: - command: >- - check-s3-bucket - --aws_region={{ .annotations.check_s3_bucket_aws_region | default "us-west-1" }} - --bucket_name={{ .annotations.check_s3_bucket_bucket_name | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/s3 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/s3/check-s3-object.yaml b/aws/sensu-aws/s3/check-s3-object.yaml deleted file mode 100644 index a6cad62..0000000 --- a/aws/sensu-aws/s3/check-s3-object.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -# Description -# Check if object exists in S3 bucket -# -# Instructions -# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-s3-object -spec: - command: >- - check-s3-object - --aws_region={{ .annotations.check_s3_object_aws_region | default "us-west-1" }} - --bucket_name={{ .annotations.check_s3_object_bucket_name | default "" }} - --key_name={{ .annotations.check_s3_object_key_name | default "" }} - --key_prefix={{ .annotations.check_s3_object_key_prefix | default "" }} - --warning_age={{ .annotations.check_s3_object_warning_age | default 90000 }} - --critical_age={{ .annotations.check_s3_object_critical_age | default 126000 }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/s3 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/s3/check-s3-tag.yaml b/aws/sensu-aws/s3/check-s3-tag.yaml deleted file mode 100644 index b7f9b30..0000000 --- a/aws/sensu-aws/s3/check-s3-tag.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -# Description -# Check if S3 buckets have a set of tags -# -# Instructions -# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/check-s3-tag -spec: - command: >- - check-s3-tag - --aws_region={{ .annotations.check_s3_tag_aws_region | default "us-west-1" }} - --tag_keys={{ .annotations.check_s3_tag_tag_keys | default "" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/s3 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - handlers: - - alert ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-aws/s3/metrics-s3.yaml b/aws/sensu-aws/s3/metrics-s3.yaml deleted file mode 100644 index b3de660..0000000 --- a/aws/sensu-aws/s3/metrics-s3.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# Description -# -# Provide S3 metrics from Cloudwatch -# -# Instructions -# 1. Add the "aws" or "aws/s3" subscriptions to agents that should run this -# check. -# 2. More configuration options are available for this plugin; please see the -# plugin documentation for more details. -# -# Documentation -# - Usage: https://github.com/sensu/sensu-aws#usage-examples -# -# Contributors -# The following individuals have contributed to this configuration template: -# - Todd Campbell, @nixwiz -# - Caleb Hailey, @calebhailey -type: CheckConfig -api_version: core/v2 -metadata: - name: sensu-aws/metrics-s3 -spec: - command: >- - metrics-s3 - --aws_region={{ .annotations.metrics_s3_aws_region | default "us-east-1" }} - --scheme={{ .annotations.metrics_s3_scheme | default "sensu.aws.s3.buckets" }} - runtime_assets: - - sensu/sensu-aws:0.0.5 - publish: false - subscriptions: - - aws - - aws/s3 - interval: 30 - timeout: 10 - ttl: 0 - proxy_entity_name: "" - stdin: false - output_metric_format: graphite_plaintext - output_metric_handlers: - - metric-storage ---- -type: Asset -api_version: core/v2 -metadata: - name: sensu-aws:0.0.5 - labels: - annotations: - io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu/sensu-aws - io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu/sensu-aws - io.sensu.bonsai.tier: Supported - io.sensu.bonsai.version: 0.0.5 - io.sensu.bonsai.namespace: sensu - io.sensu.bonsai.name: sensu-aws - io.sensu.bonsai.tags: aws, collection, ec2, elb, rds, s3 -spec: - builds: - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_windows_amd64.tar.gz - sha512: 408e11c13969c23b75112f0c86b22ec60c1d42e95f39101100ae4d8febc4af40dd2433fc29ba751b932722ccad4bdf7ed78c3fc79efb97c9c1db24d1d8cc3d7b - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_386.tar.gz - sha512: 86dba952999f79aec037081aa058d055c08b349f55b9e7e817b05b42d3cdf2cdda61bd3b77014696f73c026c6d1106bcf41e14114455672a0e427a8bb3bebcc7 - filters: - - entity.system.os == 'darwin' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_darwin_amd64.tar.gz - sha512: b295a569baf7509cc9849a16e0da5e2e618878f54779a933ec94876308ff08e0e28437dbca0987c4126cd0ca996fba4274549796e77283dd0a9926c432a4b3dd - filters: - - entity.system.os == 'darwin' - - entity.system.arch == 'amd64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_armv7.tar.gz - sha512: c49f3b663f6810bec33806466b3cbc48f52af27f397b85d5fcaca8d1478c40abb2d7f91200eb40cfdcdd6bdddb4fd4d4bc60cf3011e3091e444594d52f61794f - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'armv7' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_arm64.tar.gz - sha512: 04624c762fe82d1cd187aaf4538ced1407e90ede97a235c80ca33be1ee40a10a97263cecc85ac29a54637e1a27bebe4787a4fca36a7af177d164dad0e3a022cf - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'arm64' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_386.tar.gz - sha512: d9e2616b125c3fbe070117fde8667390c9bf181408fa24aaa7d0e0bdfe369cfe0cf207ddc9d4e122a905f600f17f3da0c105090d0602a1f64732d1ba6f71ede1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == '386' - - url: https://assets.bonsai.sensu.io/026536af6e164b71a19128e2811c1af579f96324/sensu-aws_0.0.5_linux_amd64.tar.gz - sha512: e330969997574caecb973eba004fd74f2d3fb866ed07f524f6b96ec7290691e3a5dff1766869c675d6c56784c482121e00ffa52e6e95f3512d1baaa706af3dc1 - filters: - - entity.system.os == 'linux' - - entity.system.arch == 'amd64' diff --git a/aws/sensu-plugins/ses/check-ses-limit.yaml b/aws/ses/check-ses-limit.yaml similarity index 99% rename from aws/sensu-plugins/ses/check-ses-limit.yaml rename to aws/ses/check-ses-limit.yaml index 0dbf0f1..3f2fe4e 100644 --- a/aws/sensu-plugins/ses/check-ses-limit.yaml +++ b/aws/ses/check-ses-limit.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ses-limit + name: check-ses-limit spec: command: >- check-ses-limit.rb diff --git a/aws/sensu-plugins/ses/check-ses-statistics.yaml b/aws/ses/check-ses-statistics.yaml similarity index 99% rename from aws/sensu-plugins/ses/check-ses-statistics.yaml rename to aws/ses/check-ses-statistics.yaml index 6fbfac1..2689565 100644 --- a/aws/sensu-plugins/ses/check-ses-statistics.yaml +++ b/aws/ses/check-ses-statistics.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-ses-statistics + name: check-ses-statistics spec: command: >- check-ses-statistics.rb diff --git a/aws/sensu-plugins/ses/metrics-ses.yaml b/aws/ses/metrics-ses.yaml similarity index 99% rename from aws/sensu-plugins/ses/metrics-ses.yaml rename to aws/ses/metrics-ses.yaml index f805f7b..ead5e80 100644 --- a/aws/sensu-plugins/ses/metrics-ses.yaml +++ b/aws/ses/metrics-ses.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-ses + name: metrics-ses spec: command: >- metrics-ses.rb diff --git a/aws/sensu-plugins/sns/check-sns-subscriptions.yaml b/aws/sns/check-sns-subscriptions.yaml similarity index 99% rename from aws/sensu-plugins/sns/check-sns-subscriptions.yaml rename to aws/sns/check-sns-subscriptions.yaml index 7a1f9fb..7d0a71e 100644 --- a/aws/sensu-plugins/sns/check-sns-subscriptions.yaml +++ b/aws/sns/check-sns-subscriptions.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-sns-subscriptions + name: check-sns-subscriptions spec: command: >- check-sns-subscriptions.rb diff --git a/aws/sensu-plugins/sqs/check-sqs-messages.yaml b/aws/sqs/check-sqs-messages.yaml similarity index 99% rename from aws/sensu-plugins/sqs/check-sqs-messages.yaml rename to aws/sqs/check-sqs-messages.yaml index 07e8e80..65129db 100644 --- a/aws/sensu-plugins/sqs/check-sqs-messages.yaml +++ b/aws/sqs/check-sqs-messages.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-sqs-messages + name: check-sqs-messages spec: command: >- check-sqs-messages.rb diff --git a/aws/sensu-plugins/sqs/metrics-sqs.yaml b/aws/sqs/metrics-sqs.yaml similarity index 99% rename from aws/sensu-plugins/sqs/metrics-sqs.yaml rename to aws/sqs/metrics-sqs.yaml index d1eb05c..70f2d55 100644 --- a/aws/sensu-plugins/sqs/metrics-sqs.yaml +++ b/aws/sqs/metrics-sqs.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-sqs + name: metrics-sqs spec: command: >- metrics-sqs.rb diff --git a/aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml b/aws/trustedadvisor/check-trustedadvisor-service-limits.yaml similarity index 98% rename from aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml rename to aws/trustedadvisor/check-trustedadvisor-service-limits.yaml index 44af306..02f9522 100644 --- a/aws/sensu-plugins/trustedadvisor/check-trustedadvisor-service-limits.yaml +++ b/aws/trustedadvisor/check-trustedadvisor-service-limits.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-trustedadvisor-service-limits + name: check-trustedadvisor-service-limits spec: command: >- check-trustedadvisor-service-limits.rb diff --git a/aws/sensu-plugins/vpc/check-route.yaml b/aws/vpc/check-route.yaml similarity index 99% rename from aws/sensu-plugins/vpc/check-route.yaml rename to aws/vpc/check-route.yaml index c903e54..65e1afd 100644 --- a/aws/sensu-plugins/vpc/check-route.yaml +++ b/aws/vpc/check-route.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-route + name: check-route spec: command: >- check-route.rb diff --git a/aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml b/aws/vpc/check-subnet-ip-consumption.yaml similarity index 99% rename from aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml rename to aws/vpc/check-subnet-ip-consumption.yaml index 7a73fec..0cbaac6 100644 --- a/aws/sensu-plugins/vpc/check-subnet-ip-consumption.yaml +++ b/aws/vpc/check-subnet-ip-consumption.yaml @@ -19,7 +19,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-subnet-ip-consumption + name: check-subnet-ip-consumption spec: command: >- check-subnet-ip-consumption.rb diff --git a/aws/sensu-plugins/vpc/check-vpc-nameservers.yaml b/aws/vpc/check-vpc-nameservers.yaml similarity index 99% rename from aws/sensu-plugins/vpc/check-vpc-nameservers.yaml rename to aws/vpc/check-vpc-nameservers.yaml index 298644c..8261cdf 100644 --- a/aws/sensu-plugins/vpc/check-vpc-nameservers.yaml +++ b/aws/vpc/check-vpc-nameservers.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-vpc-nameservers + name: check-vpc-nameservers spec: command: >- check-vpc-nameservers.rb diff --git a/aws/sensu-plugins/vpc/check-vpc-vpn.yaml b/aws/vpc/check-vpc-vpn.yaml similarity index 99% rename from aws/sensu-plugins/vpc/check-vpc-vpn.yaml rename to aws/vpc/check-vpc-vpn.yaml index b3617bf..08996f9 100644 --- a/aws/sensu-plugins/vpc/check-vpc-vpn.yaml +++ b/aws/vpc/check-vpc-vpn.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/check-vpc-vpc + name: check-vpc-vpc spec: command: >- check-vpc-vpc.rb diff --git a/aws/sensu-plugins/waf/metrics-waf.yaml b/aws/waf/metrics-waf.yaml similarity index 99% rename from aws/sensu-plugins/waf/metrics-waf.yaml rename to aws/waf/metrics-waf.yaml index bbf50a2..5b2815f 100644 --- a/aws/sensu-plugins/waf/metrics-waf.yaml +++ b/aws/waf/metrics-waf.yaml @@ -18,7 +18,7 @@ type: CheckConfig api_version: core/v2 metadata: - name: sensu-plugins-aws/metrics-waf + name: metrics-waf spec: command: >- metrics-waf.rb