configuration-templates – Diff between revs 50 and 59

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 50 Rev 59
Line 5... Line 5...
5 # The following configuration is assumed: 5 # The following configuration is assumed:
6 # * proxy is the effective username running squid. 6 # * proxy is the effective username running squid.
7 # * 192.168.1.1 is the IP that squid is listening to. 7 # * 192.168.1.1 is the IP that squid is listening to.
8 # * 3128 is the port that squid is listening on. 8 # * 3128 is the port that squid is listening on.
Line 9... Line 9...
9 9
10 check process squid with pidfile /var/run/squid3.pid 10 check process squid with pidfile /var/run/squid.pid
11 group proxy 11 group proxy
12 depends on squid_bin 12 depends on squid_bin
13 depends on squid_rc 13 depends on squid_rc
14 start program = "/etc/init.d/squid3 start" 14 start program = "/etc/init.d/squid start"
15 stop program = "/etc/init.d/squid3 stop" 15 stop program = "/etc/init.d/squid stop"
16 if failed host proxy.internal port 8123 then restart 16 if failed host proxy.internal port 8123 then restart
Line 17... Line 17...
17 # if 5 restarts within 5 cycles then timeout 17 # if 5 restarts within 5 cycles then timeout
18   18  
19 19
20 check file squid_bin with path /usr/sbin/squid3 20 check file squid_bin with path /usr/sbin/squid
21 group proxy 21 group proxy
22 if failed checksum then alert 22 if failed checksum then alert
Line 23... Line 23...
23 if failed permission 755 then alert 23 if failed permission 755 then alert
24 if failed uid root then alert 24 if failed uid root then alert
25 if failed gid root then alert 25 if failed gid root then alert
26 26
27 check file squid_rc with path /etc/init.d/squid3 27 check file squid_rc with path /etc/init.d/squid
28 group proxy 28 group proxy
29 if failed checksum then alert 29 if failed checksum then alert