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.
Nagios Linux client install nrpe issue
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Linux client install nrpe issue
Run the following
then re-run ./fullinstall
We have seen instances where all of the dependencies aren't getting installed and ./fullinstall is continuing anyways.
Code: Select all
yum -y install autoconf gcc glibc libmcrypt-devel make openssl-devel perl perl-Net-SMTP-TLS sudo sysstat xinetdWe have seen instances where all of the dependencies aren't getting installed and ./fullinstall is continuing anyways.
Re: Nagios Linux client install nrpe issue
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
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.