Re: NRPE not working (SSL-Handshake)
Posted: Tue Oct 16, 2018 3:01 am
I redid the whole Ubuntu part.
When I check the localhost, I receive this:
But for the host, I still receive the same error:
The Log File Looks like this:
Thank you a lot for your help
When I check the localhost, I receive this:
Code: Select all
check_nrpe -H localhost
NRPE v3.2.1
Code: Select all
CHECK_NRPE: (ssl_err != 5) Error - Could not complete SSL handshake with <HOST_IP>: 1
Code: Select all
2018-10-16 09:48:06: debug:c:\source\master\service\NSClient++.cpp:219: On crash: restart: nscp
2018-10-16 09:48:06: debug:c:\source\master\service\NSClient++.cpp:231: Archiving crash dumps in: C:\Program Files (x86)\NSClient++/crash-dumps
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: CheckDisk
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: CheckExternalScripts
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: CheckNSCP
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: CheckSystem
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: NRPEServer
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:150: Found: NSClientServer
2018-10-16 09:48:07: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\CheckDisk.dll ()
2018-10-16 09:48:08: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\CheckExternalScripts.dll ()
2018-10-16 09:48:09: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\CheckNSCP.dll ()
2018-10-16 09:48:11: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\CheckSystem.dll ()
2018-10-16 09:48:12: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\NRPEServer.dll ()
2018-10-16 09:48:12: debug:c:\source\master\service\plugin_manager.cpp:306: Loading module C:\Program Files (x86)\NSClient++\modules\NSClientServer.dll ()
2018-10-16 09:48:14: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: CheckDisk
2018-10-16 09:48:14: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: CheckExternalScripts
2018-10-16 09:48:14: debug:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:127: No aliases found (adding default)
2018-10-16 09:48:14: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: CheckNSCP
2018-10-16 09:48:14: debug:c:\source\master\modules\CheckNSCP\CheckNSCP.cpp:51: Crash folder is: C:\Program Files (x86)\NSClient++/crash-dumps
2018-10-16 09:48:14: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: CheckSystem
2018-10-16 09:48:14: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: NRPEServer
2018-10-16 09:48:14: debug:c:\source\master\modules\NRPEServer\NRPEServer.cpp:126: Allowed hosts definition: <NAGIOS-SERVER-IP>(255.255.255.255)
2018-10-16 09:48:14: debug:c:\source\master\modules\NRPEServer\NRPEServer.cpp:127: Server config: address: :5666, ssl enabled: none, no certificate, dh: C:\Program Files (x86)\NSClient++/security/nrpe_dh_512.pem, ciphers: ADH, ca: C:\Program Files (x86)\NSClient++/security/ca.pem, options:
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:111: Binding to: [::]:5666(ipv6)
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:214: Attempting to bind to: [::]:5666(ipv6)
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:107: Binding to: 0.0.0.0:5666(ipv4), reopen: true, reuse: true
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:214: Attempting to bind to: 0.0.0.0:5666(ipv4)
2018-10-16 09:48:15: debug:c:\source\master\service\plugin_manager.cpp:227: Loading plugin: NSClientServer
2018-10-16 09:48:15: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:86: Allowed hosts definition: <NAGIOS-SERVER-IP>(255.255.255.255)
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:111: Binding to: [::]:12489(ipv6)
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:214: Attempting to bind to: [::]:12489(ipv6)
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:107: Binding to: 0.0.0.0:12489(ipv4), reopen: true, reuse: true
2018-10-16 09:48:15: debug:c:\source\master\include\socket/server.hpp:214: Attempting to bind to: 0.0.0.0:12489(ipv4)
2018-10-16 09:48:15: debug:c:\source\master\service\NSClient++.cpp:317: NSClient++ - 0.5.2.35 2018-01-28 Started!
2018-10-16 09:48:15: debug:c:\source\master\service\NSClient++.cpp:441: Starting: DONE
2018-10-16 09:48:18: debug:c:\source\master\modules\CheckSystem\pdh_thread.cpp:169: Loading counter: disk_queue_length_0 C: = \\WIN-7O3FI4FN4V5\Physikalischer Datenträger(0 C:)\Zeit (%)
2018-10-16 09:48:18: debug:c:\source\master\modules\CheckSystem\pdh_thread.cpp:169: Loading counter: disk_queue_length__Total = \\WIN-7O3FI4FN4V5\Physikalischer Datenträger(_Total)\Zeit (%)
2018-10-16 09:51:18: debug:c:\source\master\include\nrpe/server/protocol.hpp:92: Accepting connection from: <NAGIOS-SERVER-IP>, count=1
2018-10-16 09:51:18: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: sslv3 alert handshake failure: 1040
2018-10-16 09:53:56: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:53:56: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_memory warn=used<0 crit=used<0 filter=none type=committed perf-config=used(unit:B)free(unit:B)
2018-10-16 09:54:14: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:54:14: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_drivesize drive=c warn=free<0 crit=free<0 filter=type='fixed' and mounted = 1 perf-config=used(unit:B)free(unit:B)
2018-10-16 09:54:42: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:54:42: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_process process=explorer.exe top-syntax=${list} detail-syntax=${exe}: ${legacy_state} empty-syntax=OK: All processes are running.
2018-10-16 09:55:10: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:55:28: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:55:28: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_cpu time=5m
2018-10-16 09:56:24: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:56:24: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_uptime warn=uptime<0
2018-10-16 09:56:33: debug:c:\source\master\include\check_nt/server/protocol.hpp:77: Accepting connection from: <NAGIOS-SERVER-IP>
2018-10-16 09:56:33: debug:c:\source\master\modules\NSClientServer\NSClientServer.cpp:302: Real command: check_service service=DHCP-Client top-syntax=${list} detail-syntax=${name}: ${legacy_state} empty-syntax=OK: All services are in their appropriate state. filter=none crit=not state = 'running'