Automate Linux NRPE installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Automate Linux NRPE installation

Post by cmerchant »

Running './A-subcomponents'...
chown: invalid user: `nagios:nagios'
This message would indicate to me that the 2-usergroups was not completed. (you actually mentioned you had added the users in a previous post).

Could you issue the following command:

Code: Select all

grep nagios /etc/group
grep nagios /etc/passwd
BTW, could you tell us what version of SUSE the linux agent is being installed in.

Code: Select all

cat /etc/*release
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Automate Linux NRPE installation

Post by ssax »

Since the nagios user/group is already created, can't you just removed the nagios/nagcmd user/group, delete the file that you touched to skip it, and try reinstalling again? I assume the nagios/nagcmd user/group won't be on the rest of them, right?
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Automate Linux NRPE installation

Post by jkinning »

grep nagios /etc/group
nagios:!:106:
nagcmd:!:107:nagios

grep nagios /etc/passwd
nagios:x:105:106:User for Nagios:/var/lib/nagios:/bin/bash

cat /etc/*release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Automate Linux NRPE installation

Post by cmerchant »

Could I have you check the following (as root):

Code: Select all

id nagios
chage -l nagios
Locked