Objective
Presenting the solution for error “There was a problem creating the ‘ nrpe user” that occurs when installing the agent on HP-UX.
Symptom
When performing the HP-UX agent installation occurs the error below:
/opt/nrpe/bin >./configure.sh Checking if group 'nrpe' is present... Creating group 'nrpe' Checking if user 'nrpe' is present... Creating user 'nrpe'... UID 312 is not unique There was a problem creating the 'nrpe' user. Exit.
Solution
To solve it change in the file below the user’s UID to another that is not being used, usually a larger number.
/opt/nrpe/bin > vi /opt/nrpe/bin/configure.sh NRPE_USER="nrpe" NRPE_UID=312