Skip to content

CivicDataLab/CDL-Platforms-Status-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platform Status Monitor

This project uses Python and GitHub Actions to check multiple platforms (named URLs) daily, generate PDF reports, and email results when failures occur.

Setup

  1. Add secrets in your GitHub repo (Settings → Secrets and variables → Actions):

    • URL_: One secret per platform, e.g. URL_GOOGLE=https://google.in
    • EMAIL_HOST, EMAIL_PORT, EMAIL_USER, EMAIL_PASS, EMAIL_TO: SMTP email credentials
  2. Install dependencies locally:

    pip install -r requirements.txt
  3. Run script locally:

    python scripts/main.py

GitHub Actions

The workflow (.github/workflows/platform_monitor.yml) runs daily at 10 AM IST (04:30 UTC) and sends email reports automatically, attaching a PDF of any failures.

Contributing

Feel free to open issues or pull requests to improve functionality.

About

CDL Platforms Status Monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages