Page 1 of 1

XI NRPE install on Cloud Linux

Posted: Mon Feb 20, 2012 10:27 pm
by theozsnowman
we are testing XI currently with a view to moving from Nagios 3 to it, but have hit a hurdle when trying to deploy service monitoring on our linux Machines.

We have a mix of Centos 5 and 6 and Cloud Linux 5 and 6 machines and a lot of these already have a nrpe install for our other monitors on them, how can we tie in XI's nrpe addon as well?

we tried removing the old installer on a centos 6 machine and a cloud linux machine and we got 2 problems occured...

the first was that the NRPE installer hung at step 4 setting up the firewall on the centos 6 machine, we are using CSF firewall mostly on linux and 5666 is already open in our services for nrpe, so im unsure why the installer hangs and how we can get past this.

the second issue which is on Cloud Linux is that the installer is telling us that the LVE kernel is not supported and the installer fails

are there workarounds to this? as we desperately need to get this thoroughly tested to decide if we go ahead with the purchase of XI or if we stay with v3

Re: XI NRPE install on Cloud Linux

Posted: Tue Feb 21, 2012 10:16 am
by scottwilkerson
If you already had NRPE installed on the machines, there is no need to recompile it.

Simply add the Nagios XI server's IP address to either /etc/xinetd.d/nrpe under only_from or to your nrpe.cfg under allowewed hosts if you are not running under xinetd

restart nrpe and you should be in good shape.

Re: XI NRPE install on Cloud Linux

Posted: Tue Feb 21, 2012 4:35 pm
by theozsnowman
I though that may have been the case however none of the services are reporting

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

un yet they are working fine on our 3.x installs without issue.

The IP is in the xinetd allow list and firewall

we also need to find a solution to the error about not recognizing cloud linux lve kernel...

Re: XI NRPE install on Cloud Linux

Posted: Wed Feb 22, 2012 10:21 am
by scottwilkerson
theozsnowman wrote:CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Did you find any information in the remote server logs (not the Nagios XI logs)?

As for the "Cloud Linux" question, I'm not totally familiar but you may be able to install it with

Code: Select all

apt-get install nagios-nrpe-server

Re: XI NRPE install on Cloud Linux

Posted: Wed Feb 22, 2012 2:35 pm
by theozsnowman
theres the issue we are seeing no errors from the servers with nrpe installed on them, and they were perfectly with our v3 installs of Nagios

Cloud Linux is based on Centos and simply uses an LVE kernel, the nrpe installer we download from the wizard in XI is what we tried to install on one new machine and its whats throwing the kernel error on the installer run.

so it would seem there is no support for the kernel in whatever component this new installer module uses?? as if we install nrpe the old fashioned way it works without issue, just we get the other error then....

has us all baffled

Re: XI NRPE install on Cloud Linux

Posted: Wed Feb 22, 2012 5:41 pm
by scottwilkerson
so on the remote machine in /var/log/messages there isn't any clue to the NRPE error?