Cannot Login to Nagios LS 2.0
Cannot Login to Nagios LS 2.0
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
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"Re: Cannot Login to Nagios LS 2.0
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.
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
Could you also send us the output of these commands?
Code: Select all
service elasticsearch statusCode: Select all
curl 'localhost:9200/_cluster/health?level=indices&pretty'Is it still saying there are no users then since you got it back up again?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.
Re: Cannot Login to Nagios LS 2.0
Yes, I got it back up. Please close thread.
-
kyang
Re: Cannot Login to Nagios LS 2.0
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!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!