Checking the time taken by a webpage to load

Assaf Flatto nagios at flatto.net
Fri Jan 15 11:50:31 CET 2010


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

-w, --warning=DOUBLE
    Response time to result in warning status (seconds)
 -c, --critical=DOUBLE
    Response time to result in critical status (seconds)
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)

Assaf

------------------------------------------------------------------------------
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