Giter Club home page Giter Club logo

sensu-sic-handler's Introduction

GitHub release Travis License

Sensu Go SIC Handler

The Sensu SIC handler is a Sensu Event Handler that is used by SIC! Software for dispatching events based on entity annotations.

Installation

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

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

go build -o /usr/local/bin/sensu-sic-handler main.go

Configuration

Example:

etcd-endpoints: http://etcd:2379

redmine-url: https://redmine.example.com
redmine-token: foobar

annotation-prefix: com.example
smtp-address: smtp.example.com:25
mail-from: [email protected]
slack-webhook-url: https://hooks.slack.com/services/foo/bar/foobar
slack-username: sensu
slack-icon-url: http://s3-us-west-2.amazonaws.com/sensuapp.org/sensu.png
xmpp-server: jabber.example.com
xmpp-username: [email protected]
xmpp-password: foobar

Usage examples

  $ sensu-sic-handler redmine import -c sic-handler.yml
  $ sensu-sic-handler event -c sic-handler.yml --outputs='mail'
  $ sensu-sic-handler event -c sic-handler.yml --outputs='slack'
  $ sensu-sic-handler event -c sic-handler.yml --outputs='xmpp'

sensu-sic-handler's People

Contributors

ydkn avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.