Skip navigation
19233 Views 1 Reply Latest reply: Dec 31, 2009 2:41 PM by Matt Ray RSS
shentonfreude Newbie 2 posts since
Sep 27, 2009
Currently Being Moderated

Dec 31, 2009 2:26 PM

How to monitor virtual web host (for content)?

I've got different servers which offer multiple (apache-style) named virtual web hosts, e.g., foo.example.com and bar.example.com.  Behind these might be apache or zope or something else.  How can I monitor these named hosts for health, perhaps by doing a

 

[connect to site on configured port, e.g., 80]

GET / HTTP/1.0

Host: foo.example.com

 

Then checking the HTTP reponse for 200 success, and optionally scan the text for something (e.g., "Welcome to Example")

 

This seems like it should be easy and obvious, and I'm a bit of a Zenoss newbie, but I'm not finding things by searching the forums and google.

 

Thanks for any Zenlightenment.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points