Linux agent install fails on DMZ servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Linux agent install fails on DMZ servers

Post by RIDS_I2MP »

Hi Team,

Linux agent installation ha been failing on all the DMZ servers (no internet access from these servers). Attached the install log. We have asked our Linux admin to install the pre-requisite separately but even after that the scripts still fails. Please let us know is there another way to install the agent.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Linux agent install fails on DMZ servers

Post by abrist »

The script will still try to run yum and connect to repos. If you are sure all the prerequisites are installed, you can skip the yum part of the install by doing the following:

Code: Select all

cd /path/to/agent/source  (where the ./fullinstall script is located)
touch installed.yum
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Linux agent install fails on DMZ servers

Post by RIDS_I2MP »

hi

got to know an update that Linux admin team is not able to connect to repository to download the pre-requisites. These servers do not have access to internet. Hence is there a way to download the required pre-requisites.
Thanks & Regards,
I2MP Team.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Linux agent install fails on DMZ servers

Post by slansing »

You could also compile from source as noted here:

http://support.nagios.com/forum/viewtop ... nt#p101367
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Linux agent install fails on DMZ servers

Post by RIDS_I2MP »

Hi

We were able to install an agent on one of the Linux server (out of DMZ). We have copied the files under /usr/local/Nagios folder on the DMZ server, created the service and user / user groups. We observe that the monitoring is working fine. Can you please clarify us on the below.

1. Is this supported
2. Do we need to perform any specific steps to avoid any failure in future.
Thanks & Regards,
I2MP Team.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Linux agent install fails on DMZ servers

Post by slansing »

Can you specify a bit more detail? Did you copy the binary over to a completely different system than the build system? Or did you install NRPE from source, and then copy the configuration file over, that is fine. The Bin is the only thing that would have me worried.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Linux agent install fails on DMZ servers

Post by RIDS_I2MP »

Did you copy the binary over to a completely different system than the build system?

Response: Yes we have copied the binary from the build system to a completely different system.
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Linux agent install fails on DMZ servers

Post by abrist »

Is the build system similar to the dmz server? As long as the are the same arch, and near to the same system (close package versions, etc), you should be ok. My suggestion would be to spin up a test server with as close to matching specs to your DMZ servers as possible and build the package on that.
RIDS_I2MP wrote: Is this supported
Relatively. We do not control your build process and the target platform/arch/distro, but, we will do everything possible to help you through the process.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked