github.com/enmand/kubernetes@v1.2.0-alpha.0/docs/admin/high-availability/monit-docker (about)

     1  check process docker with pidfile /var/run/docker.pid
     2  group docker
     3  start program = "/etc/init.d/docker start"
     4  stop program = "/etc/init.d/docker stop"
     5  if does not exist then restart
     6  if failed
     7    unixsocket /var/run/docker.sock
     8    protocol HTTP request "/version"
     9  then restart