Skip to content

Instantly share code, notes, and snippets.

@dadamssg
Created October 16, 2014 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dadamssg/30a839d9bcb1b1920f6f to your computer and use it in GitHub Desktop.
Save dadamssg/30a839d9bcb1b1920f6f to your computer and use it in GitHub Desktop.
# /etc/monit/monitrc
# other configuration...
set alert youremail@gmail.com
set mailserver smtp.gmail.com port 587
username "youremail@gmail.com" password "yourpassword"
using tlsv1
with timeout 30 seconds
set httpd port 8081 and
use address localhost
allow localhost
allow ausername:apassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment