check_http question?
Upayavira
uv at upaya.co.uk
Fri Apr 30 13:22:06 CEST 2004
Trying /usr/lib/nagios/plugins/check_http -h
It'll show these options:
-w, --warning=INTEGER
Response time to result in warning status (seconds)
-c, --critical=INTEGER
Response time to result in critical status (seconds)
This allows you to use check_http to send warnings or critical messages
based upon response time. It won't give you anything that you can use
for reporting though.
Regards, Upayavira
Hugh Jones wrote:
>I've used something like "time lynx -source http://blah.thing
>
>
>>/dev/null" if I want the time that it takes to retreive it. In a bash
>>
>>
>shell script you can assign the output to a variable and use sed and cut
>etc to retrieve numeric values which you could then evaluate...
>
>
>
>>-----Original Message-----
>>From: nagios-users-admin at lists.sourceforge.net
>>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
>>Of Reuben Pearse
>>Sent: 30 April 2004 10:03
>>To: jnichols at pbp.net
>>Cc: nagios-users at lists.sourceforge.net
>>Subject: Re: [Nagios-users] check_http question?
>>
>>
>>You could try using curl
>>
>>http://curl.haxx.se/
>>
>>It is a command line tool for retrieving webpages. When grabbing
>>webpages you can get it to report how many seconds it takes
>>to download
>>a page. You could probably wrap up a call to curl into a Nagios check
>>script.
>>
>>Has anyone done this already?
>>
>>--
>>
>>Reuben Pearse
>>Senior Systems Consultant
>>reuben at presence-systems.com
>>
>>
>>
>>Jonathan Nichols wrote:
>>
>>
>>
>>>Greetings!
>>>
>>>Can the check_http plugin also measure page load times, or does it
>>>just check to see if the http port is open?
>>>
>>>I have a project that I've been tasked with - need to measure page
>>>load times & also graph them.
>>>
>>>Can I do this with Nagios? If yes, how could I graph this? I know,
>>>"rrdtool" or something.. but has anyone done this? :)
>>>
>>>Thanks for any information! :D
>>>
>>>-Jonathan
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by: Oracle 10g
>>>Get certified on the hottest thing ever to hit the market... Oracle
>>>10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
>>>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>>>_______________________________________________
>>>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
>>>
>>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: Oracle 10g
>>Get certified on the hottest thing ever to hit the market...
>>Oracle 10g.
>>Take an Oracle 10g class now, and we'll give you the exam FREE.
>>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>>_______________________________________________
>>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
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: Oracle 10g
>Get certified on the hottest thing ever to hit the market... Oracle 10g.
>Take an Oracle 10g class now, and we'll give you the exam FREE.
>http://ads.osdn.com/?ad_id149&alloc_id66&op=click
>_______________________________________________
>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
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
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