> check process dbmail-imapd with pidfile /var/run/dbmail/dbmail-
> imapd.pid
>      group dbmail
>      start program = "/etc/init.d/dbmail imapd start"
>      stop  program = "/etc/init.d/dbmail imapd stop"
>      if failed port 143 protocol imap with timeout 2  seconds within 2
> cycles then restart
>      if failed port 993 type TCPSSL protocol imap with timeout 15
> seconds within 3 cycles then restart
>      if memory > 1024 MB for 3 cycles then alert
>      if memory > 1524 MB for 3 cycles then restart
>      if cpu > 80% for 5 cycles then alert
>      if cpu > 80% for 15 cycles then restart


I wonder if it's possible to use instead restart, "stop" only ? do you know
if?

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to