[Nagiosplug-help] where to get a detailed description of check_http options?

admin at jpk236.com admin at jpk236.com
Tue Jul 5 19:45:29 CEST 2005


#>./check_http --help

I get a very detailed summary of the plugin when that command is run. 
What version of nagios_plugins are you using?

Solution to your scenario:

#>./check_http -w 5 -c 10 www.yourdomain.com

This will output a STATUS_OK if www.yourdomain.com returns content in 
less than 5 seconds.  If it takes longer than 5 seconds to return 
content it returns a STATUS_WARNING, and a STATUS_CRITICAL if it takes 
longer than 10 seconds.

You can also throw a -S or --ssl in there if you want to check HTTPS.

  - Justin Kulikowski
     [ http://www.jpk236.com ]


prosolutions at gmx.net wrote:
> Hello,
> 
> I am trying to configure check_http but the only help I could find was
> via the '--help' switch.  Unfortunately the information it provides is
> only a very terse summary the output of which is nearly impossible to
> decipher without knowing in advance what the switches are.
> 
> I need to run a check to a particular URL and receive one of several
> status flags (or of course receive no response if host is down).  
> 
> I do not really know if check_http has the capacity to
> even handle different status conditions for an http host or what kinds
> of actions it can be configured to take based on each condition if any.
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list