<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H <a href="http://granma.gr" target="_blank">granma.gr</a> -u <a href="http://granma.gr/index.html" target="_blank">http://granma.gr/index.html</a> -R "Web " -w 10 -c 20<br>

Name or service not known HTTP CRITICAL - Unable to open TCP socket<br></div></div></blockquote><div><br>You have to break up the -u argument. -u expects the path, not the complete URI. So in this case:<br><br>/usr/lib64/nagios/plugins/check_http -H <a href="http://granma.gr">granma.gr</a> -u /index.html -R "Web" -w 10 -c 20<br>
</div></div><br>