Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Using NSClient 0.4.4 stable and running on a Win2008 server:
Allowed hosts definition: 10.0.0.0(255.0.0.0)
Binding to: [::]:5666(ipv6)
Attempting to bind to: [::]:5666(ipv6)
Binding to: 0.0.0.0:5666(ipv4), reopen: true, reuse: true
Attempting to bind to: 0.0.0.0:5666(ipv4)
NSClient++ - 0.4.4.23 2016-04-05 Started!
Since Nagios 3.3.1 under Debian, I try to execute a classical chech_nrpe -H < my_Win2008 >
root@xxxxxxx:/usr/local/nagios/libexec# ./check_nrpe -H 10.0.0.45 -n
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Since Win2008 w/NSClient:
D rrpe Accepting connection from: 10.0.0.4, count=1
E nrpe Failed to establish secure connection: unknown protocol: 252
c:\source\nscp\include\socket/connection.hpp:243
root@xxxxxxxx:/# usr/local/nagios/libexec/check_nrpe -H 10.0.0.45
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Also good to note that you need to enable NRPE in the nsclient++ config since it isn't on by default. This may fix your issue, in addition to adding your nagios server as an allowed host. (EDIT: or just ignore this post and read the post from the above intelligent and dutiful support technician)