Hello,
I am unable to login to the Nagios log server web interface. When login into the web interface using our credentials after loading some time it shows below error.
++++++++
The username specified does not exist.
++++++++
I have tried to create a test user from the command line, it also fails Please see the below error.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@logs ~]# curl -XPOST 'http://localhost:9200/nagioslogserver/user/' -d '{"username":"test","password":"c678bcf3b5138b9263a95c44d28097f22c2e02877193d2c25313478821d45c19","auth_type":"admin","email":"[email protected]","language":"default","apiaccess":"1","apikey":"1396e08757545557073844695e5b64caa0bd3ad3","created":"2015-01-23 10:00:00","created_by":0,"default_dashboard":"/dashboard/elasticsearch/default"}'
{"error":"UnavailableShardsException[[nagioslogserver][0] Primary shard is not active or isn't assigned to a known node. Timeout: [1m], request: index {[nagioslogserver][user][AWd-Qq_9T8e8k3IBfyxJ], source[{\"username\":\"test\",\"password\":\"c678bcf3b5138b9263a95c44d28097f22c2e02877193d2c25313478821d45c19\",\"auth_type\":\"admin\",\"email\":\"[email protected]\",\"language\":\"default\",\"apiaccess\":\"1\",\"apikey\":\"1396e08757545557073844695e5b64caa0bd3ad3\",\"created\":\"2015-01-23 10:00:00\",\"created_by\":0,\"default_dashboard\":\"/dashboard/elasticsearch/default\"}]}]","status":503}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Also, I have tried restarting the elasticsearch and logstash services, the services are in running state.
Please check the issue and update.
Unable to login to the web interface of nagios log server
Re: Unable to login to the web interface of nagios log serve
I would suggest opening a ticket(https://support.nagios.com/tickets/) for this issue and providing a profile so we can take a closer look.
Attached is a script to gather a profile from the command line. Copy the script to the machine and from the command line run:
chmod 755 profile.sh
./profile.sh
It will generate a file called system-profile.tar.gz in /tmp.
Attached is a script to gather a profile from the command line. Copy the script to the machine and from the command line run:
chmod 755 profile.sh
./profile.sh
It will generate a file called system-profile.tar.gz in /tmp.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.