Search found 8 matches

by AnudeepReddy
Tue Oct 31, 2017 1:20 pm
Forum: Open Source Nagios Projects
Topic: (!log_opts) Could not complete SSL handshake with IP: 5
Replies: 10
Views: 18427

Re: (!log_opts) Could not complete SSL handshake with IP: 5

This was how it was previously. define command{ command_name check-client-alive command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 5666 } define command{ command_name check-server-alive command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 80 }
by AnudeepReddy
Mon Oct 30, 2017 12:58 pm
Forum: Open Source Nagios Projects
Topic: (!log_opts) Could not complete SSL handshake with IP: 5
Replies: 10
Views: 18427

Re: (!log_opts) Could not complete SSL handshake with IP: 5

Hi,

I modified the default check-host-live to a TCP ping on port 5666 instead of an ICMP Ping. Modifying this back to ICMP Ping resolved the issue. Not sure why this is throwing an SSL Handshake error though. Does the error code 5 have any meaning here?
by AnudeepReddy
Fri Oct 27, 2017 2:07 pm
Forum: Open Source Nagios Projects
Topic: (!log_opts) Could not complete SSL handshake with IP: 5
Replies: 10
Views: 18427

Re: (!log_opts) Could not complete SSL handshake with ...

Hello @dwasswa, I am not using xinetd. SSL is compiled in the NRPE package. And I do have server_ip in the allowed_hosts in nrpe. I will try compiling both Nagios, NRPE from source and see if the error persists. Is it true that './configure' enables SSL for the latest NRPE 3.2.1 ? It does generate a...
by AnudeepReddy
Fri Oct 27, 2017 12:50 pm
Forum: Open Source Nagios Projects
Topic: (!log_opts) Could not complete SSL handshake with IP: 5
Replies: 10
Views: 18427

Re: (!log_opts) Could not complete SSL handshake with ...

I see a similar issue when running Nagios 4 on FreeBSD (installed from package manager) and NRPE3 (installed from package manager) on FreeBSD. I am not sure if SSL is configured in the Nagios 4 package by default.
by AnudeepReddy
Thu Oct 26, 2017 4:53 pm
Forum: Open Source Nagios Projects
Topic: Plugin runs on core and locally but fails over NRPE
Replies: 5
Views: 3366

Re: Plugin runs on core and locally but fails over NRPE

Yes, you can close the thread. Thanks!
by AnudeepReddy
Thu Oct 26, 2017 3:19 pm
Forum: Open Source Nagios Projects
Topic: (!log_opts) Could not complete SSL handshake with IP: 5
Replies: 10
Views: 18427

(!log_opts) Could not complete SSL handshake with IP: 5

Hello, I have the latest version of Nagios Core running on Ubuntu that I have compiled from the source and latest NRPE client running on FreeBSD installed from the package manager. Everything is running fine (checks, statuses) But I see this error in the NRPE log file. I haven't modified any default...
by AnudeepReddy
Thu Oct 26, 2017 3:05 pm
Forum: Open Source Nagios Projects
Topic: Plugin runs on core and locally but fails over NRPE
Replies: 5
Views: 3366

Re: Plugin runs on core and locally but fails over NRPE

Hello @kyang,

Yes. Check_nrpe is working fine.

I kinda figured out the issue. Using the absolute path for the command `free -m` resolved the problem. i.e `/usr/local/bin/free -m`
Not sure why I need the full path though. It runs fine on the core without absolute path.
by AnudeepReddy
Wed Oct 25, 2017 6:35 pm
Forum: Open Source Nagios Projects
Topic: Plugin runs on core and locally but fails over NRPE
Replies: 5
Views: 3366

Plugin runs on core and locally but fails over NRPE

Hello, I wrote the following plugin which alerts on Available Memory on FreeBSD. It runs locally on remote machine and its nagios status is ok on the core. But it fails over NRPE. I don't see any errors in the NRPE log file. #!/usr/local/bin/bash if [ "$1" = "-w" ] && [ &...