socket timeout after 20 sec

Anthony Montibello amontibello at gmail.com
Sat May 16 05:23:35 CEST 2009


As Peter pointed out,

If the Startup Config port is 12489 then NC_NEt is expecting the request on
that port.

But the check_nt is specifying 1248.

The passive port is not used unless you are using NSCA with nc_net.
the default config of NC_NET (if the config file is empty or missing)
works on port 1248 and usually fits most check_nt commands.

Let us know if the problem persists,

tony (author of NC_NEt)

On Fri, May 15, 2009 at 3:46 AM, Peter Östlin <peter.ostlin at op5.com> wrote:

> On Thu, May 14, 2009 at 9:02 PM, Anirudh Srinivasan
> <srianirudh at gmail.com> wrote:
> >
> > Hey Folks,
> >
> > I know " socket timeout after 20 sec" has been discussed so many time in
> all
> > the forums and post, but still this is not so clear to me.
> >
> > Nagios server : RHEL 5
> >
> > NC_NET used on Windows server.
> >
> > In startup.cfg the port is 12489 and the ip_passive is ip address of the
> > nagios server.
> >
> > Even through the Linux cli i get the same error
> >
> > ./check_nt -H <ip_windows_server> -v FREEDISKSPACE -l C -w 80 -c 90 -p
> 1248
> > -t 50
> > CRITICAL - socket timeout after 50 sec
> >
>
> Don't know if that's just a typo but you set port 12489 in startup.cfg
> but use 1248 when executing check_nt.
>
> /Peter
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
>  _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090515/57fcd24b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list