The Sensu SIC handler is a Sensu Event Handler that is used by SIC! Software for dispatching events based on entity annotations.
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
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
$ 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'