Nagios Linux client install nrpe issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cmort
Posts: 11
Joined: Tue Feb 07, 2012 3:32 pm

Nagios Linux client install nrpe issue

Post by cmort »

Nagios XI 2011R2.2
Installed nagios client for Linux 5 , linux-nrpe-agent.tar.gz. the install completes but I notice at the end a couple of errors about "/etc/init.c/nrpe no such file or directory exists, I enter the allowed IP address of my Nagios server and the install completes sucessfully
I then go to the NagiosXI gui and configure/install this linux host. All the jobs, disk usage, cpu stats, memory... all fail with "connection refused by host"
Ping job is the only one that succeeds.
I have looked on line and all trouble shooting that I have found refer to the etc/init.d/nrpe which does not exist.
I have found "nrpe.cfg" in two locations on my client.
Here
/data/tmp/Nagios/linux-nrpe-agent/subcomponents/nrpe/mods/cfg/nrpe.cfg
and here
/usr/local/nagios/etc/nrpe.cfg
neither one has my nagios server address in the Allowed section only the local host 127.0.0.1

What am I missing???

Thanks in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Linux client install nrpe issue

Post by scottwilkerson »

Run the following

Code: Select all

yum -y install autoconf gcc glibc libmcrypt-devel make openssl-devel perl perl-Net-SMTP-TLS sudo sysstat xinetd
then re-run ./fullinstall

We have seen instances where all of the dependencies aren't getting installed and ./fullinstall is continuing anyways.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cmort
Posts: 11
Joined: Tue Feb 07, 2012 3:32 pm

Re: Nagios Linux client install nrpe issue

Post by cmort »

Scott, thanks again. The underliying issue turned out to be the yum.conf file. We modify it with the paremeter "exclude-kernel*". This was preventing kernel-headers and any other serivces dependent on it from being updated or installed. .Once I remmed this out I was able to run your command and it updated successfully and the ./fullinstall ran without error
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Linux client install nrpe issue

Post by scottwilkerson »

Excellent. We ran into this another time this week and are going to have the install script changed to it stops and errors when this happens.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked