Hello,<br>
<br>
I'm missing one feature in check_http nagios plugin that would help<br>
monitoring different virtual hosts on clustered web servers. The<br>
situtation is simple:<br>
<br>
I have two virtual hosts <a href="http://www.first-host.com">www.first-host.com</a> and <a href="http://www.second-host.com">www.second-host.com</a><br>
both round-robin resolving to <a href="http://10.0.0.1">10.0.0.1</a>, <a href="http://10.0.0.2">10.0.0.2</a> and <a href="http://10.0.0.3">10.0.0.3</a>.<br>
<br>
I want to check each virtualhost on each cluster. If I do<br>
  ./check_http -H <a href="http://www.first-host.com">www.first-host.com</a><br>
<br>
then it will likely round-robin each check to a differend cluster and<br>
most likely at least one of them will be alive and return correct<br>
data.<br>
<br>
If I do "./check_http -I <a href="http://10.0.0.1">10.0.0.1</a>" then I will be able to check only<br>
the first virtual host.<br>
<br>
If you added one more variable that is the virtual host (even if I use<br>
-I <a href="http://10.0.0.1">10.0.0.1</a>) somewhere near 824 line after the "Host: ", the plugin<br>
would be much closer to perfetct. On the other hand, you could simply<br>
expand the <uri> variable so it could be used as "<a href="http://virtualhost/uri">http://virtualhost/uri</a>".<br>
<br>
Thank you in advance for your good work!<br>
<br>
Respectfully,<br>
Aurimas Mikalauskas<br>