Search found 24 matches

by nihvel
Tue Dec 29, 2015 11:13 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

When there's something not working on Linux, it's 99% permissions problem. It applies the dac so damn well.
Yes please you may close it now! :D
by nihvel
Tue Dec 29, 2015 3:46 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

hsmith wrote:Merry Christmas to you as well. Is this one working for you yet? Looking through this I can't tell for sure if it is resolved or not.
Yes it is solved 8-) Good job! Thanks
by nihvel
Thu Dec 24, 2015 6:02 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

I only have one more question: How come if I edit nrpe.cfg with the path of certificates, the command ./check_nrpe -H ip -c command does not work resulting in an ssl handshake error, and when I send the command with certificates option included, it does? check_nrpe does not read the nrpe.cfg. It on...
by nihvel
Wed Dec 23, 2015 3:34 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

I forgot to write you, I ran this command as my nagios user too and: nagusr@nagios03:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.10.219 -C /usr/local/nagios/etc/ssl/client_certs/nag_serv.pem -K /usr/local/nagios/etc/ssl/client_certs/nag_serv.key -A /usr/local/nagios/etc/ssl/ca/ca_cert.pem -c ...
by nihvel
Tue Dec 22, 2015 3:43 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

2 replies! Server : root@nagios03:/home# ls -l /usr/local/nagios/etc/ssl total 16 drwxr-x--- 2 root usrnag 4096 Dec 21 10:42 ca drwxr-x--- 2 root usrnag 4096 Dec 21 10:49 client_certs drwx------ 3 root usrnag 4096 Dec 21 10:49 demoCA drwxr-x--- 2 root usrnag 4096 Dec 21 10:44 server_certs root@nagio...
by nihvel
Mon Dec 21, 2015 7:17 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

Ok this is hilarious. I was wondering what would happen if I send the ./check_nrpe command with all the options for the certificate as well. Something like: ./check_nrpe -H 192.168.10.219 -C /usr/local/nagios/etc/ssl/client_certs/nag_serv.pem -K /usr/local/nagios/etc/ssl/client_certs/nag_serv.key -A...
by nihvel
Sat Dec 19, 2015 5:14 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

Dec 18 11:59:32 ubuntu-test3 nrpe[4841]: Error: Could not complete SSL handshake with : peer did not return a certificate Jumping in a little late, but it looks like there isn't a hostname specified. What was the command you ran to generate this log / response? That piece of log is part of the clie...
by nihvel
Fri Dec 18, 2015 4:28 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

I shouldn't post just before going to bed. Both ends should really have certificates. I added an Example section to README.SSL.md. It hasn't been fully vetted yet, so there might be a few problems with it. But it should get you going. https://raw.githubusercontent.com/NagiosEnterprises/nrpe/nrpe-2-...
by nihvel
Thu Dec 17, 2015 4:45 am
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

key, csr and crt are on the server and the client's only got server's crt in its configuration. Isn't it supposed to be like this? Actually, it's a client certificate, so the server only needs the CA certificate, and the client needs all three. (I think. Can't log into my workstation, so I can't ch...
by nihvel
Wed Dec 16, 2015 6:30 pm
Forum: Open Source Nagios Projects
Topic: I can't understand how nrpe 2.16 should be installed
Replies: 35
Views: 19032

Re: I can't understand how nrpe 2.16 should be installed

Failing when using certificates @nihvel, it looks like you had ssl_use_adh=2 in your nrpe.cfg file. True, but I also checked with ssl_use_adh=0 and 1 and it does not change, I can't get the certificate working (and again, wireshark is not helping me to double check what passes encrypted and what no...