No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_monit_conf.d_sshd 293B

123456789
  1. check process sshd with pidfile /var/run/sshd.pid
  2. group system
  3. start program = "/bin/systemctl start ssh"
  4. stop program = "/bin/systemctl stop ssh"
  5. if failed port 22 protocol ssh
  6. with timeout 10 seconds
  7. with retry 2
  8. then restart
  9. if 5 restarts within 5 cycles then timeout