Giter VIP home page Giter VIP logo

jsonmon's People

Contributors

chillum avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

jsonmon's Issues

configurable Access-Control-Allow-Origin

Since v1.0, Access-Control-Allow-Origin header in server responses is *. This has benefits:

  • We can make complex Web portals that use jsonmon to integrate
  • We're able to test the UI in development

We may want to make this configurable as not everyone wants this. Maybe we should even set the new default to no such header (and have some environment variable to specify it's value if we really need this), but not really sure about it now.

rpm and deb packages

installing from a zip file is not convenient, we should provide Linux packages

Windows

This seems like pretty much exactly what I need: highly configurable, super-lightweight alerting system written in Go.

Do you know how much effort it would take to get this thing working on Windows?

long-running notification plugins block the check

I really have a situation like this: my custom notification plugin takes a lot of time to work. It relies on a MSFT REST service, so that's the case.

So, what's happening while it's sending.

  1. jsonmon invokes the notification plugin
  2. it hangs for a while
  3. it seems like at this point my check is waiting for notification plugin to exit to sleep and to re-check

I don't think, this behaviour is appropriate. That is: notification plugins should be async and if it has to wait, it should do it in the background.

`fixed` messages are not informative

for now it has a blank body, that can be misunderstood by recepients

it would be very nice if we include a body like {name} is back to normal. It has been down for {time}.

Basic Web auth

It would be very convenient to have the basic Web auth in jsonmon.

failure should indicate why it failed via RESTful API

API should return the reason, why the check failed. This may help when the initial reason is not more the case. Example (not sure about exact syntax yet):

[
  {
    "name": "Test",
    "web": "http://localhost",
    "failed": true,
    "why": "Get 127.0.0.1 failed"
  },
]

We probably should introduce a limit on reason's length (also applies to match).

Deprecate `web` and `shell` in one block

Someday we will drop web and shell in one block. That is:

- name:   Yandex
  shell:  ping localhost
  web:    http://localhost

I'm not sure, if there are real users of this undocumented feature, but this will give very strange notifications.

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.