http-check
is a small HTTP status checker written in Crystal, which notifies any unexpected HTTP
status using https://pushover.net/
1 - Compile the source code: crystal build src/cli.cr -o bin/http-checker
2 - Set both HTTP_CHECKER_TOKEN
and HTTP_CHECKER_USER
environment variables with the token of
your application and your user token.
3 - Maybe you want to enable the binary in cron.
Create a file with the list of domains and expected HTTP status code (as an example, we provide the
sites.yml
file).
Just call $ bin/http-checker sites.yml
- Fork it ( https://github.com/ferblape/http-check/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Thank you @porras, specially for his Curl replacement crul from which I've been inspired.
- ferblape Fernando Blat - creator, maintainer