<div>As Peter pointed out,</div>
<div> </div>
<div>If the Startup Config port is 12489 then NC_NEt is expecting the request on that port.</div>
<div> </div>
<div>But the check_nt is specifying 1248.  </div>
<div> </div>
<div>The passive port is not used unless you are using NSCA with nc_net.</div>
<div>the default config of NC_NET (if the config file is empty or missing) </div>
<div>works on port 1248 and usually fits most check_nt commands.</div>
<div> </div>
<div>Let us know if the problem persists,</div>
<div> </div>
<div>tony (author of NC_NEt)<br><br></div>
<div class="gmail_quote">On Fri, May 15, 2009 at 3:46 AM, Peter Östlin <span dir="ltr"><<a href="mailto:peter.ostlin@op5.com">peter.ostlin@op5.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Thu, May 14, 2009 at 9:02 PM, Anirudh Srinivasan<br><<a href="mailto:srianirudh@gmail.com">srianirudh@gmail.com</a>> wrote:<br>><br>> Hey Folks,<br>><br>> I know " socket timeout after 20 sec" has been discussed so many time in all<br>
> the forums and post, but still this is not so clear to me.<br>><br>> Nagios server : RHEL 5<br>><br>> NC_NET used on Windows server.<br>><br>> In startup.cfg the port is 12489 and the ip_passive is ip address of the<br>
> nagios server.<br>><br>> Even through the Linux cli i get the same error<br>><br>> ./check_nt -H <ip_windows_server> -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248<br>> -t 50<br>> CRITICAL - socket timeout after 50 sec<br>
><br><br></div>Don't know if that's just a typo but you set port 12489 in startup.cfg<br>but use 1248 when executing check_nt.<br><br>/Peter<br><br>------------------------------------------------------------------------------<br>
Crystal Reports - New Free Runtime and 30 Day Trial<br>Check out the new simplified licensing option that enables<br>unlimited royalty-free distribution of the report engine<br>for externally facing server and web deployment.<br>
<a href="http://p.sf.net/sfu/businessobjects" target="_blank">http://p.sf.net/sfu/businessobjects</a><br>
<div>
<div></div>
<div class="h5">_______________________________________________<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></div></div></blockquote></div><br>