Sha256: 3f2769099c83e2787b5a3a3b5e688e82516e86920dae2501da38f7ac8529536a

Contents?: true

Size: 449 Bytes

Versions: 29

Compression:

Stored size: 449 Bytes

Contents

<%
  @path = '/etc/monit/monit.d/monit-mongodb.conf'
%>

check process mongodb with pidfile <%= rubber_env.mongodb_pid %>
   group mongodb-<%= Rubber.env %>
   start program = "/bin/bash -c 'rm -f <%= rubber_env.mongodb_pid %>; /usr/bin/env service mongodb start'"
   stop program = "/usr/bin/env service mongodb stop"
   if does not exist for 5 cycles then restart
   if failed port 27017 then restart
   if 5 restarts within 5 cycles then timeout

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-3.2.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-3.2.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-3.1.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-3.0.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-3.0.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.16.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.15.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.15.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.15.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.14.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.13.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.13.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.12.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.12.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.12.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.11.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.10.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.10.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.10.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf