Page 1 of 1

Nagios Web interface could not login

Posted: Thu Oct 19, 2017 3:54 am
by rafael
Hi Everyone,

My Nagios Web interface could not log in after reboot the server. It was work well before.
Could you please help me troubleshoot ?

-> Verify the Nagios configuration files for any erros ? RESULT is OK
[root@NagiosSrv ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.3.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2017-05-09
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 17 services.
Checked 2 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 25 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 2 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
----------- I'm using Nagios Core 4.3.2 installed on CentOS 7 -----------

Thank you !

Re: Nagios Web interface could not login

Posted: Thu Oct 19, 2017 6:24 am
by rhassing
If you are running apache, please check the apache log files. Probably in /var/log/httpd/ if you are using CentOS.

Re: Nagios Web interface could not login

Posted: Thu Oct 19, 2017 9:10 am
by rafael
Hello,
The log like below,
Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
Finally, I have reinsalled nagios. It work for me now.
Thank you for your support.

Re: Nagios Web interface could not login

Posted: Thu Oct 19, 2017 12:16 pm
by kyang
Thanks @rhassing!

Glad you were able to solve this! We will be closing this topic.

If you have more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!