Check Squid Proxy ?
Marc Powell
mpowell at ena.com
Sat Nov 23 21:14:44 CET 2002
Use check_http.
--
Marc
Sent from a very tiny wireless device with a very tiny unlit keyboard.
-----Original Message-----
From: Brian Ipsen <Brian.Ipsen at andebakken.dk>
To: nagios-users at lists.sourceforge.net <nagios-users at lists.sourceforge.net>
Sent: Sat Nov 23 12:53:27 2002
Subject: [Nagios-users] Check Squid Proxy ?
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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021123/b11c2381/attachment.html>
More information about the Users
mailing list