check_nt

Pete Dewell pete.dewell at VoltEurope.com
Wed Feb 12 16:48:49 CET 2003


I have extended the timeout to 30 seconds - still the same. Also, the 
box is win2k - NT machines work fine. It's *only* the w2k boxes that 
timeout, and then only from a CLI without gdb. I am extremely confused.

Voon, Ton wrote:
> Maybe running through with gdb gives the NT box more time to reply. On CLI,
> is there a huge wait before it comes back with "No data..."? Have you tried
> increasing the socket timeout?
> 
> 
>>-----Original Message-----
>>From:	Pete Dewell [SMTP:pete.dewell at VoltEurope.com]
>>Sent:	Wednesday, February 12, 2003 2:48 PM
>>To:	nagios-users at lists.sourceforge.net
>>Cc:	Voon, Ton
>>Subject:	Re: [Nagios-users] check_nt
>>
>>Nice try - still the same problem. I have compiled on Red Hat 7.3 and 
>>X86 Solaris. The problem remains. gdb through & run the steps 
>>individually, check_nt works. Run the prog from CLI, it times out.
>>
>>
>>Voon, Ton wrote:
>>
>>>Try check_nt that is in the latest nagios plugins tarball:
>>>http://www.debisschop.net/src/nagios/
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From:	Pete Dewell [SMTP:pete.dewell at volteurope.com]
>>>>Sent:	Wednesday, February 12, 2003 1:28 PM
>>>>To:	nagios-users at lists.sourceforge.net
>>>>Subject:	[Nagios-users] check_nt
>>>>
>>>>Hi,
>>>>
>>>>I'm having problems with the pnsclient and check_nt on win2k machines.
>>>>I downloaded the latest version (v1071) and installed the win2k binary 
>>>>on a win2k machine. The check_nt program (v 1.1.2.3) keeps reporting "No
>>>
>>>>data received from host", but *only* on w2k boxes (I have tried it on 
>>>>three). It works fine on NT.
>>>>
>>>>Using gdb on check_nt, I can get the client to respond with the right 
>>>>info. The problem appears to be in the netutils.c file, my_connect 
>>>>routine, in the actual "result = connect(*sd ..." line. If I "run" gdb 
>>>>over this line, the connection times out. If I step through the program 
>>>>& ensure that the line is executed, then the right data is returned, and
>>>
>>>>check_nt works fine.
>>>>
>>>>Any ideas ? Or preferably, fixes.
>>>>
>>>>Pete Dewell
>>>>-- 
>>>>
>>>>Technical Support/Analyst
>>>>Volt Europe
>>>>Tel    : (+44) (0) 1737 774100
>>>>Fax    : (+44) (0) 1737 772949
>>>>Mobile : (+44) (0)  777 1513066
>>>>E-mail  pete.dewell at volteurope.com
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.NET email is sponsored by:
>>>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>>>>http://www.vasoftware.com
>>>>_______________________________________________
>>>>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
>>>
>>>
>>>
>>>This private and confidential e-mail has been sent to you by Egg.
>>>The Egg group of companies includes Egg Banking plc
>>>(registered no. 2999842), Egg Financial Products Ltd (registered
>>>no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
>>>carries out investment business on behalf of Egg and is regulated
>>>by the Financial Services Authority.  
>>>Registered in England and Wales. Registered offices: 1 Waterhouse
>>
>>Square,
>>
>>>138-142 Holborn, London EC1N 2NA.
>>>If you are not the intended recipient of this e-mail and have
>>>received it in error, please notify the sender by replying with
>>>'received in error' as the subject and then delete it from your
>>>mailbox.
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.NET email is sponsored by:
>>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>>>http://www.vasoftware.com
>>>_______________________________________________
>>>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
>>>
>>
>>
>>-- 
>>
>>Technical Support/Analyst
>>Volt Europe
>>Tel    : (+44) (0) 1737 774100
>>Fax    : (+44) (0) 1737 772949
>>Mobile : (+44) (0)  777 1513066
>>E-mail  pete.dewell at volteurope.com
> 


-- 

Technical Support/Analyst
Volt Europe
Tel    : (+44) (0) 1737 774100
Fax    : (+44) (0) 1737 772949
Mobile : (+44) (0)  777 1513066
E-mail  pete.dewell at volteurope.com



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
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