#
# $Id: monitrc,v 1.3 2004/03/01 12:04:47 homyakov Exp $
#

set daemon 300
set logfile syslog facility log_daemon
set statefile /var/run/monit.state
set mailserver localhost
set alert root+monit@localhost

#short, informative messages
set mail-format {
	from: root@localhost
	subject: [monit] -- $SERVICE $EVENT on $HOST at $DATE
	message:
}

# you will also need this for status/summary
set httpd port 2812 and use the address localhost
	allow localhost
	allow monit:secretword
#	ssl enable
#	pemfile /var/lib/ssl/certs/monit.pem

include /etc/monitrc.d/*
