Page 1 of 1

web interface freezes

Posted: Thu Mar 11, 2021 9:31 am
by erkanerturk
Hi
we have noticed that our nagios XI web interface freezes. this lasts 4 minutes.i use chrome web browser
at that time, web page waits. and browser says "wait or kill the page"
if we wait for the page, it becomes normal after 4 minutes

i have observed this behaviour on different clients (different PCs). opening new tab and trying to login does not work.
if we use firefox (another browser) it says "I can't let you to do this Dave" or something like that.

error and access logs seems normal but if you need, i can share.
cpu load seems normal, swap usage is OK

Re: web interface freezes

Posted: Thu Mar 11, 2021 3:43 pm
by benjaminsmith
Hi @erkanerturk,

If you're getting the "Sorry Dave, I can’t let you do that" error in Firefox, try clearing the browser cache and then make sure the PHP and server time are in sync.

KB Article: Nagios XI - NSP: Sorry Dave, I can’t let you do that

Also, let's go ahead and optimize the PHP settings on the system to allow more resources for the GUI.

Nagios XI - Optimizing The PHP Settings File

Then test again, and let me know if that fixes the issue. If not, how many users are usually logged into the system at a time? Also, please send me the system profile. Thanks, Benjamin

To send us your system profile.

Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button

Re: web interface freezes

Posted: Fri Mar 12, 2021 3:01 am
by erkanerturk
Hi

i have read the php doc. not applicable to our case. i did not see thee relevant erro message in *rror_log files.
currently i see 30-40 httpd processes..
i could not send profile due to organizational policies.
but i have sent you the *rror_logs during the problem time as a private message

thanks..

Re: web interface freezes

Posted: Fri Mar 12, 2021 6:03 pm
by benjaminsmith
Hi @erkanerturk,

Thanks for the logs, unfortunately, there's nothing standing out there.

1. About how many users are logged into the system at a time?

2. When the browser is hanging in Chrome, hit the F12 key to open the developer tools, and select the Network tab and choose All. Are you seeing any errors?

3. Are you seeing anything unusual in /var/log/messages?

4. Do you have enough ram? Run a top command when it's hanging and post it to the thread.

I would recommend opening a support ticket as it will be easier to share logs privately with the support team.

https://support.nagios.com/tickets/

Re: web interface freezes

Posted: Fri Mar 19, 2021 5:58 am
by erkanerturk
Hi

when i look at developer > network tab, i see some ajax pages pending.. what should i see?
by the way i am testing firefox and will see what happens there..

Re: web interface freezes

Posted: Fri Mar 19, 2021 6:47 pm
by ssax
They should show the status code after pending, pending means it's waiting on the server/network.

Are you going through a VPN or a web proxy/filter? Can you try accessing the web UI through a system in the same subnet as the XI server to see if you still get that issue? (please check like that, this will rule out something in the network path impacting it)

Is Admin > System Settings > Program URL/External URL using a DNS address? If so, take that DNS address and use it in this command from the XI CLI:

Code: Select all

nslookup your.dns.name
If that doesn't resolve OR resolves to an external address, edit your /etc/hosts file and add it onto your 127.0.0.1 line:

Code: Select all

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 your.dns.name
Then test again and see if that helps.