Monitoring squid using mon / 2006-01-23

2006-01-23 Monitoring squid using mon 14 years ago
squid (the webproxy) can be monitored using mon, it just takes a bit of

I wanted the test of squid to not depend on outside connectivity or any
other servers. So I wanted to use a cache_object.

Some testing, trying later:

In squid.conf, allow the monitoring host (some) access to the cachemgr

acl manager proto cache_object
acl localhost src
acl tester src $ipofmonmachine/

http_access allow manager localhost
http_access allow manager tester
http_access deny manager

then set it up in the mon config

hostgroup webproxy-servers proxy.yourdomain

watch webproxy-servers
service ping
description ping to proxy servers
monitor ping.monitor
service webproxy
description proxy active test
monitor http.monitor -p 3128 -u cache_object://localhost/info

happy monitoring.

Tags: , ,

, reachable as PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004448 seconds.