# check every 5 minutes, wait 1 minute on start
# before first monitoring cycle
set daemon 300 with start delay 60
set logfile syslog facility log_daemon
set statefile /var/run/monit.state
set idfile /var/run/monit.id
set mailserver localhost
set alert root@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

# should have been *.conf
include /etc/monitrc.d/*

# this enables monit for all services packaged with
# respective support (http://www.altlinux.org/Monit)
#include /etc/monitrc.d/*.auto
