<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everybody,<br>
<br>
I'm using check_http to monitor a wab server where we have more than 3
web address. Like:<br>
<a class="moz-txt-link-abbreviated" href="http://www.example1.com">www.example1.com</a><br>
<a class="moz-txt-link-abbreviated" href="http://www.example2.com">www.example2.com</a><br>
<a class="moz-txt-link-abbreviated" href="http://www.example3.com...are">www.example3.com...are</a> all on the same server.<br>
<br>
<br>
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:<br>
libexec/check_http -H 194.81.149.12 -p 80 --url=/www.example1.com<br>
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><br>
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><br>
But the output is not what i'm expecting.<br>
<br>
Can someone tell me if this is even posible?<br>
<br>
I think it should be something like this:<br>
cosmin@cacti-1:/usr/local/nagios> libexec/check_http -H
194.81.149.12 -p 80 <b>-u <a class="moz-txt-link-abbreviated" href="http://www.example1.com">www.example1.com</a></b><br>
HTTP WARNING: HTTP/1.1 400 Bad Request<br>
<br>
But it gives me bad request, and i don't know why.<br>
PS: of course that all the testing is done with the real web site and
the correct ip address, not exemple1.com.<br>
<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>
</body>
</html>