On 11/19/09 2:37 PM Thomas Guyot-Sionnest wrote: Hi there,
>> the Client Logfile shows me: >> >> [...] >> 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: >> Error: Could not complete SSL handshake : [-1] 1, attempting to resume... >> [...] >> >> Whats going on? ;-) > > This seems to be because your NRPE don't have ssl enabled. Look at the > - --help output of check_nrpe, you should see: > > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required check_nrpe --help isn't show me something like SSL/TLS. We are using NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad ([email protected]) Version: 1.9 Last Modified: 07-22-2003 License: GPL >> ;# USE SSL SOCKET >> ; This option controls if SSL should be used on the socket. >> use_ssl=1 > > Atlernatively turn this to 0 and use the -n switch in check_nrpe (so if > you upgrade you won't break your checks by enabling SSL) OK, I've set use_ssl to "0" now I'm getting following message: # ./check_nrpe -H <WindowsClient> -p 5666 -c alias_up CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? allowed_hosts entries are 'blank' (only for testing) the logfile from the Windows Client shows me: 2009-11-21 05:11:39: error:modules\NRPEListener\NRPEListener.cpp:358: We got more then we wanted 1036, we only got: 1040 >> ;# BIND TO ADDRESS >> ; Allows you to bind server to a specific local address. This has to be >> a dotted ip adress not a hostname. >> ; Leaving this blank will bind to all avalible IP adresses. >> ; bind_to_address= >> ; >> ;# ALLOWED HOST ADDRESSES >> ; This is a comma-delimited list of IP address of hosts that are >> allowed to talk to NRPE deamon. >> ; If you leave this blank the global version will be used instead. >> allowed_hosts=<removed> > > Make sure tis parameter list the IP/network from your monitoring server > (be extra careful if your monitoring server has multiple VLANs / servers) for testing, all allowed_hosts entries in nsc.ini are now blank. This version of check_nrpe is running on our nagios servers: NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad ([email protected]) Version: 1.9 Last Modified: 07-22-2003 License: GPL (I know, its an old version, but at the moment we can't upgrade to the newest version) and NSClient++ 0.3.7.493 2009-10-12 on our Windows Clients (32 and 64 bit). thanks in advance Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list [email protected] 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
