目录

Status Snitch

A simple status checker that monitors a website, records response times, and generates a web dashboard. Additional features include optional Slack notifications, a lightweight Flask API to expose historical data, and a Dockerfile for easy deployment.

Usage

Running the Checker

python check_status.py

Set EXPECTED_KEYWORD to ensure the page contains specific text. To receive Slack alerts, provide SLACK_WEBHOOK_URL.

API Server

python api.py

The API exposes /status returning the contents of status.json.

Docker

Build and run the checker using Docker:

docker build -t status-snitch .
docker run --rm -e SLACK_WEBHOOK_URL=<hook> status-snitch
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号