Page 1 of 1

Linux xi agent "linux-nrpe-agent" unattended install for ki

Posted: Thu Sep 27, 2012 12:46 am
by Andreas_c_Schmidt
Hi, I'd like to add the nrpe agent install into a kickstart profile to be auto deployed with new systems.

I used this documentation http://assets.nagios.com/downloads/nagi ... _Agent.pdf with teh modification to use
./fullinstall -n for non interactive. But even this option asks at the end for "Allow from:" IP Address and makes this option useless for a script

An ./fullinstall << EOF didn't help me around this issue.

Is there any option to run this script totally unattended and then rework the nrpe.cfg later?

Re: Linux xi agent "linux-nrpe-agent" unattended install for

Posted: Sat Sep 29, 2012 7:44 pm
by scottwilkerson
I don't believe this exists but you could remove that section from the subcomponents/install script ( I believe it is line 21-42)

Re: Linux xi agent "linux-nrpe-agent" unattended install for

Posted: Wed Apr 17, 2013 8:11 am
This works:

1. unzip linux-nrpe-agent.tar.gz
2. Modify the following script:
/tmp/linux-nrpe-agent/subcomponents/install

Comment out the read & hard code the IP for your Nagios server:
#read -p "Allow from: " ALLOW_INPUT
ALLOW_INPUT="X.X.X.X"

3. ./fullinstall -n

Re: Linux xi agent "linux-nrpe-agent" unattended install for

Posted: Wed Apr 17, 2013 9:58 am
by slansing
Good suggestion [email protected]. Lets see if this is what he was looking for.

Re: Linux xi agent "linux-nrpe-agent" unattended install for

Posted: Sat Jun 29, 2013 12:39 pm
by Andreas_c_Schmidt
Hi Gkeir,

thanks a lot and sorry for the late response.

It was too late for my previous client but I was able to use it now and it works like a charm. However the Kickstart doesn't like to compile things but I was able to run it afterwards.

Thanks a lot again.

Andreas

Re: Linux xi agent "linux-nrpe-agent" unattended install for

Posted: Mon Jul 01, 2013 9:23 am
by slansing
Great to hear! Closing as resolved.