Skip to content

Python3 script to check status of a URL, triggering a Slack alert if site is unresponsive or down.

Notifications You must be signed in to change notification settings

cskinner74/DownAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DownAlert

Python3 script to check status of a URL, triggering a Slack alert if site is unresponsive or down.

Setup

Requires Python3.7+

Run pip3 install -r requirements.txt to install dependencies

Edit config-sample.ini with Slack webhook URL for your workspace and rename to config.ini.

Usage

python3 DownAlert.py [-v] url

url must start with http:// or https://

-v option toggles verbose mode on

Can be scneduled as a cronjob to check periodically in background.

About

Python3 script to check status of a URL, triggering a Slack alert if site is unresponsive or down.

Resources

Stars

Watchers

Forks

Languages