Checking the time taken by a webpage to load

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Jan 18 02:11:07 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/01/10 05:50 AM, Assaf Flatto wrote:
> shacky wrote:
>> Hi.
>>
>> I'm thinking about a way to monitor the loading time of a webpage with Nagios.
>>
>> Do you have any idea or any hint?
>>
>> Thank you very much!
>> Bye.
>>
>>   
> 
> Do you mean the amount of time the http test is getting when requesting 
> a page ?
>  ./check_http -H www.google.com
> HTTP OK: HTTP/1.1 302 Found - 832 bytes in* 0.069 second response time 
> |*time=0.069112s;;;0.000000 size=832B;;;0
> 
> i think this is covered in the check_http plugin

In the case above you're monitoring only a redirect, which doesn't
really means much. you can use the --onredirect switch (see check_http
- --help) to follow redirects.

Even when following redirects, it calculates only the time taken to load
the main page, no resources (css, js, images, iframes) will be loaded.

If you need something more complete you should have a look at WebInject,
although I have no personal experience with it.

http://www.webinject.org/

Even WebInject does not run JavaScript... I'm not aware of any free
solution that does it right now, so results may be very different from
reality on pages that rely a lot on them (Ajax, "Web 2.0"...)

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLU7Ur6dZ+Kt5BchYRAo6/AKCw+bxSbdsBtODsMzvNYyN7JAklAQCgqlV+
BVKihfWxFM/uDlB3fMjZ5U0=
=cd3P
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list