check process slapd with pidfile /var/run/slapd.pid
start program = "/etc/init.d/ldap start"
stop program = "/etc/init.d/ldap stop"
mode passive
if failed host 127.0.0.1 port 389 protocol ldap3 then restart
if cpu usage is greater than 70 percent for 2 cycles then alert
if cpu usage > 90% for 5 cycles then restart
if 5 restarts within 5 cycles then timeout