Commit 0455b29c authored by opi's avatar opi

monit: Add slapd check.

parent 9ca2f16f
check process slapd with pidfile /var/run/slapd/
group system
start program = "/etc/init.d/slapd start"
stop program = "/etc/init.d/slapd stop"
if failed host localhost port 389 protocol ldap3 then restart
if 5 restarts within 5 cycles then timeout
if 1 restart with 1 cycle then alert
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment