Sha256: 1ad44dabff0efe1084867631a6ee1f935fa1fc78604d6e87e49a2be88f5add74

Contents?: true

Size: 402 Bytes

Versions: 46

Compression:

Stored size: 402 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 failed port 27017 then restart
   if 5 restarts within 5 cycles then timeout

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
rubber-2.6.5 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.6.4 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.6.3 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.6.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.6.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.6.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.5 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.4 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.3 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.5.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.4.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.4.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.4.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.3.1 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.3.0 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.2.4 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.2.3 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
rubber-2.2.2 templates/monit/config/rubber/role/mongodb/monit-mongodb.conf