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
automate the installation
-
donnyforbes
- Posts: 357
- Joined: Tue Jun 13, 2017 2:17 pm
Re: automate the installation
I have this
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
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 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
Hi, @donnyforbes. Try replacing:
With:./fullinstall
*Where 192.168.4.172 is the IP address of your Nagios XI server../fullinstall -n -i 192.168.4.172
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
perfect thanks
Re: automate the installation
Let us know if it is safe to close this topic. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!