Sha256: 1004804965196cdfaeddb1da231ace0d43976da73ead4af3279cddabcb02e239

Contents?: true

Size: 366 Bytes

Versions: 75

Compression:

Stored size: 366 Bytes

Contents

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

check process mysql with pidfile /var/run/mysqld/mysqld.pid
   group mysql-<%= Rubber.env %>
   start program = "/usr/bin/env service mysql restart"
   stop program = "/usr/bin/env service mysql stop"
   if failed host 127.0.0.1 port 3306 protocol mysql then alert
   if 5 restarts within 5 cycles then timeout

Version data entries

75 entries across 75 versions & 1 rubygems

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