Page 1 of 1

Unable to create user account in nagios log server

Posted: Wed Mar 21, 2018 1:23 pm
by thanigaivel.a
Unable to create user account in nagios log server for both local & LDAP account. Instead getting error as "Could not create user"

Even tried changing password with alpha-numeric-special & normal.

Re: Unable to create user account in nagios log server

Posted: Wed Mar 21, 2018 4:06 pm
by npolovenko
Hello, @thanigaivel.a. What version of the Log Server do you have? Did you use any dashes or special characters in the password? If so, we had a patch in NLS 2.0.1 version that addresses this issue.

Re: Unable to create user account in nagios log server

Posted: Thu Mar 22, 2018 12:19 pm
by thanigaivel.a
We are using Nagios Log Server 2.0.2

Re: Unable to create user account in nagios log server

Posted: Thu Mar 22, 2018 12:20 pm
by thanigaivel.a
We are trying also trying to import users from our Windows active directory using LDAP

Re: Unable to create user account in nagios log server

Posted: Thu Mar 22, 2018 1:47 pm
by thanigaivel.a
If this a bug, then please send us the patch for it.

Re: Unable to create user account in nagios log server

Posted: Thu Mar 22, 2018 4:31 pm
by npolovenko
@thanigaivel.a, You said you can't create both Local users or LDAP users, correct? When you were trying to create a local user did you use any dashes or special characters in the password? Can you try to create a simple local user: username: testuser password:password. I'm just trying to figure out whether it's some kind of database failture or a special character issue.
Also, please send in your system profile so I can examine it. To download your system profile go to the Admin menu, then system Status and click on Download System Profile. Once you get the zip file please upload it in this thread.

Re: Unable to create user account in nagios log server

Posted: Fri Mar 23, 2018 9:17 am
by mcapra
It might also be interesting to see the ElasticSearch logs, since insert failures typically show up there. They can be found here:

Code: Select all

/var/log/elasticsearch/*.log

Re: Unable to create user account in nagios log server

Posted: Fri Mar 23, 2018 2:59 pm
by npolovenko
Thanks, @mcapra!
@thanigaivel.a, Keep us updated with the results.