Page 1 of 1

automate the installation

Posted: Tue Nov 27, 2018 11:34 am
by donnyforbes
Can you automate the Linux NRPE agent for install? If so how can this be done? We are wanting this to add to our puppet build / deployment.

Thanks

Re: automate the installation

Posted: Tue Nov 27, 2018 12:01 pm
by donnyforbes
I have this

Code: Select all

 WriteLog Verbose Info "- NRPE - cd /tmp"
    cd /tmp
    wget https://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
    tar xzf linux-nrpe-agent.tar.gz
    cd linux-nrpe-agent
    ./fullinstall 
However when running it is asked for the
Allow from:

How can I have my ip_address automatically there so it doesn't ask for input?

Thanks

Re: automate the installation

Posted: Tue Nov 27, 2018 12:06 pm
by npolovenko
Hi, @donnyforbes. Try replacing:
./fullinstall
With:
./fullinstall -n -i 192.168.4.172
*Where 192.168.4.172 is the IP address of your Nagios XI server.

Re: automate the installation

Posted: Tue Nov 27, 2018 12:16 pm
by donnyforbes
perfect thanks

Re: automate the installation

Posted: Tue Nov 27, 2018 12:31 pm
by lmiltchev
Let us know if it is safe to close this topic. Thanks!