Nagios XI Linux Client Wizard Install Fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
GaryW
Posts: 11
Joined: Mon Nov 02, 2015 5:17 am

Re: Nagios XI Linux Client Wizard Install Fails

Post by GaryW »

as you thought, nothing found

[root@mx-myatrium ~]# grep -i nag /etc/passwd
[root@mx-myatrium ~]#
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Linux Client Wizard Install Fails

Post by hsmith »

How about a grep -i nag /etc/shadow?
Former Nagios Employee.
me.
GaryW
Posts: 11
Joined: Mon Nov 02, 2015 5:17 am

Re: Nagios XI Linux Client Wizard Install Fails

Post by GaryW »

same as passwd file, nothing found

[root@mx-myatrium ~]# grep -i nag /etc/shadow
[root@mx-myatrium ~]#
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Linux Client Wizard Install Fails

Post 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?
Former Nagios Employee.
me.
GaryW
Posts: 11
Joined: Mon Nov 02, 2015 5:17 am

Re: Nagios XI Linux Client Wizard Install Fails

Post by GaryW »

Hi

still fails after deleting the nagcmd & nagios group entries and yes, this definitely is not the Nagios XI server itself.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Linux Client Wizard Install Fails

Post 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?
Former Nagios Employee.
me.
GaryW
Posts: 11
Joined: Mon Nov 02, 2015 5:17 am

Re: Nagios XI Linux Client Wizard Install Fails

Post 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 ~]#
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI Linux Client Wizard Install Fails

Post 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.
GaryW
Posts: 11
Joined: Mon Nov 02, 2015 5:17 am

Re: Nagios XI Linux Client Wizard Install Fails

Post by GaryW »

yes, I'm attempting to install the agent on a remote linux box, not the server itself
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI Linux Client Wizard Install Fails

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