Unable to Log In on Single Instance Nagios Log Server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Unable to Log In on Single Instance Nagios Log Server

Post by mrochelle »

I completed the installation of NLS on Red Hat Enterprise Linux release 8.3. When I attempt to login on the http://NLS-IP/nagioslogserver/install page, it returns asking for the same credentials. Your assistance will be appreciated.
NLS login Capture.JPG
Added system profile for reference.
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Unable to Log In on Single Instance Nagios Log Server

Post by vtrac »

Hi,
Since this is the initial setup page, which you must setup the password for "nagiosadmin".

Based on the picture provided, did you "confirm" your "nagiosadmin" password?
W1.png

If you had forgotten your "nagiosadmin" password, please run the below script to reset it:

Code: Select all

/usr/local/nagioslogserver/scripts/reset_nagiosadmin_password.sh -p <nagiosadmin-new-password>
l/code] 

Once done, you can log into NLS:
http://x.x.x.x/nagioslogserver/


Best Regards,
Vinh
You do not have the required permissions to view the files attached to this post.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Unable to Log In on Single Instance Nagios Log Server

Post by mrochelle »

I reset the password, and completed all fields, hit enter, and it keeps coming back to that same logon screen.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Unable to Log In on Single Instance Nagios Log Server

Post by vtrac »

Hi,
I noticed the below error:

Code: Select all

{:timestamp=>"2021-04-14T11:02:55.554000-0400", :message=>"No config files found: /usr/local/nagioslogserver/logstash/etc/conf.d/*\nCan you make sure this path is a logstash config file?", :level=>:error}
Could you please check and see if there is any file under these folders?

Code: Select all

ls -la /usr/local/nagioslogserver/logstash/etc/conf.d
ls -la /usr/local/nagioslogserver/var
Let restart Nagios log server:

Code: Select all

systemctl restart httpd.service elasticsearch.service logstash.service
Now, please try open the NLS:
http://10.7.220.21/nagioslogserver


If this does not work, please re-install NLS again.
I would suggest that you start with a clean VM.

https://assets.nagios.com/downloads/nag ... Server.pdf

Also, looks like you might have SELinux turned on, which might block the installation process.
Let temporary disable SELinux:

Code: Select all

sestatus
setenforce 0
If you have "noexec" turn on for "/tmp", which will block the install post steps.
Need to have exec permission available for the /tmp folder

Code: Select all

mount -o remount,exec /tmp
Now, doing the install:

Code: Select all

curl https://assets.nagios.com/downloads/nagios-log-server/install.sh | sh

or

cd /tmp
wget https://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz
tar xzf nagioslogserver-latest.tar.gz
cd nagioslogserver
./fullinstall
Please check the install log under:

Code: Select all

/tmp/install.log

or

/tmp/nagioslogserver/install.log

Best Regards,
Vinh
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Unable to Log In on Single Instance Nagios Log Server

Post by mrochelle »

Got everything up and running. Thanks for your help. I believe most of the problem was due to our security environment settings. You can lock this up.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to Log In on Single Instance Nagios Log Server

Post by scottwilkerson »

mrochelle wrote:Got everything up and running. Thanks for your help. I believe most of the problem was due to our security environment settings. You can lock this up.
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked