Sha256: 6114d7301a94aa3f274bc8d82c5c1d00405c5bb42745d7fa8d3b3355b1dcf4cc

Contents?: true

Size: 544 Bytes

Versions: 11

Compression:

Stored size: 544 Bytes

Contents

check process postgresql with pidfile /var/run/postgresql/9.1-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

11 entries across 11 versions & 1 rubygems

Version Path
standup-0.6.9 scripts/postgresql/postgresql_monit.conf
standup-0.6.8 scripts/postgresql/postgresql_monit.conf
standup-0.6.7 scripts/postgresql/postgresql_monit.conf
standup-0.6.6 scripts/postgresql/postgresql_monit.conf
standup-0.6.5 scripts/postgresql/postgresql_monit.conf
standup-0.6.4 scripts/postgresql/postgresql_monit.conf
standup-0.6.3 scripts/postgresql/postgresql_monit.conf
standup-0.6.2 scripts/postgresql/postgresql_monit.conf
standup-0.6.1 scripts/postgresql/postgresql_monit.conf
standup-0.6.0 scripts/postgresql/postgresql_monit.conf
standup-0.5.14 scripts/postgresql/postgresql_monit.conf