<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks allot, it make sens that way :)<br>
<pre class="moz-signature" cols="72">Cosmin Neagu
NOC Team Leader
Str. I. G. Duca nr 36
Otopeni, Judetul Ilfov, 075100 Romania
Tel: 021 303 3159 / 0732 669 193
<a class="moz-txt-link-abbreviated" href="http://www.omnilogic.ro">www.omnilogic.ro</a>
</pre>
<br>
<br>
Assaf Flatto wrote:
<blockquote cite="mid:4B4F4C29.2050100@flatto.net" type="cite">
  <pre wrap="">Cosmin Neagu wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello everybody,

I'm using check_http to monitor a wab server where we have more than 3 
web address. Like:
<a class="moz-txt-link-abbreviated" href="http://www.example1.com">www.example1.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.example2.com">www.example2.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.example3.com...are">www.example3.com...are</a> all on the same server.


Is there a way to check the status for each site? I'm a little 
confused from reding the help of check_http, i have tried like:
libexec/check_http -H 194.81.149.12 -p 80 --url=/www.example1.com
libexec/check_http -H 194.81.149.12 -p 80 -P <a class="moz-txt-link-abbreviated" href="http://www.example1.com">www.example1.com</a>
libexec/check_http -H 194.81.149.12 -p 80 -s <a class="moz-txt-link-abbreviated" href="http://www.example1.com">www.example1.com</a>
But the output is not what i'm expecting.

Can someone tell me if this is even posible?

I think it should be something like this:
cosmin@cacti-1:/usr/local/nagios> libexec/check_http -H 194.81.149.12 
-p 80 *-u <a class="moz-txt-link-abbreviated" href="http://www.example1.com*">www.example1.com*</a>
HTTP WARNING: HTTP/1.1 400 Bad Request

But it gives me bad request, and i don't know why.
PS: of course that all the testing is done with the real web site and 
the correct ip address, not exemple1.com.

    </pre>
  </blockquote>
  <pre wrap=""><!---->The best way to do that is to query the websites with the FQDN in the 
host address :

libexec/check_http -H <a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a> -p 80

that will resolve and send the query to the server with the URL and will 
trigger the vhost reply on the target host .

Assaf




------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/rsaconf-dev2dev">http://p.sf.net/sfu/rsaconf-dev2dev</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
  </pre>
</blockquote>
</body>
</html>