Skip to content

Instantly share code, notes, and snippets.

@johndel
Created October 3, 2014 14:40
Show Gist options
  • Save johndel/5b3d51b3f16b3465bd85 to your computer and use it in GitHub Desktop.
Save johndel/5b3d51b3f16b3465bd85 to your computer and use it in GitHub Desktop.
monitrc basic file
set daemon 30
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment