check process jabberd2-sm with pidfile /var/run/jabberd2/sm.pid group servers group jabberd2 start program = "/sbin/service jabberd2-sm start" stop program = "/sbin/service jabberd2-sm stop" if 5 restarts within 5 cycles then timeout depend on jabberd2-sm_bin check file jabberd2-sm_bin with path /usr/libexec/jabberd2/sm group jabberd2 include /etc/monitrc.d/templates/rootbin