Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v0.1.0 · public · Published over 3 years ago

README
Asset Definition
Release Notes
Release Assets

The Sensu Go Squadcast handler is a Sensu Event Handler that sends event data to
a Squadcast endpoint.

Installation

Create an executable script from this source.

From the local path of the sensu-squadcast-handler repository:

go build -o /usr/local/bin/sensu-squadcast-handler

Configuration

Example Sensu Go handler definition:

squadcast-handler.yaml

type: Handler
api_version: core/v2
metadata:
  name: squadcast
  namespace: default
spec:
  command: sensu-squadcast-handler
  env_vars:
  - SENSU_SQUADCAST_APIURL= <Squadcast Alert Source Url>
  filters:
  - is_incident
  timeout: 10
  type: pipe

sensuctl create -f squadcast-handler.yaml

Example Sensu Go check definition:

api_version: core/v2
type: CheckConfig
metadata:
  namespace: default
  name: health-check
spec:
  command: check-http -u http://localhost:8080/health
  subscriptions:
  - test
  publish: true
  interval: 10
  handlers:
  - squadcast

Usage examples

Help:

The Sensu Go Squadcast handler sends Sensu events to Squadcast


Usage:
  sensu-squadcast-handler [flags]


Flags:
  -a, --api-url string   The URL for the Squadcast API
  -h, --help             help for sensu-squadcast-handler

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

Download

×

Either download the source code:

Download Source

Or download the asset definition: