Page 1 of 1

Could not authenticate. Invalid Token after Nagios Log upgra

Posted: Thu Feb 06, 2020 4:51 am
by lunabrasivi
Hi we are experiencing in the "Could not authenticate. Invalid Token" issue after upgrade to the new version of Nagios LogServer

We try to regenerate api keys for the current nagiosadmin user but nothing happened.
The status of the server is green, and the same result from the configuration check tool.
No warnings from the logstash and elasticsearch logs.
Here attached the screenshots.

Re: Could not authenticate. Invalid Token after Nagios Log u

Posted: Thu Feb 06, 2020 5:22 pm
by cdienger
When you say 'nothing happened' when you try to regenerate the api key for nagiosadmin, does that mean that the api key is staying the same?

Run "tail -f /var/log/elasticsearch/*" on the NLS command line and then try generating a new key for the nagiosadmin user and see if any messages are generated.

I'd like to see that as well as a copy of the settings database. You can get this from the command line as well:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
Send me a private message with the /tmp/nagioslogserver.tar.gz file attached.