Hello,
I’m currently struggling with check_nrpe
querying a Windows server running NSClient++
. Testing from the Icinga2 server I am able to connect to the remote server (192.168.56.223) so there’s no firewall or allowed hosts issue:
jonathan@icinga2:/usr/lib/nagios/plugins$ telnet 192.168.56.223 5666
Trying 192.168.56.223...
Connected to 192.168.56.223.
Escape character is '^]'.
When attempting to query NRPE itself I’ve noted TLS/SSL is not configured at the remote host (to be fixed later) so I’ve used the -n
argument. A basic check yields:
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
which was generated via
jonathan@icinga2:/usr/lib/nagios/plugins$ ./check_nrpe -n -H 192.168.56.223
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
I’ve tried with the -2
argument which gives the same error. Additional nsclient.ini
settings of relevance:
[/modules]
NRPEServer = 1
[/settings/NRPE/server]
allow arguments = true
insecure = false
timeout = 70
Searching for that error gives a lot of results that seem to be based around SSL/TLS, which is not in scope here, or around the need to downgrade check_nrpe
. Before I go down that path I wanted to check I’d not missed anything obvious, so any advice would be appreciated. I’m also reading that it may be necessary to switch to Icinga Agent instead.
Thanks in advance .
Software versions
-
check_npre
: 3.2.1- SSL/TLS Available: OpenSSL 0.9.6 or higher required
- Icinga2 OS: Ubuntu 18.04.5 LTS
- Remote OS: Windows Server 2016
- NSClient++: 0.5.2.35 2018-01-28