automate the installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

automate the installation

Post 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
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: automate the installation

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: automate the installation

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
donnyforbes
Posts: 357
Joined: Tue Jun 13, 2017 2:17 pm

Re: automate the installation

Post by donnyforbes »

perfect thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: automate the installation

Post by lmiltchev »

Let us know if it is safe to close this topic. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked