http-check

Version, currently master branch1 version
  • master branchlatestJan 3, 2016

github.com/ferblape/http-checker

Super simple HTTP status checker with push notifications

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  http-check:
    github: ferblape/http-checker
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Fernando Blat

Dependencies

This version declares no dependencies.

README

http-check

http-check is a small HTTP status checker written in Crystal, which notifies any unexpected HTTP status using https://pushover.net/

Installation

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.

Usage

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

Contributing

  1. Fork it ( https://github.com/ferblape/http-check/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Thanks

Thank you @porras, specially for his Curl replacement crul from which I've been inspired.

Contributors

  • ferblape Fernando Blat - creator, maintainer