########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process privoxy with pidfile /opt/privoxy/var/privoxy.pid group proxy depends on privoxy_bin depends on privoxy_rc start program = "/etc/init.d/privoxy start" stop program = "/etc/init.d/privoxy stop" if failed host 192.168.1.1 port 8118 then restart # if 5 restarts within 5 cycles then timeout check file privoxy_bin with path /opt/privoxy/sbin/privoxy group proxy if failed checksum then alert if failed permission 755 then alert if failed uid root then alert if failed gid root then alert check file privoxy_rc with path /etc/init.d/privoxy group proxy if failed checksum then alert if failed permission 755 then alert if failed uid root then alert if failed gid root then alert