Monitoring squid using mon / 2006-01-23

2006-01-23 Monitoring squid using mon
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: , ,

IPv6 check

Running test...
, reachable as PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.58 2022/12/12 15:34:31 koos Exp $ in 0.009053 seconds.