On Feb 11, 2010, at 2:32 AM, Tarak Mukherjee wrote:

> Hi List,
> 
> I don't think check_http will server the requirement, check_http will attempt 
> to open an HTTP connection with the host. Successful connects return 
> STATE_OK, refusals and timeouts return STATE_CRITICAL  other errors return 
> STATE_UNKNOWN.
> 
> I want the response / latency  time, mean to say that How long time it's 
> taking to load the page/URL. 

$ ~nagios/libexec/check_http -H www.google.com
HTTP OK HTTP/1.0 200 OK - 6929 bytes in 0.067 seconds 
|time=0.067043s;;;0.000000 size=6929B;;;0

0.067 seconds is the response time.

--
Marc


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to