Unable to Log In on Single Instance Nagios Log Server
Unable to Log In on Single Instance Nagios Log Server
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.
Added system profile for reference.
You do not have the required permissions to view the files attached to this post.
Re: Unable to Log In on Single Instance Nagios Log Server
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?
If you had forgotten your "nagiosadmin" password, please run the below script to reset it:
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?
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,
VinhYou do not have the required permissions to view the files attached to this post.
Re: Unable to Log In on Single Instance Nagios Log Server
I reset the password, and completed all fields, hit enter, and it keeps coming back to that same logon screen.
Re: Unable to Log In on Single Instance Nagios Log Server
Hi,
I noticed the below error:
Could you please check and see if there is any file under these folders?
Let restart Nagios log server:
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:
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
Now, doing the install:
Please check the install log under:
Best Regards,
Vinh
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}
Code: Select all
ls -la /usr/local/nagioslogserver/logstash/etc/conf.d
ls -la /usr/local/nagioslogserver/var
Code: Select all
systemctl restart httpd.service elasticsearch.service logstash.service
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
Need to have exec permission available for the /tmp folder
Code: Select all
mount -o remount,exec /tmp
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
Code: Select all
/tmp/install.log
or
/tmp/nagioslogserver/install.log
Best Regards,
Vinh
Re: Unable to Log In on Single Instance Nagios Log Server
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
Locking threadmrochelle 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.