Re: [Nagios-users] Check_http and or Check_url with A string

2009-09-11 Thread Marc Powell

On Sep 11, 2009, at 2:05 AM, Jim Avery wrote:

> 2009/9/11 peter peters :

>> This by checking if there is a string is on this Url. (page)
>
> The check_http plugin can check for a given string.  Try running it at
> the command line with the --help option to see what it can do.
>
>  check_http --help


You're also likely to find ample examples from the archives of this  
list and Google. You can expect it to be rare for you to be the first  
to try to do something.

--
Marc


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_http and or Check_url with A string

2009-09-11 Thread Jim Avery
2009/9/11 peter peters :
> Dear all,
>
> I want not only to see if a webserver in active but (hostname or IP and
> ping)
> I also so want to see if a Url is responding.
>
> This by checking if there is a string is on this Url. (page)

The check_http plugin can check for a given string.  Try running it at
the command line with the --help option to see what it can do.

  check_http --help

For more general information on how to configure such checks, if you
find the online documention a bit hard-going, then I highly recommend
the book "Nagios" by Wolfgang Barth which explains how Nagios works
from first principles and has sections on how to configure various
kinds of checks and addons.

hth,

Jim

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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