Page 2 of 3

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Wed Nov 04, 2015 11:36 am
by GaryW
as you thought, nothing found

[root@mx-myatrium ~]# grep -i nag /etc/passwd
[root@mx-myatrium ~]#

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Wed Nov 04, 2015 11:47 am
by hsmith
How about a grep -i nag /etc/shadow?

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Thu Nov 05, 2015 5:04 am
by GaryW
same as passwd file, nothing found

[root@mx-myatrium ~]# grep -i nag /etc/shadow
[root@mx-myatrium ~]#

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Thu Nov 05, 2015 1:06 pm
by hsmith
Can you remove the Nagios lines out of the group file(nagcmd/nagios) and try again?

I am pretty sure we're clear on this, but we're on a remote system, not the XI ova, right?

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Mon Nov 09, 2015 4:46 am
by GaryW
Hi

still fails after deleting the nagcmd & nagios group entries and yes, this definitely is not the Nagios XI server itself.

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Mon Nov 09, 2015 3:16 pm
by hsmith
Two things to try here.

A longshot, however, what is the output of a ps -ef | grep nagios command?

Have you rebooted, to make sure something nasty isn't sticking around?

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Wed Nov 11, 2015 6:54 am
by GaryW
Hi

nothing found on the "ps -ef | grep nagios" and I've definitely rebooted.

current status -

[root@mx-myatrium ~]# grep nagios /etc/group
nagios:x:507:nagios
nagcmd:x:508:nagios

[root@mx-myatrium ~]# grep nagios /etc/passwd
[root@mx-myatrium ~]#

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Wed Nov 11, 2015 11:55 am
by jdalrymple
GaryW wrote:Hi
I've finally had time to install the Nagios XI OVA and start 'playing' with the software but I've hit an config/install error ??

Trying to use the Linux Agent Configuration wizard but it keeps throwing an error -

...


Repos already configured - exiting.
Prereqs already installed - skipping...
Adding users and groups...
useradd: user 'nagios' already exists
useradd: user 'nagios' already exists
ERROR: User 'nagios' was not created - exiting.
Gary
Are you trying to install the Linux agent on an OVA deployment? The Linux agent is installed on that box by default, it's intended for your remote systems to be monitored.

Sorry for the noise if I'm misunderstanding.

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Thu Nov 12, 2015 6:42 am
by GaryW
yes, I'm attempting to install the agent on a remote linux box, not the server itself

Re: Nagios XI Linux Client Wizard Install Fails

Posted: Thu Nov 12, 2015 11:09 am
by jdalrymple
Something is definitely haywire with your system.

I suggest in order to get your install done just create the following file in the directory containing the fullinstall script:

installed.usersgroups

Then re-run fullinstall, it shouldn't bother mucking about with creating the users if that file is there.

After you're done with that, fiddle with users and groups to suit your needs.