########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process acpid with pidfile "/var/run/acpid.pid" start program = "/etc/init.d/acpid start" stop program = "/etc/init.d/acpid stop" if 5 restarts within 5 cycles then alert depends on acpid_bin depends on acpid_rc check file acpid_bin with path "/usr/sbin/acpid" include /etc/monit/templates/rootbin check file acpid_rc with path "/etc/init.d/acpid" include /etc/monit/templates/rootbin