Page 3 of 3

Re: NRPE SSL handshake issue

Posted: Thu Apr 20, 2017 9:47 am
by youngek
I would like to use the latest. I guess I probably do need help removing the other agent. What about other machines that have the agent that are setup for our CORE server? Do I leave those alone or uinstall and reinstall the new one? I have setup a 1:1 time for tomorrow. Would be nice to resolve this issue by then and talk about some other things in the 1:1.

Re: NRPE SSL handshake issue

Posted: Thu Apr 20, 2017 12:17 pm
by tgriep
I took the 1:1 tomorrow so see you then.

To remove the older version if the NRPE Agent, you would run the following

Code: Select all

yum remove nrpe
Then, you would probably have to reinstall the newer NRPE Agent by following these instructions again.
https://support.nagios.com/kb/article.php?id=515


The other systems that already have the NRPE agent installed, you can leave them alone and add the XI server to the configurations.

Edit the /etc/nagios/nrpe.cfg file and add the IP address of the new server to the allowed_hosts line like the example below

Code: Select all

allowed_hosts=127.0.0.1,56.190.15.8
If this file exists /etc/xinetd.d/nrpe edit it and add the XI server to the only_from option like the example below.

Code: Select all

only_from = 127.0.0.1 56.190.15.8
Then restart the nrpe agent of the xinetd daemon for the changes to work.

Now, here is where most of the issues I feel are coming from.
The pre-compiled RPM version of the NRPE Agent was not packaged by us and it is setup with hard coded arguments in the commands that do not work with the Linux Server Wizard.
The NRPE Wizard in XI is setup to use the NRPE Agent with the hard coded arguments as long as you do not fill them in in the Wizard.

Let me know if this helps out and if you have anymore questions.