If you want to check that the service is actually functional use
something like:
0.0.0.0 firewall.uscourts.gov #
0.0.0.0 router.uscourts.gov # route:firewall.uscourts.gov
0.0.0.0 router.ISP.gov #
route:firewall.uscourts.gov,router.uscourts.gov
0.0.0.0 squid.uscourts.gov #
http://squid.uscourts.gov:8080/http://www.google.com/
route:firewall.uscourts.gov depends(http:router.ISP.gov/conn,
router.uscourts.gov/conn)
plug in your own IP addresses and host names of course but you get the
idea.
-----Original Message-----
From: user-4dd876706f9f@xymon.invalid
[mailto:user-4dd876706f9f@xymon.invalid]
Sent: Tuesday, October 04, 2005 9:29 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit and SQUID
Since the system is a Fedora machine, I'd be looking for the output of:
# service squid status
Which should return something like:
squid (pid 13626 13624) is running...
If nothing came back, or if the word 'running' wasn't present then it
should go red...
Thanks Adam!
Pat
====================================================
Patrick Healy U.S.
District Court, NYWD
user-4dd876706f9f@xymon.invalid 304 U.S. Courthouse
Voice: XXX-XXX-XXXX XX Court Street
FAX: XXX-XXX-XXXX Buffalo, NY
XXXXX
Adam Scheblein <user-de8d51f0c651@xymon.invalid>
10/03/2005 05:41 PM
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
Subject
Re: [hobbit] Hobbit and SQUID
You could configure the proc check to make sure that the specific
processes that you are looking for exist. What are you looking for
exactly? it may be a quick write since i just got done writing up a
script to check who is on the system.
Adam
user-4dd876706f9f@xymon.invalid wrote:
Hi,
Has anyone developed a good 'Services test' for checking the squid
process? I can plug in the port number and make sure it's being
answered, but does anyone have something better?
Thanks!
Pat
====================================================
Patrick Healy U.S.
District Court, NYWD
user-4dd876706f9f@xymon.invalid <mailto:user-4dd876706f9f@xymon.invalid>
304 U.S. Courthouse
Voice: XXX-XXX-XXXX XX Court Street
FAX: XXX-XXX-XXXX Buffalo, NY
XXXXX