Linux Agent install not installing properly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Linux Agent install not installing properly

Post 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.
Mike Westmoreland
Lamar University
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Linux Agent install not installing properly

Post 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.
Former Nagios Employee.
me.
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Linux Agent install not installing properly

Post 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.
Mike Westmoreland
Lamar University
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Linux Agent install not installing properly

Post by luniversity »

Ok I unzipped the agent in the /tmp directory and ran it from there. Now it looks right. Sorry.
Mike Westmoreland
Lamar University
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Linux Agent install not installing properly

Post 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?
Former Nagios Employee
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Linux Agent install not installing properly

Post 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.
Mike Westmoreland
Lamar University
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Linux Agent install not installing properly

Post by hsmith »

One of them must have dropped the installed.* files there. I imagine if you delete them you should be all right.
Former Nagios Employee.
me.
Locked