configuration-templates – Rev 27
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
# The following configuration is assumed:
# * proxy is the effective username running squid.
# * 192.168.1.1 is the IP that squid is listening to.
# * 3128 is the port that squid is listening on.
check process squid with pidfile /var/run/squid3.pid
group proxy
start program = "/etc/init.d/squid3 start"
stop program = "/etc/init.d/squid3 stop"
if failed host proxy.internal port 8123 then restart
#if 5 restarts within 5 cycles then timeout
depends on squid_bin
depends on squid_rc
check file squid_bin with path /usr/sbin/squid3
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
check file squid_rc with path /etc/init.d/squid3
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
Generated by GNU Enscript 1.6.5.90.