Very slow login

This support forum board is for questions relating to Nagios Fusion.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Very slow login

Post by rajasegar »

Box293 wrote:Well it doesn't look like anything to do with the linux firewall or any other firewalls, thats one less thing to test :P

I'll think about this some more and see what other possibilities there could be.

What version of Windows is HyperV running on?
Did I say HyperV :? , sorry actually it is VSphere 5.5 :P Its Friday.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Very slow login

Post by jomann »

It looks like there is an update check that runs when a user logs in, can you go to api.nagios.com on the Fusion box? Is it slow for you? If so, that forced check could possibly be why it's not working... and there isn't a proxy set up for internet access on the fusion server is there?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: Very slow login

Post by b2m »

jomann wrote:It looks like there is an update check that runs when a user logs in, can you go to api.nagios.com on the Fusion box? Is it slow for you? If so, that forced check could possibly be why it's not working... and there isn't a proxy set up for internet access on the fusion server is there?
Yeah, this must be the solution. I really didn't think of it. At least our fusion box doesn't have direct internet access. I configured a proxy for wget but not for Fusion. Is it possible to do so via the admin web interface like in XI? Alternatively, is it possible to disable this update check?
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Very slow login

Post by jomann »

I thought it could be the issue considering it does get ran on login... it really shouldn't since it automatically tries running it once a day anyway... and the manual update check is always available. I can remove it from the file and upload it for you to test on your system to see if that fixes the slow login.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Very slow login

Post by jomann »

I've actually removed the check from this new version of login.php that is attached. Extract it and replace the login.php in /usr/local/nagiosfusion/html/
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Very slow login

Post by rajasegar »

jomann wrote:I've actually removed the check from this new version of login.php that is attached. Extract it and replace the login.php in /usr/local/nagiosxi/html/
There is a typo in your instruction, should replace the file in /usr/local/nagiosfusion/html/.
Anyway problem solved, almost instant login.

BTW, there is no issues going to api.nagios.com from the fusion box.
Not sure where fusion is picking the proxy info from.

[nagios@nagiosprodcons raja]$ wget api.nagios.com
--2014-06-09 08:28:15-- http://api.nagios.com/
Connecting to 172.16.19.95:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: âindex.html.1â

[ <=> ] 2,449 --.-K/s in 0s

2014-06-09 08:28:16 (197 MB/s) - âindex.html.1â

[nagios@nagiosprodcons raja]$
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Very slow login

Post by tmcdonald »

rajasegar wrote:
jomann wrote:I've actually removed the check from this new version of login.php that is attached. Extract it and replace the login.php in /usr/local/nagiosxi/html/
There is a typo in your instruction, should replace the file in /usr/local/nagiosfusion/html/.
I think most of us here have at one time or another typed out the path to nagiosxi out of sheer muscle memory ;)

Anyway, good to see it working for you. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked