tried to use this conmand to reset nagiosadmin password
/usr/local/nagioslogserver/scripts/reset_nagiosadmin_password.sh --password newpassword
but after this , it always prompt for invalid user and password , i cant login again.
Thanks
cannot login after reset nagiosadmin password
-
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
-
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: cannot login after reset nagiosadmin password
just ran this command to create user in cli but still cant login
curl -XPUT 'http://localhost:9200/nagioslogserver/user/99' -d '{"username":"someuser","password":"c678bcf3b5138b9263a95c44d28097f22c2e02877193d2c25313478821d45c19","auth_type":"admin","email":"user@example.com","language":"default","apiaccess":"1","apikey":"1396e08757545557073844695e5b64caa0bd3ad3","created":"2015-01-23 10:00:00","created_by":0,"default_dashboard":"/dashboard/elasticsearch/default"}'
curl -XPUT 'http://localhost:9200/nagioslogserver/user/99' -d '{"username":"someuser","password":"c678bcf3b5138b9263a95c44d28097f22c2e02877193d2c25313478821d45c19","auth_type":"admin","email":"user@example.com","language":"default","apiaccess":"1","apikey":"1396e08757545557073844695e5b64caa0bd3ad3","created":"2015-01-23 10:00:00","created_by":0,"default_dashboard":"/dashboard/elasticsearch/default"}'
-
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: cannot login after reset nagiosadmin password
p.s.
my account have no permit to visit this forum again ??? am I posting to much to got this ?
my account have no permit to visit this forum again ??? am I posting to much to got this ?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: cannot login after reset nagiosadmin password
https://support.nagios.com/kb/article/n ... d-540.html
It may be possible that your password has strange characters. Have your tried something simple like "ABC123" just to rule that out?
Otherwise, have you restarted the server itself?
Is this the only node in the cluster? Does the login work on other nodes?
It may be possible that your password has strange characters. Have your tried something simple like "ABC123" just to rule that out?
Otherwise, have you restarted the server itself?
Is this the only node in the cluster? Does the login work on other nodes?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.