Giter Club home page Giter Club logo

handler-plugin-template's Introduction

sensu

Build Status Gem Version MIT Licensed Join the chat at https://slack.sensu.io/

⚠️ ANNOUNCEMENT - Sensu 1.x has reached End-Of-Life (December 31st, 2019)

The Sensu 1.x project reached end-of-life on December 31st, 2019. The existing package repositories became unreachable on January 6th, 2020. Please see our blog post for more details: https://blog.sensu.io/announcing-the-sensu-archives

Sensu 1.x has been superseded by Sensu Go.

As always, we want to hear from the Community and please reach out on Slack or Discourse if you have any questions or concerns.

Sensu

A simple, malleable, and scalable framework for composing the monitoring system you need.

Sensu is offered in two flavors:

  • Sensu Core - this open source project
  • Sensu Enterprise - a full-featured commercial implementation, built on Sensu Core

Installation

Sensu supports a number of Unix-like platforms, as well as Windows. Please see the list of supported platforms for installation instructions.

Documentation

Please refer to the online documentation for details on configuring and operating Sensu.

Getting Help

If you have questions not covered by the documentation, the Sensu community is here to help. Please check out our chat on Slack, or the sensu-users discussion list.

Commercial support is also available. See the support section of our website for more detail.

Contributing

Please observe these guidelines on contributing.

License

Sensu Core is released under the MIT license.

handler-plugin-template's People

Contributors

amdprophet avatar echlebek avatar jspaleta avatar nixwiz avatar palourde avatar thoward avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

handler-plugin-template's Issues

Document support for HTTP proxy environment variables

As the SDK provides an HTTP client built on net/http, handler plugins built with the SDK tend to honor HTTP proxy environment variables as documented in https://golang.org/pkg/net/http/#ProxyFromEnvironment — I’ve tested this with the sensu-slack-handler and sensu-pagerduty-handler plugins.

If the README template included a section summarizing the environment variables which can be used to configure plugins to use an HTTP proxy, I think it would be helpful for end users of the projects generated from this template repo.

Using corev2 breaks template with updated version

Updating go modules breaks current template:

# rename module name in go.mod
go get -u
go mod tidy
go test -v                                                
# github.com/test/test [github.com/test/test.test]
./main.go:40:63: cannot use checkArgs (value of type func(event *"github.com/sensu/sensu-go/api/core/v2".Event) error) as func(event *"github.com/sensu/core/v2".Event) error value in argument to sensu.NewGoHandler
./main.go:40:74: cannot use executeHandler (value of type func(event *"github.com/sensu/sensu-go/api/core/v2".Event) error) as func(event *"github.com/sensu/core/v2".Event) error value in argument to sensu.NewGoHandler
FAIL    github.com/test/test [build failed]

update version are:

github.com/sensu/sensu-go/api/core/v2 v2.16.0
github.com/sensu/sensu-plugin-sdk v0.18.0

Update goreleaser ldflags

looks like we have the wrong ldflags set in the goreleaser.yml

version is not being set correctly.

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.