Open kasperbrandenburg opened 5 years ago
I'd suggest trying https://github.com/mickem/nscp/releases/tag/0.5.2.41; it might behave better
I've tried using the latest pre-release 5.3.4 and its the same behavior. Now i am currently running in unsecure mode, as i wanted to test before taking on the challenge of certificates. Lookin in the op5 samle config i see some notes on SSL being broken. I wonder is this is related somehow? I'll continue to try with more configs, and possible look into adjusting loglevels. Hopefully i can find something usefull.
Issue and Steps to Reproduce
Running NSClient++, Version: 0.5.2.35 in Azure on (IaaS) Windows Server 2016 the agent throws an error when asked to run a check locally. This happens both when running as Service, and when running manually under a local-admin user-account.
This also happen with using check_nrpe from central Nagios server. But since the problem can be reproduced on a single Windows VM, this is not a network issue.
I've tested this locally, and here the NSClient version works just fine. So the problem is related to running the NSClient version on Azure IaaS
Expected Behavior
Check should run and report back with result.
Actual Behavior
check_nrpe reports and error and exits
C:\Program Files\NSClient++>check_nrpe.exe -H 127.0.0.1 Error: Failed to connect to: 127.0.0.1:5666 :short read
Details
Additional Details
NSClient++ log: