Nagios Core to XI - issue with NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
barun.biswas
Posts: 10
Joined: Fri Aug 07, 2015 7:45 am

Nagios Core to XI - issue with NRPE

Post 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.
-----------------------------------------------------------------------
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Core to XI - issue with NRPE

Post 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.
Former Nagios Employee
barun.biswas
Posts: 10
Joined: Fri Aug 07, 2015 7:45 am

Re: Nagios Core to XI - issue with NRPE

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Core to XI - issue with NRPE

Post 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!
Former Nagios employee
Locked