Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name

This asset has compilation errors
  • Version 0.0.1: cannot find a Bonsai configuration file

v0.0.1 · public · Published 8 months ago

Asset Definition
Release Notes
Release Assets

Sensu EC2 Discovery

The Sensu EC2 Discovery is a Sensu Check Plugin that collects AWS EC2
instance data from the EC2 API and manages a Sensu Proxy Client for
each EC2 instance.


Download the latest version of the sensu-ec2-discovery binary from


Example Sensu 1.x check definition:

  "checks": {
    "ec2_discovery": {
      "command": "sensu-ec2-discovery -api",
      "subscribers": ["discovery"],
      "interval": 3600

Usage Examples


$ sensu-ec2-discovery -help
Usage of sensu-ec2-discovery:
  -api value
        api url
  -region value
        region list
  -state value
        state list
  -tag value
        tag key=value list

If you do not provide an API:


Missing mandatory flag 'api'.

To discover running instances in every region:
        ./sensu-ec2-discover -api http://user:password@

To discover running and pending instances in specific regions:
        ./sensu-ec2-discover -api http://user:password@ -state running -state pending -region us-west-1 -region us-west-2

To discover running instances with a specific tag key/value:
        ./sensu-ec2-discover -api http://user:password@ -tag environment=production

To balance the Sensu API request load accross several Sensu APIs:
        ./sensu-ec2-discover -api http://user:password@host1:4567 -api http://user:password@host2:4567

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.


You must be signed in to report this asset.

Sign In with Github



There are no asset definitions for this version, only source code:

Download Source Cancel