Nagios Web interface could not login

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rafael
Posts: 21
Joined: Thu Jul 13, 2017 11:06 pm

Nagios Web interface could not login

Post 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 !
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios Web interface could not login

Post by rhassing »

If you are running apache, please check the apache log files. Probably in /var/log/httpd/ if you are using CentOS.
Rob Hassing
Image
rafael
Posts: 21
Joined: Thu Jul 13, 2017 11:06 pm

Re: Nagios Web interface could not login

Post 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.
kyang

Re: Nagios Web interface could not login

Post 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!
Locked