Page 1 of 1

Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 9:36 am
by nssantos
Following this article: http://www.unixmen.com/install-and-conf ... -rhel-6-4/
"Next install nagios with all plug-ins and nagios agents(nrpe-agent) using command:" yum install nagios*

However there is no libexec directory under my nagios folder.
I already have many target configured in my nagios serve, can I install nagios in my server again and does not change anything on the targets?

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 10:08 am
by hsmith
I am not sure what the current status of the EPEL Nagios Core installation is. If I were you, I would highly recommend you remove whatever you installed with EPEL and follow this document to install Core from source. http://sites.box293.com/nagios/guides/i ... centos-6-7

We're working on getting the EPEL installation to be more stable, but for now, the source installation is the best option.

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 10:10 am
by rkennedy
What OS are you running?

Try compiling the plugins manually -

Code: Select all

cd /tmp
wget http://nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz
tar zxf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
make
make install

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 10:16 am
by nssantos
In that way, I have to install nrpe from source in all remote machines too?

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 10:17 am
by nssantos
rkennedy wrote:What OS are you running?

Try compiling the plugins manually -

Code: Select all

cd /tmp
wget http://nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz
tar zxf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
make
make install
I will try right now

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 11:39 am
by hsmith
I apologize, I misunderstood your question. yum install nagios will install Nagios core, not NRPE. The easiest way to install NRPE is by following this document: https://s3.amazonaws.com/uploads.hipcha ... _Agent.pdf

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 2:35 pm
by nssantos
hsmith wrote:I apologize, I misunderstood your question. yum install nagios will install Nagios core, not NRPE. The easiest way to install NRPE is by following this document: https://s3.amazonaws.com/uploads.hipcha ... _Agent.pdf
I'm using PlanetLab nodes as Server and remote machines, and for any reason that I dont know, I cant add newusers. I am actually moniroting almost 250 nodes:
Image

Is it possible to monitor DISk, Memory and CPU without source instalation?

Re: Install Nagios Agents (nrpe-agent)

Posted: Wed Jan 20, 2016 2:58 pm
by hsmith
You could script it using SSH.