Xymon Mailing List Archive search

HTTP response test?

list Jeremy Laidman
Thu, 31 Mar 2011 10:55:46 +1100
Message-Id: <AANLkTin5im3pjqZu-MLbwgheRJ_Sb6ZL15C1NP_KnX=user-f026e809c9bb@xymon.invalid>

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