# request: 'URL' # the URL to request from squid
#
+# ----------------------------------------------------------------------
+# SQUID CONFIGURATION
+#
+# See:
+# http://wiki.squid-cache.org/Features/CacheManager
+#
+# In short, add to your squid configuration these:
+#
+# http_access allow localhost manager
+# http_access deny manager
+#
+# To remotely monitor a squid:
+#
+# acl managerAdmin src 192.0.2.1
+# http_access allow localhost manager
+# http_access allow managerAdmin manager
+# http_access deny manager
+#
+
# ----------------------------------------------------------------------
# AUTO-DETECTION JOBS
# only one of them will run (they have the same name)
-tcp3128new:
+tcp3128old:
name : 'local'
host : 'localhost'
port : 3128
request : 'cache_object://localhost:3128/counters'
-tcp8080new:
+tcp8080old:
name : 'local'
host : 'localhost'
port : 8080
request : 'cache_object://localhost:3128/counters'
-tcp3128old:
+tcp3128new:
name : 'local'
host : 'localhost'
port : 3128
request : '/squid-internal-mgr/counters'
-tcp8080old:
+tcp8080new:
name : 'local'
host : 'localhost'
port : 8080
# IPv4
-tcp3128newipv4:
+tcp3128oldipv4:
name : 'local'
host : '127.0.0.1'
port : 3128
request : 'cache_object://127.0.0.1:3128/counters'
-tcp8080newipv4:
+tcp8080oldipv4:
name : 'local'
host : '127.0.0.1'
port : 8080
request : 'cache_object://127.0.0.1:3128/counters'
-tcp3128oldipv4:
+tcp3128newipv4:
name : 'local'
host : '127.0.0.1'
port : 3128
request : '/squid-internal-mgr/counters'
-tcp8080oldipv4:
+tcp8080newipv4:
name : 'local'
host : '127.0.0.1'
port : 8080
# IPv6
-tcp3128newipv6:
+tcp3128oldipv6:
name : 'local'
host : '::1'
port : 3128
request : 'cache_object://[::1]:3128/counters'
-tcp8080newipv6:
+tcp8080oldipv6:
name : 'local'
host : '::1'
port : 8080
request : 'cache_object://[::1]:3128/counters'
-tcp3128oldipv6:
+tcp3128newipv6:
name : 'local'
host : '::1'
port : 3128
request : '/squid-internal-mgr/counters'
-tcp8080oldipv6:
+tcp8080newipv6:
name : 'local'
host : '::1'
port : 8080