Unable to login using the nagiosadmin credentials
Unable to login using the nagiosadmin credentials
Hello Team,
Unable to login to Nagios Log Server using the default 'nagiosadmin' credentials, could you please help in troubleshooting this problem as I need to get in.
I am able to connect the page but it keep on giving wrong credentials, also when I try to reset password using forgot your password link. It says 'The username does not exist.'
Version: 2015R1.0
Note: I can connect through SSH session using ec2-user
Regards,
Swapnil
Unable to login to Nagios Log Server using the default 'nagiosadmin' credentials, could you please help in troubleshooting this problem as I need to get in.
I am able to connect the page but it keep on giving wrong credentials, also when I try to reset password using forgot your password link. It says 'The username does not exist.'
Version: 2015R1.0
Note: I can connect through SSH session using ec2-user
Regards,
Swapnil
Re: Unable to login using the nagiosadmin credentials
If you can login via SSH, you should be able to use the following script:
Code: Select all
/usr/local/nagioslogserver/scripts/reset_nagiosadmin_password.shFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to login using the nagiosadmin credentials
Do I need to restart the server after resetting the password?
Re: Unable to login using the nagiosadmin credentials
You shouldn't need to restart anything. Much of the Nagios Log Server configuration exists in a special elasticsearch index, so if the elasticsearch service is crashed this script may fail. You could try service elasticsearch restart followed by the script if this doesn't seem to be working.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to login using the nagiosadmin credentials
I have another server where I cannot get through the portal, after connecting SSH I tried 'service elasticsearch restart' but that failed with error 'elasticsearch: unrecognized service'.
So we tried to upgrade the install, however even the upgrade failed with following error:
Installed:
php-ldap.x86_64 0:5.3.3-48.el6_8 pyOpenSSL.x86_64 0:0.13.1-2.el6
sysstat.x86_64 0:9.0.4-31.el6
Updated:
net-snmp.x86_64 1:5.5-57.el6_8.1 net-snmp-utils.x86_64 1:5.5-57.el6_8.1
openssl.x86_64 0:1.0.1e-48.el6_8.1
Dependency Updated:
net-snmp-libs.x86_64 1:5.5-57.el6_8.1
Complete!
26 Aug 09:55:06 ntpdate[1087]: no server suitable for synchronization found
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.
The step that failed was: 'prereqs'
So we tried to upgrade the install, however even the upgrade failed with following error:
Installed:
php-ldap.x86_64 0:5.3.3-48.el6_8 pyOpenSSL.x86_64 0:0.13.1-2.el6
sysstat.x86_64 0:9.0.4-31.el6
Updated:
net-snmp.x86_64 1:5.5-57.el6_8.1 net-snmp-utils.x86_64 1:5.5-57.el6_8.1
openssl.x86_64 0:1.0.1e-48.el6_8.1
Dependency Updated:
net-snmp-libs.x86_64 1:5.5-57.el6_8.1
Complete!
26 Aug 09:55:06 ntpdate[1087]: no server suitable for synchronization found
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.
The step that failed was: 'prereqs'
Re: Unable to login using the nagiosadmin credentials
Was this server in production? Very strange for an NLS setup to suddenly lose elasticsearch.
- Can you share the install.log?
- Can you share the output of:
Code: Select all
ls -al /usr/local/nagioslogserver/elasticsearch/
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to login using the nagiosadmin credentials
This is not a production server yet, but will need to setup one.
[ec2-user@ip-10-1-252-201 ~]$ ls -al /usr/local/nagioslogserver/elasticsearch/
ls: cannot access /usr/local/nagioslogserver/elasticsearch/: No such file or directory
[ec2-user@ip-10-1-252-201 ~]$ ls -al /usr/local/nagioslogserver/elasticsearch/
ls: cannot access /usr/local/nagioslogserver/elasticsearch/: No such file or directory
You do not have the required permissions to view the files attached to this post.
Re: Unable to login using the nagiosadmin credentials
- Can you share the contents of your /etc/ntp.conf file? If it doesn't exist, try yum install ntp.
- Do you know if the network this server is being deployed on is blocking NTP packets? This is done to mitigate/prevent DDOS attacks on some networks.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to login using the nagiosadmin credentials
Attached ntp.config
You do not have the required permissions to view the files attached to this post.
Re: Unable to login using the nagiosadmin credentials
Please answer this.Do you know if the network this server is being deployed on is blocking NTP packets? This is done to mitigate/prevent DDOS attacks on some networks.
What is the output of the following?
Code: Select all
ntpdate -u 0.centos.pool.ntp.org
Former Nagios Employee