Created
February 3, 2012 17:51
-
-
Save nbrew/1731380 to your computer and use it in GitHub Desktop.
Kerio Connect Monit Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# for use on linux systems with kerio-connect installed via rpm | |
# | |
check process kerio-connect with pidfile /var/run/kms.pid | |
group mail | |
start program = "/etc/init.d/kerio-connect start" | |
stop program = "/etc/init.d/kerio-connect stop" | |
if failed host 127.0.0.1 port 25 protocol smtp then restart | |
if 5 restarts within 5 cycles then timeout | |
depends on kerio_mailserver_bin | |
depends on kerio_connect_rc | |
check file kerio_mailserver_bin with path /opt/kerio/mailserver/mailserver | |
group mail | |
if failed checksum then unmonitor | |
if failed permission 755 then unmonitor | |
if failed uid root then unmonitor | |
if failed gid root then unmonitor | |
check file kerio_connect_rc path /etc/init.d/kerio-connect | |
group mail | |
if failed checksum then unmonitor | |
if failed permission 755 then unmonitor | |
if failed uid root then unmonitor | |
if failed gid root then unmonitor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment