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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Andreas_c_Schmidt
Posts: 23
Joined: Mon Sep 24, 2012 10:03 am

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

Post 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?
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

Post 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)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
[email protected]
Posts: 1
Joined: Wed Jan 16, 2013 4:22 pm

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

Post by [email protected] »

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
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

Post by slansing »

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

Post 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
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

Post by slansing »

Great to hear! Closing as resolved.
Locked