Can't log in to web interface with admin user

This board serves as an open discussion and support collaboration point for Nagios Log Server. NOTE: Nagios Log Server customers should use the Customer Support forum to obtain expedited support.

Can't log in to web interface with admin user

Postby Itaasi » Mon Jun 11, 2018 5:17 am

For some reason I haven't been to log into our Nagios Log Server web interface with the admin user, I made when I installed Nagios Log Server.
I have run into disk space problems twice. Once with the logstash files and once with the log files.
The problem's appeared when I ran into disk space problems the first time.
I tried uninstalling and reinstalling Nagios Log Server and gained access to the web interface for 1 day, but the next day it was inaccessible.
What could be the reason for this?

Also, is it possible to use logstash data from a previous installation of Nagios Log Server without having done an export?

I'm somewhat new to Linux operating systems, so I might need a little more help than other experienced users ;)
Itaasi
 
Posts: 2
Joined: Mon Jun 11, 2018 1:47 am

Re: Can't log in to web interface with admin user

Postby cdienger » Mon Jun 11, 2018 10:49 am

Logstash's config is stored in /usr/local/nagioslogserver/logstash/etc/conf.d/ as well as in backups found in /store/backups/nagioslogserver/, so if you have access to files in there you should be able to use them to import logstash's config.

The failure to login is likely due to some corruption in the index responsible for the configuration. I'd need the output of a profile to verify and provide next steps. Copy the attached 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. Please PM me this file.
Attachments
profile.sh
(3.11 KiB) Downloaded 35 times
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 1531
Joined: Tue Feb 07, 2017 11:26 am

Re: Can't log in to web interface with admin user

Postby Itaasi » Tue Jun 12, 2018 7:22 am

I cannot PM you. I suspect it's because my user is brand new.
Shall I post the file here?
Itaasi
 
Posts: 2
Joined: Mon Jun 11, 2018 1:47 am

Re: Can't log in to web interface with admin user

Postby tmcdonald » Tue Jun 12, 2018 11:30 am

Try again, should work now.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Operations Engineer
 
Posts: 9114
Joined: Mon Sep 23, 2013 8:40 am

Re: Can't log in to web interface with admin user

Postby cdienger » Wed Jun 13, 2018 11:15 am

The status of the cluster is red and that is due to shards being unassigned. https://support.nagios.com/kb/article/n ... th-90.html covers how to re-assign the shards. I would focus on assigning the logstash-2018.MM.DD shards as described in the article and then restore the kibana-int, nagioslogserver, and nagioslogserver_log shards by importing a backup(taking prior to the disk filling up) if you have one. Importing a backup is covered in page 7 and 8 of https://assets.nagios.com/downloads/nag ... Server.pdf.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 1531
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Log Server

Who is online

Users browsing this forum: No registered users and 2 guests