A script to check list of live sites to tell if they are health.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
consumer.pd
cron.sh
http_check.yaml.example
main.py

README.md

A script to check list of live sites to teach if they are health. if only site is not, then make an email notification.

Rename http_check.yaml.example to http_check.yaml

make below config according to your own email, now it only surpport 163.mail.com

    sender: "18217401108@163.com"
    pass: "xxxxx"
    # Recipients of the error report - in any valid format
    recipients: "sxie@altima-agency.cn"
    # The subject of the error report
    subject: "HTTP check error report"

Config monitoring files, like below.

sites:
- name: "GitHub"
  domain: "github.com"
  https: true

- name: "sky-city"
  domain: "blog.sky-city.me"
  https: true
  uri: "node/20"

- name: "sky-city"
  domain: "blog.sky-city.me"
  https: true
  uri: "node/2000"

that is it.