configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 58  →  ?path2? @ 59
/monit/debian/templates/squid
@@ -7,17 +7,17 @@
# * 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
check process squid with pidfile /var/run/squid.pid
group proxy
depends on squid_bin
depends on squid_rc
start program = "/etc/init.d/squid3 start"
stop program = "/etc/init.d/squid3 stop"
start program = "/etc/init.d/squid start"
stop program = "/etc/init.d/squid stop"
if failed host proxy.internal port 8123 then restart
# if 5 restarts within 5 cycles then timeout
 
check file squid_bin with path /usr/sbin/squid3
check file squid_bin with path /usr/sbin/squid
group proxy
if failed checksum then alert
if failed permission 755 then alert
@@ -24,7 +24,7 @@
if failed uid root then alert
if failed gid root then alert
check file squid_rc with path /etc/init.d/squid3
check file squid_rc with path /etc/init.d/squid
group proxy
if failed checksum then alert
if failed permission 755 then alert