Code: Select all
[/settings/default]
allowed hosts = 172.16.5.1
[/settings/log]
file name nsclient-debug.log
level = debug
verify mode = none
insecure = true
[/modules]
CheckExternalScripts = disabled
CheckHelpers = disabled
CheckEventLog = disabled
CheckNSCP = disabled
CheckDisk = enabled
CheckSystem = enabled
NSClientServer = enabled
NRPEServer = enabled
[settings/NRPE/server]
use ssl = false
allow arguments = true
allow nasty characters = true
allowed hosts = 172.16.5.1
port = 5666
insecure = true
verify mode = noneTo test I run a quick command line from the Nagios server (Debian) with the "-n" option to disable server side SSL:
Code: Select all
root@monitor:/usr/local/nagios/libexec# ./check_nrpe -H 172.16.7.11 -n -4 -p 5666
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).Code: Select all
2021-01-05 08:39:25: debug:c:\source\master\include\nrpe/server/protocol.hpp:92: Accepting connection from: 172.16.5.1, count=1
2021-01-05 08:39:25: error:c:\source\master\include\socket/connection.hpp:273: Seems we other end is not using ssl: unknown protocol
2021-01-05 08:39:25: error:c:\source\master\include\socket/connection.hpp:274: Please review the ssl option as well as ssl options in settings.A few other notes:
check_nt commands work fine without SSL
I've installed the latest check_nrpe plugin with no change
I need to get this solved before the new Windows servers go live. I'd appreciate any thoughts anyone might have.