Giter Site home page Giter Site logo

statuspage-to-slack's Introduction

statuspage.io webhook notifications for Slack

A tiny Sinatra app that receives webhooks from statuspage.io subscriptions and re-posts them as Slack formatted hooks.

Deploy

Setup

  1. Generate an incoming webhook in the Slack integration settings e.g. https://hooks.slack.com/services/<your-service-tag…>
  2. Create a new webhook on any statuspage.io status page pointing to this url. e.g. https://<your-heroku-subdomain>.herokuapp.com/services/<your-service-tag…>

Based on docker-to-slack, which itself is a fork of a fork.

NOTE: This tool is currently under construction. It should work, but it'll send through much more info that it needs to. That will be sorted soon!

statuspage-to-slack's People

Contributors

andykent avatar ciceroverneck avatar dependabot[bot] avatar mcfiredrill avatar omriiluz avatar riltsken avatar tdmalone avatar thomassnielsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

statuspage-to-slack's Issues

Formatting message in Slack

Thanks for creating this app! I was looking for a simple solution to subscribe my Slack workspace to Statuspage updates from Travis CI and GitHub, and I was surprised to find no built-in support for their webhooks.

Do you know of a simple way to augment your app or configure in Slack's "Incoming Webhooks" in order to get a richly formatted message? This is the current appearance of the translated webhook JSON content in the Slack channel:

{"meta":{"unsubscribe":"http://www.traviscistatus.com/?unsubscribe=","documentation":"https://help.statuspage.io/knowledge_base/topics/webhook-notifications","generated_at":"2019-03-15T20:33:38.711Z"},
"page":{"id":"pnpcptp8xh9k","status_indicator":"minor","status_description":"Partially Degraded Service"},"component":{"status":"degraded_performance","name":"Linux and Windows Builds",
"created_at":"2015-08-04T17:53:14.285Z","updated_at":"2019-03-15T20:33:37.657Z"
,"position":4,"description":"VM builds running in GCE. This includes both Linux (all distributions) and Windows builds.","
showcase":true,"id":"fv408yjjqhv6","page_id":"pnpcptp8xh9k","group_id":"zd1jfc33yt1p"},
"component_update":{"old_status":"operational","new_status":"degraded_performance","created_at":"2019-03-15T20:33:37.665Z","component_type":"Component","state":"sn_created","id":"tdypfxjg5xrj","component_id":"fv408yjjqhv6"}}

Webhook support

I have been trying to get statuspage webhooks to POST some messages to an endpoint I am running on a webserver. However according to Atlassian my service is returning a 403 (I see no inbound messages I reject with a 403, I don't even have any part of the code which returns that).

Was it anyone's experience that status page only POSTs successfully when the server is HTTPS? or is HTTP sufficient. Struggling to understand where the response is failing.

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.