r1: [svn-inject] Installing original source of monit-cn
[monit-cn.git] / monit-cn / openldap.conf
1 # openldap monit-cn template
2
3 check process openldap with pidfile "/var/run/slapd/slapd.pid"
4         start program = "/etc/init.d/slapd start"
5         stop program = "/etc/init.d/slapd stop"
6         if failed host 127.0.0.1 port 389 protocol ldap3
7                 with timeout 10 seconds
8                 then restart
9         if 5 restarts within 5 cycles then timeout