Running './2-usersgroups'...
Adding users and groups...
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagios' already exists
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagcmd' already exists
usermod: user 'nagios' does not exist
usermod: user 'nagios' does not exist
ERROR: User 'nagios' was not created - exiting.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
I touched the installed.usersgroups file to try & bypass this step but the nagios user doesn't exist so it exits again.
Is there a standard way I can isntall nrpe without having to hack the install scripts ?
I would not recommend running NNA and NRPE on the same server.
Important: Nagios Enterprises highly recommends and will only support installing Nagios Network Analyzer on a newly installed,
“clean” system (a bare minimal install with nothing else installed or configured).
Attempting to install Nagios Network Analyzer on a pre-existing system with other applications already installed can cause the Nagios
Network Analyzer installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way
that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While
installing Network Analyzer on a system with other applications is possible, it is not recommended due to the possible interactions and
complexity of multiple components that are required for Nagios Network Analyzer to function. If you choose to ignore these warnings,
you do so at your own risk
Are you saying that you can't/shouldn't install the NRPE agent on a NNA Server?
Any suggestions on a "supported" way for Nagios to monitor this server?
Are you saying that you can't/shouldn't install the NRPE agent on a NNA Server?
Any suggestions on a "supported" way for Nagios to monitor this server?
I am saying it is not recommended. If you really need to monitor this server, you can install the linux agent on it (nagios plugins + NRPE). I can also use check_by_ssh or SNMP to monitor it. Anyway, back to the NRPE. I just installed the linux agent on my test NNA server with no issues by running:
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
tar zxf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall
I don't think you have a "clean" NNA install. Why do you have "nagios" and "nagcmd" groups? In NNA, you should have only "nnacmd" group in place. Maybe you can remove "nagios" and "nagcmd" groups, and the "installed.usersgroups", and rerun the "./fullinstall".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Thanks Ludmil
I always thought I had a clean install of NNA as it was downloaded as a VM image, but sure enough the nagios & nagcmd entries were there in the group file.
Removing them did the trick - thanks for your help.