Giter Site home page Giter Site logo

statuscheck's Introduction

statuscheck: Tool to check PAAS/SAAS status pages

Tests image image image Coverage Status

Usage

Install the latest release:

$ pip install statuscheck

Then just use it in your shell:

$ statuscheck github
Current GitHub status: All Systems Operational

$ statuscheck slack
Current Slack status: Active incident
Registered events:
- [active] We are investigating an issue with notification settings
- [active] We're looking into an issue with certain API calls

More: https://status.slack.com/

There is also an API available:

>>> from statuscheck.utils import get_statuscheck_api

>>> api = get_statuscheck_api('slack')
>>> summary = api.get_summary()
>>> summary.status
Status(code='active', name='Minor incident', description='Minor incident', is_ok=False)
>>> summary.incidents
[Incident(id=879, name="We're looking into an issue with certain API calls", status='active', components=[Component(name='Apps/Integrations/APIs', status='', id='')])]
>>> summary.as_dict()
{'status': {'code': 'active', 'name': 'Minor incident', 'description': 'Minor incident', 'is_ok': False}, 'components': [{'name': 'Apps/Integrations/APIs', 'status': 'Partial outage', 'id': ''}], 'incidents': [{'id': 879, 'name': "We're looking into an issue with certain API calls", 'status': 'active', 'components': [{'name': 'Apps/Integrations/APIs', 'status': 'Partial outage', 'id': ''}]}]}

Currently, all services that we support are defined here.

statuscheck's People

Contributors

amureki avatar dependabot-preview[bot] avatar dependabot[bot] avatar jasperv 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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

statuscheck's Issues

Fix signal status check

    raise NotImplementedError("Signal status not implemented: %s", text)
NotImplementedError: ('Signal status not implemented: %s', '<html>\n  <head>\n    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">\n    <style>\n      body {\n        font-family: \'Open Sans\', sans-serif;\n        font-size: 36px;\n        text-align: center;\n        margin: 20px;\n      }\n      #symbol {\n        color: red;\n        font-size: 144px;\n      }\n    </style>\n    <title>Signal Status</title>\n  </head>\n  <body>\n    <div>\n      <span id="symbol">&cross;</span><br />\n      Signal is experiencing technical difficulties. We are working hard to restore service as quickly as possible.\n    </div>\n  </body>\n</html>\n')

List of services to add

Status Quo

Currently, all implemented services are defined here:
https://github.com/amureki/statuscheck/blob/master/statuscheck/services/__init__.py

TODO

We need to implement the most important/popular (for the community) services. Also, those ones are important to us:

Howto

  1. Add service to the list of available services:
    https://github.com/amureki/statuscheck/blob/master/statuscheck/services/__init__.py
  2. Provide a service module. Some examples are here:
    https://github.com/amureki/statuscheck/tree/master/statuscheck/services (note, that if the status page is operated by https://www.statuspage.io/, there is a special base class for that.

Add service support channels

Extra datapoint could be added - possible public support channels for the service, for example:

  • email
  • twitter account

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.