![Gopher](https://i.imgur.com/glk34vC.png)
Status Check API
What is this?
This program will constantly check for one or more http endpoints and notify you
whenever something goes down and also when it goes up again!
It will additionally expose an api with the current statuses of every endpoint
configured.
Configuration
This health check needs a config.json
file with this minimal structure
{
"urlMonitors": [
{
"name": "Google",
"url": "https://www.google.com"
}
]
}
You can also specify the config file path with the -config
flag. For example:
health-check-monitor -config my/custom/dir/my_config.json
Check more configuration options in the conf.json distribution file
Run locally
go get https://github.com/KykeStack/health-check-monitor
cd $GOPATH/src/health-check-monitor
go install
curl https://github.com/KykeStack/health-check-monitor.git/raw/master/config.json.dist -o config.json
health-check-monitor
Run with docker
Download a basic config file
curl https://github.com/KykeStack/health-check-monitor.git/raw/master/config.json.dist -o config.json
Look up latest version and run it
Or just go check manually the list and then run docker
docker run -d \
-v "$(pwd)/config.json:/config.json" \
-p "8001:8001" \
git https://github.com/KykeStack/health-check-monitor.git:<insert here latest tag> -config /config.json
Ping it!
curl http://localhost:8001/status
Licensing
Check LICENSE.md