Chouf takes a list of websites and check for their response status code periodically. It runs in the background and will emit log messages when a server doesn't respond correctly.
An HTTP server is started and will replay with a JSON dump of results.
You need two files to run chouf:
config.yml: chouf configuration file containing the sites to checkdocker-compose.yml: your docker-compose file
Create a config.yml file to hold chouf configuration.
See config.yml example.
See docker-compose.yml example.
Once your config files are in place:
docker-compose up -d# get output as json
curl http://localhost:3003/json