## Begin - Generated by CARNet package monit-cn # # This is a monit-cn template file. REMOVE this whole comment block if # you DON'T WANT monit-cn to edit/remove/delete your configuration file. # ## End - Generated by CARNet package monit-cn check process openldap with pidfile "/var/run/slapd/slapd.pid" start program = "/etc/init.d/slapd start" stop program = "/etc/init.d/slapd stop" if failed host 127.0.0.1 port 389 protocol ldap3 with timeout 10 seconds then restart if 5 restarts within 5 cycles then timeout