linux-nrpe-agent unattended offline installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

linux-nrpe-agent unattended offline installation

Post by ranjitw »

Hi Team,

We need to perform unattended install of linux-nrpe-agent on a machine where there is no internet access. What all need to be set as prerequiestes.

Can you please suggest the steps to be followed ?

Regards,
Ranjit W
Regards,
Ranjit W
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: linux-nrpe-agent unattended offline installation

Post by jdalrymple »

What do you mean by "unattended"?

The process is as follows

1) move files
2) extract tar
3) run fullinstall script (or compile manually depending on the package you used)
4) adjust configuration to suit your needs

Now I don't know what you mean by unattended. If you mean DevOps style truly unattended you'll need something like Chef or Puppet to handle the installation for you. That's outside the scope of our support forums, but is well documented at each of the respective platforms websites.

If you mean "without logging into a console" - the above can all be scripted using scp and ssh commands.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: linux-nrpe-agent unattended offline installation

Post by ranjitw »

Hi jdalrymple,

I mean silent installation (unattended) . What would be the option for performing silent installation where i will not be prompted for inputs.

Regards,
ranjit W
Regards,
Ranjit W
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: linux-nrpe-agent unattended offline installation

Post by hsmith »

You would have to modify the fullinstall script or use a different product like @jdalrymple suggested in the previous post.
Former Nagios Employee.
me.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: linux-nrpe-agent unattended offline installation

Post by ranjitw »

Hi,

Is there no option where I can give fullinstall an input ?

Regards,
Ranjit W
Regards,
Ranjit W
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: linux-nrpe-agent unattended offline installation

Post by jomann »

If you're using the latest version of NRPE there should be a -n for non-interactive mode on fullinstall. It assumes defaults for everything but does not add any hosts to the configuration. You'd have to do that afterwards yourself.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: linux-nrpe-agent unattended offline installation

Post by ranjitw »

Thanks . Please close the post.

Regards,
Ranjit W
Regards,
Ranjit W
Locked