Page 1 of 2

Installing a pre-compiled Linux agent

Posted: Wed Oct 28, 2015 7:21 am
by ranjitw
Hi All,

We are planning to perform a bulk installation of Linux agent on many servers at a time using automation tool .

As in our automation process we should not have any compilation we explored for a way and found below article of installing a pre-complied linux agent.

https://assets.nagios.com/downloads/nag ... Installing

When I tried following the steps mentioned in the article the installation failed with below error :

./Linux_Static_Agent.tar.gz.sh
Created by: $Id: Makefile 63 2010-07-19 18:32:09Z mmestnik $.
Mon Jul 19 18:32:18 UTC 2010
Hostname: colinux
User: mmestnik
Path: Linux_Static_Agent
URL: https://devhub.nagios.com/svn/xiagents/ ... atic_Agent
Repository Root: https://devhub.nagios.com/svn/xiagents
Repository UUID: 775aac8c-84a2-4f69-ad47-ca51e7846425
Revision: 57
Node Kind: directory
Schedule: normal
Last Changed Author: mmestnik
Last Changed Rev: 57
Last Changed Date: 2010-07-15 21:00:37 +0000 (Thu, 15 Jul 2010)
Removed ci commands and the alias, mmestnik. Aug 03 2010
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
chmod: failed to get attributes of `etc/init.d/nrpe': No such file or directory
cp: cannot stat `etc/init.d/nrpe': No such file or directory

Basically we don't have connectivity to internet on the server where we are installing the agent. Can anyone please help me in resolving this issue.

If incase they are any alternatives please suggest .

Re: Installing a pre-compiled Linux agent

Posted: Wed Oct 28, 2015 3:07 pm
by ssax
Can you post the link to the guide you were following for this? The link that you posted is not working. I think that may be old but I'd like to take a look at it.

Thank you

Re: Installing a pre-compiled Linux agent

Posted: Thu Oct 29, 2015 12:58 am
by ranjitw

Re: Installing a pre-compiled Linux agent

Posted: Thu Oct 29, 2015 6:19 am
by ranjitw
Hi All,

This is a major activity for us as we have many server on which we are planning for a bulk installation .

None of the servers have internet access . We are planning to perform a pre-compiled linux agent installation because they are many dependent rpms to be installed if we go for a compiled version of linux agent installation.

Please suggest the best way to perform this activity.

Re: Installing a pre-compiled Linux agent

Posted: Thu Oct 29, 2015 10:46 am
by tmcdonald
What OS and version are you installing this on?

Re: Installing a pre-compiled Linux agent

Posted: Fri Oct 30, 2015 12:29 am
by ranjitw
Hi tmcdonald,

Linux hostname 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Re: Installing a pre-compiled Linux agent

Posted: Fri Oct 30, 2015 12:44 pm
by tmcdonald
That's just the kernel information. What OS distribution and version is this? CentOS? Ubuntu? AIX?

Re: Installing a pre-compiled Linux agent

Posted: Mon Nov 02, 2015 2:53 am
by ranjitw
Hi ,

Below is the requested information :

LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Red Hat Enterprise Linux Server release 6.5 (Santiago)


LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.5 (Santiago)
Release: 6.5
Codename: Santiago

Re: Installing a pre-compiled Linux agent

Posted: Mon Nov 02, 2015 5:39 pm
by tmcdonald
In all honesty, that doc probably needs a good review. Currently the .tar.gz file is appended to the end of the bash script that uses it, which is... clever but not great practice. I talked to the devs and they are in agreement.

As far as getting this working for you right now, do you have anything like Puppet/Chef/Salt/Ansible which you could use? And as for having a binary, can you compile on a build server and ship that?

Re: Installing a pre-compiled Linux agent

Posted: Tue Nov 03, 2015 12:40 am
by ranjitw
Hi tcmdonald,

We have compiled on the test server and shipped it to different server and we are testing the functionality.

We are using HPSA for deployment .

Will a binary compiled on 64 bit server work on a 32 bit server .