Cannot Login to Nagios LS 2.0

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Cannot Login to Nagios LS 2.0

Post by cgutierr »

I am getting "The username specified does not exist" when trying to login as nagiosadmin. Other users do not exist as well. Tried restarting elasticsearch and logstash and same thing I cannot login.
bolson

Re: Cannot Login to Nagios LS 2.0

Post by bolson »

Please run the following from the CLI of your Nagios LS and post the result:

Code: Select all

curl "http://localhost:9200/nagioslogserver/user/_search?pretty"
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: Cannot Login to Nagios LS 2.0

Post by cgutierr »

Since the log server is on a standalone network I have to type out the command output.

Here it is:

curl "http://localhost:9200/nagioslogserver/u ... rch?pretty"

{
"error" : "NoShardAvailableActionException[[nagioslogserver][0] null]",
"status : 503
}

As a side note I rysnced the /usr/local/nagioslogserver/elasticsearch/data directory to a larger drive since it was almost full. When I initially brought up the new drive it was saying there were no users. I have since re-rsynced over again and got it back up again.
kyang

Re: Cannot Login to Nagios LS 2.0

Post by kyang »

Could you also send us the output of these commands?

Code: Select all

service elasticsearch status

Code: Select all

curl 'localhost:9200/_cluster/health?level=indices&pretty'
by cgutierr
When I initially brought up the new drive it was saying there were no users. I have since re-rsynced over again and got it back up again.
Is it still saying there are no users then since you got it back up again?
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: Cannot Login to Nagios LS 2.0

Post by cgutierr »

Yes, I got it back up. Please close thread.
kyang

Re: Cannot Login to Nagios LS 2.0

Post by kyang »

Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked