Skip to content

Instantly share code, notes, and snippets.

@johndel
Created July 9, 2013 14:26
Show Gist options
  • Save johndel/5957754 to your computer and use it in GitHub Desktop.
Save johndel/5957754 to your computer and use it in GitHub Desktop.
set daemon 30 # check services at 2-minute intervals
set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
set eventqueue
basedir /var/lib/monit/events # set the base directory where events will be stored
slots 100 # optionally limit the queue siz
set httpd port 2812
allow 0.0.0.0/0.0.0.0
allow username:password
include /etc/monit/conf.d/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment