Fused server auto-login issues with Fusion 4

This support forum board is for questions relating to Nagios Fusion.
daniel.mazik
Posts: 16
Joined: Fri Jan 29, 2016 10:39 am

Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

Hello

Just deployed a new Fusion 4 server in our environment to replace our our old 2014R1.1 deployment. Having issues getting the auto-login feature to work on fused servers in the environment. I am able to choose the my mapped creds for the Nagios XI servers in Manage Users, and have added the user specific login creds, and checked "Enable Automatic Login" under my user profile. I even see the check mark for Auto Log In on the server name. When I try to click a server/host/service link I get sent to the login page of the correct Nagios XI server, but I do not get logged in automatically. I've enabled debug logging on the Fusion server, but this is all I am able to see in the fusion.debug log that pertains to my username:

[2017-07-25 15:38:57] [SYSTEM] [DEBUG] [<NAGIOS XI SERVER>]: poll_master(): executing: /usr/local/nagiosfusion/cron/poll_subsys.php --server="2" --user="<MY USERNAME>" >/usr/local/nagiosfusion/var/log/poll_subsys.2.<MY USERNAME>.log 2>&1 &

Any assistance is appreciated!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Fused server auto-login issues with Fusion 4

Post by lmiltchev »

Does the auto-login work if you try a different browser, i.e. Chrome, Firefox? I seem to be having the same issue when using IE.
Be sure to check out our Knowledgebase for helpful articles and solutions!
daniel.mazik
Posts: 16
Joined: Fri Jan 29, 2016 10:39 am

Re: Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

Had the same issue on the following browsers:
IE 11
Firefox 54
Chrome 59
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Fused server auto-login issues with Fusion 4

Post by bheden »

This may be a silly question - but is it doing this for ALL of your fused servers?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
daniel.mazik
Posts: 16
Joined: Fri Jan 29, 2016 10:39 am

Re: Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

Yes, this is happening on all our fused servers
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Fused server auto-login issues with Fusion 4

Post by tgriep »

Can you run the following as root on the Fusion server and post the /tmp/info.txt file?

Code: Select all

echo 'select * from  servers;' |mysql -u fusion -pfusion fusion -t >/tmp/info.txt
echo 'select * from  users_servers;' |mysql -u fusion -pfusion fusion -t >>/tmp/info.txt
In that file will be the list of Fused servers and the user accounts to access them. You may want to sanitize it before posting it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
daniel.mazik
Posts: 16
Joined: Fri Jan 29, 2016 10:39 am

Re: Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

Attaching a sanitized info.txt file. Just re-deployed the appliance again to test and still have the same issue.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Fused server auto-login issues with Fusion 4

Post by tgriep »

Thanks for the data.
From what it looks like, you only have one server setup for auto login. To login to all servers automatically, and you would have to setup each server for auto login.
Can you click on your username in the Fusion GUI and screen capture the Account Information menu and post it here so we can view it if you do have more that one server setup to auto login?
Be sure to check out our Knowledgebase for helpful articles and solutions!
daniel.mazik
Posts: 16
Joined: Fri Jan 29, 2016 10:39 am

Re: Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

You are correct. In the info.txt I posted I only had the San Jose nagios server setup for auto-login. This was for testing after re-deploying the Fusion vmware appliance. I previously had them all set for auto-login with the same issue.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Fused server auto-login issues with Fusion 4

Post by tgriep »

Did you add the other servers to the list and do they auto-login?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked