<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello ,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
<a href="http://nagiosplugins.org/man/check_http" target="_blank">http://nagiosplugins.org/man/check_http</a> (URL) = Reference<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="background:#daeef3">
<span style="font-family:"Courier New"">Root# check_http -w 5 -c 10 --ssl -H <a href="http://www.verisign.com" target="_blank">www.verisign.com</a> <u></u><u></u></span></p><p class="MsoNormal" style="background:#daeef3">
<span style="font-family:"Courier New""> Name or service not known<u></u><u></u></span></p><p class="MsoNormal" style="background:#daeef3"><span style="font-family:"Courier New"">HTTP CRITICAL - Unable to open TCP socket<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><u></u> </p></div></div></blockquote><div>You're using a wrong order... See here the difference:<br>
<br># ./check_http -w 5 -c 10 --ssl -H <a href="http://www.verisisgn.com">www.verisisgn.com</a><br>Name or service not known<br>HTTP CRITICAL - Unable to open TCP socket<br><br># ./check_http -H <a href="http://www.verisign.com">www.verisign.com</a> --ssl -w 5 -c 10<br>
HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time |time=0.821882s;5.000000;10.000000;0.000000 size=42718B;;;0<br><br>I know the way you tried it is shown in the --help but it obviously doesn't work.<br>
<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><u></u></p><p class="MsoNormal">
Please help us in checking whether URL is up or down. How efficiently this script can be used ?<u></u><u></u></p><p class="MsoNormal">Is there any way to find out URL availability ? with port ? or ping ? can we pass proxy ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks in advance.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best regards, Sankar <u></u><u></u></p></div></div><br>------------------------------------------------------------------------------<br>

Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>