Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name

v0.0.6 · public · Published over 4 years ago

Asset Definition
Release Notes
Release Assets

Sensu Go GoAlert Handler

Bonsai Asset Badge TravisCI Build Status

Sensu Go event handler that will create and close alerts in GoAlert.


Asset Registration

Assets are the best way to make use of this plugin. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:

sensuctl asset add target/sensu-go-goalert:0.0.6

If you're using an earlier version of sensuctl, you can find the asset on the Bonsai Asset Index.


Example Sensu Go handler definition (named goalert-handler.json):

  "type": "Handler",
  "api_version": "core/v2",
  "metadata": {
    "name": "goalert",
    "namespace": "default"
  "spec": {
    "type": "pipe",
    "command": "sensu-go-goalert",
    "filters": [
    "handlers": [],
    "runtime_assets": ["target/sensu-go-goalert"],
    "timeout": 15

sensuctl create -f goalert-handler.json

Example Sensu Go check definition:

  "api_version": "core/v2",
  "type": "CheckConfig",
  "metadata": {
    "namespace": "default",
    "name": "example-health"
  "spec": {
    "command": "curl -s http://localhost:3030/health",
    "subscriptions": ["example"],
    "publish": true,
    "interval": 10,
    "handlers": ["goalert"]


Download the latest version of the sensu-goalert-handler from releases, or create an executable script from this source.

go get
to install the sensu-goalert-handler binary into your GOPATH automatically.

Or, run
go build ./cmd/sensu-goalert-handler
to build the sensu-goalert-handler binary into the current directory.

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



Either download the source code:

Download Source

Or download the asset definition: