Check Squid Proxy ?

Brian Ipsen Brian.Ipsen at andebakken.dk
Sat Nov 23 19:53:27 CET 2002


Hi!

 How do I check that my Squid Proxy actually is running - and working (and
not just check the administrative port 3128) ??

The check_tcp plugin could be of help.... but not quite... If I do like this
in a shell it works:

# ./check_tcp -H 192.168.0.178 -p 8080 -s 'GET http://www.google.com
HTTP/1.0

' -e 'HTTP/1.0 200 OK' -w 5 -c 10
0 1
TCP OK - 0 second response time on port 8000 [HTTP/1.0 200 OK

The only problem is that command_line parameter in checkcommands.cfg doesn't
take an argument on several lines... and using \n or \r in the "-s"
parameter for check_tcp doesn't get translated .. What to do then ?

/Brian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list