Problems viewing Dashboards.
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Problems viewing Dashboards.
Hello Nagios Crew,
I am having some problems with dashboards.
I create a dashboard in nagiosxi,
I distribute it to a user.
I Click on the permalink button and copy to clipboard.
I then paste the link in a tool that will cycle through the dashboards (yes I know I can do it with views but the customer is asking to use their tool).
When the tool starts cycling every nagios dashboard appears as a blank page.
The tool that cycles the pages inserts the link in a iframe.
Can you help?
Thanks
Sandro
I am having some problems with dashboards.
I create a dashboard in nagiosxi,
I distribute it to a user.
I Click on the permalink button and copy to clipboard.
I then paste the link in a tool that will cycle through the dashboards (yes I know I can do it with views but the customer is asking to use their tool).
When the tool starts cycling every nagios dashboard appears as a blank page.
The tool that cycles the pages inserts the link in a iframe.
Can you help?
Thanks
Sandro
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems viewing Dashboards.
The id in the permalink will be different for the user, you will have to login/masquerade as the user to get the correct permalinks.
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Problems viewing Dashboards.
Hello Scott,
Ok now it is working. Is there a way to authenticate without going through filling the login form.
I having problems in understanding where to get the ticket.
Thanks
Sandro
Ok now it is working. Is there a way to authenticate without going through filling the login form.
I having problems in understanding where to get the ticket.
Thanks
Sandro
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems viewing Dashboards.
If you enable "Allow insecure logins" under Admin -> System Settings -> Backwards compatibility modenagiosEngie wrote:Hello Scott,
Ok now it is working. Is there a way to authenticate without going through filling the login form.
I having problems in understanding where to get the ticket.
Thanks
Sandro
You can then go to the user profile by clicking the users username upper right, and check "Enable Insecure Login"
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Problems viewing Dashboards.
Hello Scott,
hope your weekend was good.
So I tried the solution you suggested, but it is still asking for authentication so I was wondering if my URL sintax was right:
http://<NAGIOSSERVER-IP>/nagiosxi/dashboards/dashboard.php?id=home&username=<USERXXX>&ticket=xxxxxxxBLAxBLAxxxxxxxxxxxxx
I took the ticket number that appeared, once I set the "Allow insecure logins", and went to the users profile.
Thanks
Sandro
hope your weekend was good.
So I tried the solution you suggested, but it is still asking for authentication so I was wondering if my URL sintax was right:
http://<NAGIOSSERVER-IP>/nagiosxi/dashboards/dashboard.php?id=home&username=<USERXXX>&ticket=xxxxxxxBLAxBLAxxxxxxxxxxxxx
I took the ticket number that appeared, once I set the "Allow insecure logins", and went to the users profile.
Thanks
Sandro
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems viewing Dashboards.
That is correct, did you ckeck the "Enable Insecure Login:" on the user "Account Information" page?
I just tested this on my 5.3.3 server and it works as expected, for example
I just tested this on my 5.3.3 server and it works as expected, for example
Code: Select all
http://192.168.5.182/nagiosxi/dashboards/dashboard.php?id=home&username=nagiosadmin&ticket=426d184e674e6c3020d38bde1d7ed35d-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Problems viewing Dashboards.
Hello Scott,
i tried this and my link includes a dashboard in the url like this:
http://<IP>/nagiosxi/dashboards/dashboard.php?id=Xzzzz&username=userxxx&ticket=xxxxxxBLAxxxxxBLAxxx
And it presents always the login page and the link dose a redirect:
http://<IP>/nagiosxi/login.php?redirect=/nagiosxi/dashboards/dashboard.php%3fid%3DXeCvqh%26username%3Duserxxx%26ticket%3DxxxxxxBLAxxxxxBLAxxx&noauth=1
Yes I have enabled the Enable Insecure Login:" on the user "Account Information"
And also enabled it in Admin ( Backwards compatibility mode) as you suggested.
Sandro
i tried this and my link includes a dashboard in the url like this:
http://<IP>/nagiosxi/dashboards/dashboard.php?id=Xzzzz&username=userxxx&ticket=xxxxxxBLAxxxxxBLAxxx
And it presents always the login page and the link dose a redirect:
http://<IP>/nagiosxi/login.php?redirect=/nagiosxi/dashboards/dashboard.php%3fid%3DXeCvqh%26username%3Duserxxx%26ticket%3DxxxxxxBLAxxxxxBLAxxx&noauth=1
Yes I have enabled the Enable Insecure Login:" on the user "Account Information"
And also enabled it in Admin ( Backwards compatibility mode) as you suggested.
Sandro
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems viewing Dashboards.
What version of XI are you running?
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Problems viewing Dashboards.
Hi,
we are using version 5.5.2.
Sandro
we are using version 5.5.2.
Sandro
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems viewing Dashboards.
Can you upgrade to 5.5.3? I have tested it on a 5.5.3 system and know it is functioning.
Also, just to verify, you are using the Insecure Login Ticket and not the API key from the user "Account Information" page right?
Have you tried re-creating the backend ticket?
Also, just to verify, you are using the Insecure Login Ticket and not the API key from the user "Account Information" page right?
Have you tried re-creating the backend ticket?