/status-probe

cState monitoring bot

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

status-probe

A simple bot for monitoring your web services status and automatically publish issues on cState.

Getting Started

git clone https://github.com/thuhole/status-probe
cd status-probe
pip3 install -r requirements.txt

Configuation

Copy config.json.example to config.json, then edit:

  • token: GitHub Personal Token
  • repo: Your forked cstate/example repo.
  • tasks: Websites you wanna monitor
    • Category: Reference or Whatever you like
    • Name: The system name in your cState config.yml
    • URL: The HTTP GET url you want to monitor
    • Code: The expecting status code

What's Reference for?

Reference websites are assumed to have 100% uptime. If any Reference website is offline, your services' offline won't be counted. You can use popular websites like Google as Reference websites.