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 .
Installing a pre-compiled Linux agent
Installing a pre-compiled Linux agent
Regards,
Ranjit W
Ranjit W
Re: Installing a pre-compiled Linux agent
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
Thank you
Re: Installing a pre-compiled Linux agent
Regards,
Ranjit W
Ranjit W
Re: Installing a pre-compiled Linux agent
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.
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.
Regards,
Ranjit W
Ranjit W
Re: Installing a pre-compiled Linux agent
What OS and version are you installing this on?
Former Nagios employee
Re: Installing a pre-compiled Linux agent
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
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
Regards,
Ranjit W
Ranjit W
Re: Installing a pre-compiled Linux agent
That's just the kernel information. What OS distribution and version is this? CentOS? Ubuntu? AIX?
Former Nagios employee
Re: Installing a pre-compiled Linux agent
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
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
Regards,
Ranjit W
Ranjit W
Re: Installing a pre-compiled Linux agent
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?
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?
Former Nagios employee
Re: Installing a pre-compiled Linux agent
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 .
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 .
Regards,
Ranjit W
Ranjit W