Page 1 of 1
NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Fri Sep 20, 2024 11:25 am
by wneville
Hello,
I just ugpraded two servers to version 2024R.1.2.1, and noticed something strange. When I click into the Hostgroup Summary or Servicegroup Summary screens, I am prompted at the top of the page for my credentials. I click Cancel instead of entering my creds because I know I am already auth'd, and the page loads as normal. This happens in normal Chrome tabs as well as Incognito, but doesn't appear to happen in Internet Explorer.
Anyone else experiencing this?
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Fri Sep 20, 2024 1:28 pm
by gwesterman
Hi @wneville,
A few troubleshooting questions:
1. What version of XI did you upgrade from?
2. What OS / distro are these servers on?
3. Are there any console logs when you navigate to that page?
4. Are there any php errors being logged in the php error logs.
This is a unique error and the last reference I see to it was in 2012, so any additional information will be helpful.
Thank you!
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Mon Sep 23, 2024 2:05 pm
by wneville
Hey!
1. I upgraded from NagiosXI 2024R1.1.5 to NagiosXI 2024R1.2.1
2. The servers are RHEL8.10
3. I didn't find anything relevant but if there is a specific log message to check for let me know
4. The only thing in the php error logs are many lines like this:
Code: Select all
[23-Sep-2024 14:55:52] NOTICE: [pool www] child 616399 exited with code 0 after 1780.451491 seconds from start
[23-Sep-2024 14:55:52] NOTICE: [pool www] child 703020 started
[23-Sep-2024 14:57:38] NOTICE: [pool www] child 623616 exited with code 0 after 1776.963968 seconds from start
[23-Sep-2024 14:57:38] NOTICE: [pool www] child 715577 started
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Mon Sep 23, 2024 3:04 pm
by gwesterman
Hi @wneville,
This is potentially an issue with your apache configuration. Is this occurring on both of the servers you upgraded? Or just one? If it's only one, I would see if any of the apache configurations differ (in /etc/httpd/conf.d). If so, make the broken server match the good one and restart apache.
If this is an issue on both servers, perhaps check for differences in the apache configurations pre and post upgrade (if possible), granted nothing should've changed on upgrade. Perhaps just try restarting apache and refreshing your cache.
Let us know what you find.
Thank you!
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Wed Sep 25, 2024 7:36 am
by wneville
Hey,
Yes it is occurring on both upgraded production servers, however it is not occurring on my development server. It also occurs in Incognito browsers so no cache there. I've restarted httpd and compared the /etc/httpd/conf.d/ directory on the prod servers to the dev server. One of the prod servers php.conf is slightly different than the dev server, but the other prod server is an exact match to the dev server. Everything else in httpd/conf.d/ is the same across all three servers
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Tue Oct 22, 2024 8:49 am
by wneville
Hello, just wanted to pass along that this only happens when "Use Unified Hostgroup Screens" and "Use Unified Servicegroup Screens" is checked. I am now on 2024R1.2.2
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Tue Oct 22, 2024 9:57 am
by jsimon
Interesting! I also see this behavior when I enable those settings in my dev environment, so I believe this is a bug. I've created an issue in our internal bug tracking system to have this addressed.
Re: NagiosXI version 2024R1.2.1 potential bug prompted for creds
Posted: Tue Oct 22, 2024 10:19 am
by wneville
Thanks so much! Honestly just relieved it isn't something mis-configured on my end that required more investigation
I will keep my eyes out for a fix in future XI versions
Thanks again