configuration-templates
/monit/debian/templates/privoxy |
@@ -4,23 +4,23 @@ |
|
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 |
if failed host 192.168.1.1 port 8118 then restart |
depends on privoxy_bin |
depends on privoxy_rc |
|
check file privoxy_bin with path /opt/privoxy/sbin/privoxy |
group proxy |
if failed checksum then unmonitor |
if failed permission 755 then unmonitor |
if failed uid root then unmonitor |
if failed gid root then unmonitor |
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 unmonitor |
if failed permission 755 then unmonitor |
if failed uid root then unmonitor |
if failed gid root then unmonitor |
if failed checksum then alert |
if failed permission 755 then alert |
if failed uid root then alert |
if failed gid root then alert |