[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] http timeout and content checking
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] http timeout and content checking
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Mon, 24 Dec 2007 23:34:43 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=IJO9THRCcVe603z2vlGeW+lofCEdcKR4Sl4p7PuQrcY=; b=SaKLBwoQ0+7kb/ttQ5QNzafO/ic5nk0E1FsEHLNtbaKwvwrRQK1MICOyFGgxkUwiM+dENRT8KmG61ilxqFKutnZeTz/bJZczpbGJxGTmF+IvNDDtk9zeuQmLsSgSXcFWz8dXgnxcIXkZx8GBYPUYqTU359fbmR3UTnEH7G9H6vI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dVlIO2E1/EKC8flDXr+KDdKUgNczTc76TEyq1t+w8ztz4h4Pvx87P27k0OUPB0Ut+yPc194jaHmcBiO/SIOOHHX2k5cLwmWMYOoKC1REqZu6EV8g1DhftXOHm2zbTUtT4ZYMgvNyjWxW1nW9Q99z2botcloizkcpRbnCRvFOPHA=
- References: <29f517690712210824n4f4e958aw4247e023ed4b096f (at) mail.gmail.com>
On Dec 21, 2007 11:24 AM, Gary Baluha <gumby3203 (at) gmail.com> wrote:
> I'm having a little problem converting some Sitescope web page checks into
> Hobbit content checks. In particular, I have several URLs of the form:
>
> https://some.machine.name:9212/monitoring/MonitorControlServlet?monitorName=com.company.common.util.monitoring.blah.WLIProcessMonitor&fullDisplay=true&status=FROZEN&minCount=20
> (names changed to protect the innocent)
>
> The problem is, I can go to that URL manually, and it will show up
> fine...after about 20 seconds or so. The URL is slow to respond, because it
> is running a back-end check, and that check simply takes a while to
> complete. The result is that Hobbit is coming back saying that the website
> failed to respond after 10.x seconds, even though it would be fine if I
> waited another 10 seconds or so.
>
> I would like to be able to increase the timeout, but only for URLs similar
> to above that are expected to take a while to respond. I don't want to
> increase this timeout across the board, since only a subset of all of the
> URL monitoring I am doing take so long to respond. Is there any way to do
> this?
>
> -----
>
> Also on a related, though different note, are a few other tests that I
> can't get the "content" column to show up. These URLs are of the form:
>
> https://username:password (at) some.machine.name:9212/monitoring/MonitorControlServlet?monitorName=com.company.common.util.monitoring.URLMonitor&url=https://some.machine.name:9212/LBListener/MessageReceiver&fullDisplay=true&isPost=true&ABCAction=AccountInfoRequest&ABCService=MemberManagement&payload=
> <request:AccountInfoRQ xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xmlns:request="
> com.company.accountrequest"><AccountInfo
> AccountCardNumber="4264292967999999" PortfolioID="177"
> SecurityInfo="true"/></request:AccountInfoRQ>
> (names changed to protect the innocent)
>
> The http check is working fine, but it seems like hobbit is ignoring the
> fact that I have it set up as a content check. The bb-hosts line for this
> test looks like:
> 1.2.3.4 test-name # DESC:"Test description" noconn nosslcert cont;<URL
> above>;Success badhttp:1:2:3
>
> I also just noticed that for these tests, bbtest is complaining "content-check,
> but no content-data in <bb-hosts line above>". However, if I manually go to
> the URL in a browser, it does indeed return "content-data", and it returns
> in a timely fashion (about 2 or 3 seconds). Any ideas?
>