Skip to content
/ watcher Public

haskell program that runs a Discord bot to ping server(s) to check for healthiness and sends discord & twilio message(s) on server(s) crashes

License

Notifications You must be signed in to change notification settings

cnguy/watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watcher

A Haskell program that watches a list of URLs and notifies you on Discord & Twilio when something goes wrong. To be specific, when some server dies. I currently use this to watch multiple microservices to make sure nothing has crashed.

Basic Usage

Requirements;

  1. Twilio account id, auth token, to number, from number
  2. Discord channel ID
  3. A set of urls such as https://yourserver.com/api/v1/ok,https://yourotherserver.com/api/v1/ok
cp .env-example .env # and then modify the values
cabal install && cabal run

About

haskell program that runs a Discord bot to ping server(s) to check for healthiness and sends discord & twilio message(s) on server(s) crashes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published