Little CLI tool to frequently check http response status of different web endpoints.
The easiest way to run http-checker
is to install it as global npm
package like the following
npm install -g @floriandorau/http-checker
After installation it you can execute http-checker
in your terminal.
Checkout the repository and run npm install
from root. Then you can run npm start
from project root in your terminal.
Before you can run http-checker
you first need to create a file config.yml
at {HOMEDIR}/.http-checker/config.yml
.
A valid configuration looks like the following:
interval: 30 # interval in seconds
slack:
webbhook: https://your-webhoook
channel: your-channel-name
endpoints:
- url: http://localhost:8080
username: basic-auth-user
password: basic-auth-password
Currently only Basic Auth
is supported for endpoints.