Bez popisu
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_pgsql 298B

123456
  1. check process postgres with pidfile /var/run/postgresql/9.6-main.pid
  2. group database
  3. start program = "/bin/systemctl start postgresql"
  4. stop program = "/bin/systemctl stop postgresql"
  5. if failed host localhost port 5432 protocol pgsql then restart
  6. if 5 restarts within 5 cycles then timeout