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

Re: Fused server auto-login issues with Fusion 4

Post by daniel.mazik »

Under Admin > Manage Users I mapped my credentials to 3 servers, I then clicked my username at the top right and added my username and password for all 3, and clicked the auto-login button. Under the Servers dropdown I see the checkmark next to each server name that says "Auto logged in". When I click any of these servers I am redirected to the login page of that Nagios XI server and not automatically logged in.
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 »

I think from this point, we need to see the traffic being passed in order to determine what is actually happening.

If you use Chrome (my preferred browser for this kind of work) you can check out this document if you're unfamiliar with the built in : https://code.tutsplus.com/articles/chro ... -net-28167

Then, log out of Fusion - and make sure the network traffic capturing is enabled before you log back in.

Once you've logged in, I'd like to see the portions of the 'Headers' tab in relation to the accesses that pop up like http://NAGIOSXIHOST/nagiosxi/backend/?c ... s=FUSIONIP

We can move forward once we look at that data.

This is a good point that I hadn't thought about - there is no debugging logs for the automatic logins - I'll make sure that's added in for future releases :)
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 »

Attaching a sanitized version of the Headers info that shows in Fusion.
You do not have the required permissions to view the files attached to this post.
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 »

Alright - now log out of Fusion - and log out of the San Jose Nagios XI Server - and then clear the cache - and place this in your browser URL bar and tell me what happens:

Code: Select all

http://<San Jose Nagios XI Server>/nagiosxi/backend/?cmd=invalid&username=<Username>&password=<Password Hash>&req_frame_access=<Fusion IP>
Note: make sure you fill those necessary sections out with the data you saw before you sanitized.
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 »

I get the following XML response from the Nagios XI server:

Code: Select all

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<error>
<errormessage>Authentication Failure</errormessage>
</error>
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 »

Welp - then I'd have to guess right off the bat that your credentials you're typing are incorrect. Are you using the same username/password that you are for fusing the server?
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 »

I am not. I am using my AD creds (All our XI servers are ldap integrated).
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 use a local account for the auto-login credentials and see if that works?
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 »

Using the local nagiosadmin and nagfusion users I created on the XI servers works, but then I'm not logged into XI as myself.
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 »

I was able to replicate the issue and filed an internal Bug report.
You can reference it using this TASK ID of 12327.
For now, you will have to use a local only account until it is fixed.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked