Check HTTP

Marc Powell marc at ena.com
Fri Oct 30 16:51:58 CET 2009


On Oct 30, 2009, at 7:46 AM, Eduardo Barreto wrote:

> Hi All,
>
> How can I check an apache service, whichs running through port 8070?


Pass the port to check_http --

./check_http --help
...
This plugin tests the HTTP service on the specified host. It can test
normal (http) and secure (https) servers, follow redirects, search for
strings and regular expressions, check connection times, and report on
certificate expiration times.

Usage: check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
        [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
        [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
        [-s string] [-l] [-r <regex> | -R <case-insensitive regex>] [- 
P string]
        [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>] [-A  
string] [-k string]
NOTE: One or both of -H and -I must be specified

Options:
...
  -p, --port=INTEGER
    Port number (default: 80)

--
Marc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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