dockerfiles/checkup
drymer 712a8c6e23
[checkup][statuspage] Add example configurations
2018-08-03 07:33:41 +02:00
..
Dockerfile [checkup] Delete CMD to use checkup without args 2018-08-03 07:21:48 +02:00
README.md [checkup][statuspage] Add example configurations 2018-08-03 07:33:41 +02:00

README.md

Checkup

Pretty simple, just execute checkup. Use with statuspage.

Example configuration file:

{
     "checkers": [
	     {
		     "type": "tls",
       	     "endpoint_name": "WEB Bad Daemons",
		     "endpoint_url": "daemons.it:443",
		     "attempts": 5
	     },
	     {
		     "type": "tcp",
       	     "endpoint_name": "TCP WEB Bad Daemons",
		     "endpoint_url": "daemons.it:443",
             "tls": true,
		     "attempts": 5
	     }
     ],
     "storage":
     {
         "provider": "fs",
	     "dir": "/checkup/check_files",
         "url": "http://localhost:2015/check_files"
     }
}

Example oneliner:

docker run -ti -v `pwd`/checkup.json:/checkup/checkup.json -v /etc/ssl/certs:/etc/ssl/certs/ -v `pwd`/check_files:/checkup/check_files registry.daemons.it/checkup