Sha256: db39fd6a0f27a3f9b2837adaf9cac021ca0722b460945325082df48f6019fc9b

Contents?: true

Size: 544 Bytes

Versions: 15

Compression:

Stored size: 544 Bytes

Contents

check process postgresql with pidfile /var/run/postgresql/9.0-main.pid
    group database
    start program = "/etc/init.d/postgresql start"
    stop  program = "/etc/init.d/postgresql stop"
    #if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then restart
    #if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then alert
    if failed host localhost port 5432 protocol pgsql then restart
    #if failed host localhost port 5432 protocol pgsql then alert
    if 5 restarts within 5 cycles then timeout

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
standup-0.5.13 scripts/postgresql/postgresql_monit.conf
standup-0.5.11 scripts/postgresql/postgresql_monit.conf
standup-0.5.10 scripts/postgresql/postgresql_monit.conf
standup-0.5.9 scripts/postgresql/postgresql_monit.conf
standup-0.5.8 scripts/postgresql/postgresql_monit.conf
standup-0.5.7 scripts/postgresql/postgresql_monit.conf
standup-0.5.6 scripts/postgresql/postgresql_monit.conf
standup-0.5.5 scripts/postgresql/postgresql_monit.conf
standup-0.5.4 scripts/postgresql/postgresql_monit.conf
standup-0.5.3 scripts/postgresql/postgresql_monit.conf
standup-0.5.1 scripts/postgresql/postgresql_monit.conf
standup-0.5.0 scripts/postgresql/postgresql_monit.conf
standup-0.4.0 scripts/postgresql/postgresql_monit.conf
standup-0.3.37 scripts/postgresql/postgresql_monit.conf
standup-0.3.36 scripts/postgresql/postgresql_monit.conf