Skip to content
Discover EC2 instances and manage Sensu Entities for them.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor
.bonsai.yml
.gitignore
.goreleaser.yml
.travis.yml
CHANGELOG.md
Gopkg.lock
Gopkg.toml
LICENSE
README.md
main.go

README.md

Sensu EC2 Discovery

Overview

Sensu EC2 Discovery is a sensuctl command plugin that collects AWS EC2 instance data from the EC2 API and registers a Sensu Proxy Entity for each EC2 instance.

Installation and usage

  1. Install the plugin using sensuctl:

    $ sensuctl command install ec2-discovery portertech/sensu-ec2-discovery:0.3.0
  2. Verify installation using sensuctl:

    $ sensuctl command exec ec2-discovery -h
  3. Discover EC2 instances using sensuctl:

    $ sensuctl command exec ec2-discovery --region us-west-2

Configuration

The sensu-ec2-discovery plugin expects two environment variables for AWS API authentication.

export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""
You can’t perform that action at this time.