Best Practice for NRPE Agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Best Practice for NRPE Agent

Post by Berto »

Hello,

There are servers inside our data center that don't have access to the internet, the vast majority I would say. When testing and installing the NRPE agents, the test servers I used did have access to the net and had no issue installing the EPEL repos.
I'm wondering what is the best practice to get the agents installed on servers that don't have access to the internet. Our environment is mainly made up of RHEL but I do have some Solaris 10 servers and would like to know what's the best way to proceed with my particular situation.

Thanks,

--Berto
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Best Practice for NRPE Agent

Post by lmiltchev »

Unfortunately we don't have an "offline" NRPE installer. You can try downloading the Linux agent on the different machine (with Internet access) and moving it over to your server, i.e in the "/tmp/" directory. Next run:

Code: Select all

cd /tmp
tar zxvf linux-nrpe-agent.tar.gz
cd /tmp/linux-nrpe-agent
touch installed.repos
touch installed.prereqs
Find a way to install the prerequisites manually on this machine - autoconf, gcc, glibc, libmcrypt-devel, make, openssl-devel, sudo, sysstat, xinetd, and bc.

Run the fullinstall script:

Code: Select all

./fullinstall
Again, we don't have a "offline" installer. This is just a "workaround" which may or may not work.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Best Practice for NRPE Agent

Post by Berto »

Thanks for the suggestion. I have one more question, if I stand up a Linux repo server that the servers could get to and I add an epel channel would that work for installs?

--Berto
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Best Practice for NRPE Agent

Post by hsmith »

I can't think of anything else you would need. You may want to check the fullinstall script, but I believe that should work.
Former Nagios Employee.
me.
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Best Practice for NRPE Agent

Post by Berto »

Okay, thanks for the info. This can be closed.

--Berto
Locked