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?
Linux xi agent "linux-nrpe-agent" unattended install for ki
-
Andreas_c_Schmidt
- Posts: 23
- Joined: Mon Sep 24, 2012 10:03 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linux xi agent "linux-nrpe-agent" unattended install for
I don't believe this exists but you could remove that section from the subcomponents/install script ( I believe it is line 21-42)
-
[email protected]
- Posts: 1
- Joined: Wed Jan 16, 2013 4:22 pm
Re: Linux xi agent "linux-nrpe-agent" unattended install for
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Linux xi agent "linux-nrpe-agent" unattended install for
Good suggestion [email protected]. Lets see if this is what he was looking for.
-
Andreas_c_Schmidt
- Posts: 23
- Joined: Mon Sep 24, 2012 10:03 am
Re: Linux xi agent "linux-nrpe-agent" unattended install for
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Linux xi agent "linux-nrpe-agent" unattended install for
Great to hear! Closing as resolved.