Skip to content

amureki/statuscheck

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.