暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

etc_monit_conf.d_apache2 328B

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