Page 1 of 1

Nagios Core to XI - issue with NRPE

Posted: Thu Sep 22, 2016 4:55 am
by barun.biswas
We are planning to upgrade our Nagios core to XI. However, before upgrading, we are carrying out a PoC.

Nagios core configuration files have already been migrated, config checked and Nagios restarted.

Now, I am trying to migrate a client linux box where NRPE is running. I can see NRPE is running on that box i.e. 'tst'. NRPE client status can be seen from existing Nagios Core server. However, I am not receiving NRPE client status from new Nagios XI box. Could you help me with this please.

Please find below namp and telnet status against tst box from Nagios XI server 'xxx'
-----------------------------------------------------------------------
[root@xxx ~]# nmap -p 5666 tst

Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-22 19:41 AEST
Nmap scan report for tst (x.y.z)
Host is up (0.0011s latency).
rDNS record for x.y.z: tst
PORT STATE SERVICE
5666/tcp open nrpe

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
-----------------------------------------------------------------------

[root@xxx ~]# telnet tst 5666
Trying x.y.z...
Connected to tst.
Escape character is '^]'.
Connection closed by foreign host.
-----------------------------------------------------------------------

Re: Nagios Core to XI - issue with NRPE

Posted: Thu Sep 22, 2016 11:00 am
by rkennedy
What status are you seeing on the new Nagios machine for it? On the client side, take a look at /var/log/messages as this is where errors will output.

Re: Nagios Core to XI - issue with NRPE

Posted: Fri Sep 30, 2016 4:39 am
by barun.biswas
I was able to sort out this issue. So, though to share it with all.

The issue was that the Nagios XI IP was not in the allowed host IP list. So, it was not accepting the request. Once the IP was added to the allowed list, NRPE started working smoothly.

Re: Nagios Core to XI - issue with NRPE

Posted: Fri Sep 30, 2016 9:45 am
by tmcdonald
Thanks for posting back! For reference, there is a lot of useful info in this troubleshooting doc:

https://assets.nagios.com/downloads/nag ... utions.pdf

Might be handy to keep around in case you have other issues in the future.

At any rate, I'll be closing this thread now, but feel free to open another if you need anything in the future!