Install Nagios Agents (nrpe-agent)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nssantos
Posts: 13
Joined: Fri Nov 13, 2015 5:55 am

Install Nagios Agents (nrpe-agent)

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Install Nagios Agents (nrpe-agent)

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

Re: Install Nagios Agents (nrpe-agent)

Post 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
Former Nagios Employee
nssantos
Posts: 13
Joined: Fri Nov 13, 2015 5:55 am

Re: Install Nagios Agents (nrpe-agent)

Post by nssantos »

In that way, I have to install nrpe from source in all remote machines too?
nssantos
Posts: 13
Joined: Fri Nov 13, 2015 5:55 am

Re: Install Nagios Agents (nrpe-agent)

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Install Nagios Agents (nrpe-agent)

Post 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
Former Nagios Employee.
me.
nssantos
Posts: 13
Joined: Fri Nov 13, 2015 5:55 am

Re: Install Nagios Agents (nrpe-agent)

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Install Nagios Agents (nrpe-agent)

Post by hsmith »

You could script it using SSH.
Former Nagios Employee.
me.
Locked