Xymon Mailing List Archive search

HTTP response test?

5 messages in this thread

list James Isolder · Tue, 29 Mar 2011 14:27:46 +0200 ·
I wonder if anyone hase any advice about a test to check how long a site takes to load and then graphing how long it takes to load per five minute interval.
Thanks 
J
list Buchan Milne · Tue, 29 Mar 2011 15:01:58 +0200 ·
quoted from James Isolder
On Tuesday, 29 March 2011 14:27:46 James Isolder wrote:
I wonder if anyone hase any advice about a test to check how long a site
takes to load and then graphing how long it takes to load per five minute
interval.
Besides just adding an http test to the host with the complete URL you want to 
test (which does this)?

If this isn't the answer you want (e.g., do you want to alert at a threshold 
lower than the default?), you need to provide more detail in your question.

Regards,
Buchan
list James Isolder · Tue, 29 Mar 2011 15:49:49 +0200 ·
i was acutally thinking about this and i think the best way to achieve it to have a file of a certain size sitting on the webserver and then retrieving it and timing how long that takes.  I was after how long a page takes to load in a web browser.
Thanks anyway for the help J
quoted from Buchan Milne
From: user-9b139aff4dec@xymon.invalid
To: xymon at xymon.com
Subject: Re: [Xymon] HTTP response test?
Date: Tue, 29 Mar 2011 15:01:58 +0200
CC: user-7de8f896e813@xymon.invalid

On Tuesday, 29 March 2011 14:27:46 James Isolder wrote:
I wonder if anyone hase any advice about a test to check how long a site
takes to load and then graphing how long it takes to load per five minute
interval.
Besides just adding an http test to the host with the complete URL you want to test (which does this)?

If this isn't the answer you want (e.g., do you want to alert at a threshold lower than the default?), you need to provide more detail in your question.

Regards,
Buchan
list Matthew Moldvan · Wed, 30 Mar 2011 12:20:11 -0400 ·
I would think you could easily do this by using "time wget <yoururl>" and setting it up as a cron job to report the time taken back to your Xymon server ... setting up the graph would be a little more difficult, but is possible using NCV or other options through your Xymon server.

Good luck,
Matt.

Unix System Administrator
Computer Science Corporation

This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.


From:
James Isolder <user-7de8f896e813@xymon.invalid>
To:
<xymon at xymon.com>
Date:
03/29/2011 09:50 AM
quoted from James Isolder
Subject:
Re: [Xymon] HTTP response test?


i was acutally thinking about this and i think the best way to achieve it to have a file of a certain size sitting on the webserver and then retrieving it and timing how long that takes.  I was after how long a page takes to load in a web browser.

Thanks anyway for the help 
J
From: user-9b139aff4dec@xymon.invalid
To: xymon at xymon.com
Subject: Re: [Xymon] HTTP response test?
Date: Tue, 29 Mar 2011 15:01:58 +0200
CC: user-7de8f896e813@xymon.invalid

On Tuesday, 29 March 2011 14:27:46 James Isolder wrote:
I wonder if anyone hase any advice about a test to check how long a 
site
takes to load and then graphing how long it takes to load per five 
minute
interval.
Besides just adding an http test to the host with the complete URL you 
want to 
test (which does this)?

If this isn't the answer you want (e.g., do you want to alert at a 
threshold 
lower than the default?), you need to provide more detail in your 
question.

Regards,
Buchan
This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
list Jeremy Laidman · Thu, 31 Mar 2011 10:55:46 +1100 ·
quoted from Matthew Moldvan
On Thu, Mar 31, 2011 at 3:20 AM, Matthew Moldvan <user-ffaad6c7b6c3@xymon.invalid> wrote:
I would think you could easily do this by using "time wget <yoururl>" and
setting it up as a cron job to report the time taken back to your Xymon
server ... setting up the graph would be a little more difficult, but is
possible using NCV or other options through your Xymon server.

Or:

  curl -o /dev/null -w "%{time_total} - %{time_starttransfer}\n" $URL
2>/dev/null | tail -1

and evaluate the result.  This eliminates all other variables such as
retries, redirects DNS lookup times, and so on.

J