Page 1 of 1

Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 11:27 am
by luniversity
I'm trying to install the linux-nrpe-agent on a new RHEL 6 system and I doesn't seem to be running normally. I've not seen this before and I'm hoping someone can help me.

When I run the fullinstall this is what I get:
[root@tsuswifi linux-nrpe-agent]# ./fullinstall
============================
Nagios Linux Agent Installer
============================

This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.

IMPORTANT: This script should only be used on a clean installed system:

RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian

Do NOT use this on a system running any other distro or that
does not allow additional package installation.

Do you want to continue? [Y/n] Y
Proceeding with installation...
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Prereqs already installed - skipping...
RESULT=0
Running './2-usersgroups'...
Users/groups already configured - skipping.
RESULT=0
Running './3-services'...
/etc/services already updated - skipping.
RESULT=0
Running './4-firewall'...
Firewall rules already configured - skipping.
RESULT=0
Running './A-subcomponents'...
Subcomponents already configured - skipping.
RESULT=0

##########################################################
### ###
### Nagios XI Linux Agent Installation Complete! ###
### ###
##########################################################

If you experience any problems, please attach the file install.log that was just created to any support requests.
Not sure what I'm doing wrong. This is brand new server I just setup today. Anyone got any ideas.

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 11:31 am
by hsmith
Was the agent previously installed? It looks like is finding the 'installed.*' files and exiting since they're present, because it thinks they're already installed.

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 11:45 am
by luniversity
No sir. Like I said, this is a fresh server build. I am however running the install from an NFS mount which I use to install on all my clients.

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 11:55 am
by luniversity
Ok I unzipped the agent in the /tmp directory and ran it from there. Now it looks right. Sorry.

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 12:02 pm
by rkennedy
Ah, no worries. I imagine you could run into weird issues compiling and such over NFS. I would have it copy over from the NFS like you did, and then run it from there. Regardless, glad to see it working!

Are we good to close this thread out?

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 12:10 pm
by luniversity
Yes sir. And thanks again.
Funny though, I've installed at least 30 different clients from that NFS share and this is the first time I've seen that.

Re: Linux Agent install not installing properly

Posted: Thu Feb 18, 2016 1:23 pm
by hsmith
One of them must have dropped the installed.* files there. I imagine if you delete them you should be all right.