Sha256: 9c4ae0c628174d04ac098c8c6beb6b86fc4fcd57e5281e5c58ebb0e913dd84f1

Contents?: true

Size: 661 Bytes

Versions: 13

Compression:

Stored size: 661 Bytes

Contents

set daemon  60
set logfile syslog facility log_daemon
set mailserver localhost
set mail-format { from: monit@localhost }
set alert root@localhost

# Http settings
# ---------------------------

set httpd port <%= monit_port %>
  ssl enable  
  pemfile /var/certs/monit.pem
  allow admin:<%= monit_password %>

# Core processes
# ---------------------------

check process sshd with pidfile /var/run/sshd.pid
  start program  "/sbin/service sshd start"
  stop program  "/sbin/service sshd stop"
  if failed port 22 protocol ssh then restart
  if 5 restarts within 5 cycles then timeout
  
  
# Includes
# ---------------------------

include /etc/monit/*.monitrc

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
capigen-0.1.1 templates/monit/monitrc.erb
capigen-0.1.2 lib/templates/monit/monitrc.erb
capigen-0.1.3 lib/templates/monit/monitrc.erb
capigen-0.1.4 lib/templates/monit/monitrc.erb
capitate-0.1.7 lib/templates/monit/monitrc.erb
capitate-0.1.8 lib/templates/monit/monitrc.erb
capitate-0.2.3 lib/templates/monit/monitrc.erb
capitate-0.1.9 lib/templates/monit/monitrc.erb
capitate-0.2.1 lib/templates/monit/monitrc.erb
capitate-0.2.2 lib/templates/monit/monitrc.erb
capitate-0.2.7 lib/templates/monit/monitrc.erb
capitate-0.2.6 lib/templates/monit/monitrc.erb
capitate-0.2.5 lib/templates/monit/monitrc.erb