A Python script that monitors website availability and sends alerts to Slack.
- Monitors both regular websites and .onion addresses
- Sends alerts to Slack when sites are down
- Provides daily status reports
- Supports custom comments for each monitored site
- Clone the repository
- Copy
config.sample.json
toconfig.json
- Edit
config.json
with your Slack webhook URL and sites to monitor - Install requirements:
pip install requests socks
- Run the script:
python website_monitor.py
The config.json
file should contain:
slack_webhook_url
: Your Slack webhook URLsites
: Array of sites to monitor, each with:url
: The website URLcomment
: Optional description of the site