Hello,
Previously I opened a ticket in regards to this dashboard issue, I though I had it working but unfortunately I'm still not seeing the dashboard I created with the read-only account I created.
Below is the solution I'm following provided by Scott wilkerson. However when I try to access the custom dashboards, it shows me the default dashboard (Getting Started Guide) not the dashboards I created.
2. Would be to create a read-only user account, then you can get the ticket from the Backend API URL and you can tack those on to most URL's in XI to auto-login
for example:
/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10&username=nagiosadmin&ticket=q6jjimi4
On a side note, is there a way to open a locked ticket so that I don't open another one?
Thanks.
Custom Dashboards not visible
Re: Custom Dashboards not visible
If you still have an email from the ticket email exchange, reply to that to reopen the ticket.tgfde wrote:On a side note, is there a way to open a locked ticket so that I don't open another one?
This url would log you in as the user "nagiosadmin", who by definition cannot be a "read only" user.tgfde wrote:/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10&username=nagiosadmin&ticket=q6jjimi4
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom Dashboards not visible
Sorry I didn't realize that I put the admin account in the URl....here's what I have for the read-only account.
/nagiosxi/dashboards/&username=readaccess&ticket=akefqfk7r37keaoaoivgmeca944cibprt68nkrsdu3vabnh07ffqsq53r8cdh66e
Thanks.
/nagiosxi/dashboards/&username=readaccess&ticket=akefqfk7r37keaoaoivgmeca944cibprt68nkrsdu3vabnh07ffqsq53r8cdh66e
Thanks.
Re: Custom Dashboards not visible
You need to get the full url for the dashboard:
1. Right click the specific dashboard link and copy the link location.
2. Append the link with an "&" and then your ticket information.
For example (bold is dashboard id and underline is ticket information):
https://<server ip>/nagiosxi/dashboards/dashboard.php?id=xxxxxxxx&username=nagiosadmin&ticket=xxxxxxxx
1. Right click the specific dashboard link and copy the link location.
2. Append the link with an "&" and then your ticket information.
For example (bold is dashboard id and underline is ticket information):
https://<server ip>/nagiosxi/dashboards/dashboard.php?id=xxxxxxxx&username=nagiosadmin&ticket=xxxxxxxx
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom Dashboards not visible
Below is the link I'm hitting:
https://<nagiosserver>/nagiosxi/dashboards/dashboard.php?id=kcu4ffs0&username=readaccess&ticket=akefqfk7r37keaoaoivgmeca944cibprt68nkrsdu3vabnh07ffqsq53r8cdh66e
Result below:
Bad Dashboard
Unfortunately for you, that dashboard is not valid... Too bad. Dashboard ID: kcu4ffs0
Thanks.
https://<nagiosserver>/nagiosxi/dashboards/dashboard.php?id=kcu4ffs0&username=readaccess&ticket=akefqfk7r37keaoaoivgmeca944cibprt68nkrsdu3vabnh07ffqsq53r8cdh66e
Result below:
Bad Dashboard
Unfortunately for you, that dashboard is not valid... Too bad. Dashboard ID: kcu4ffs0
Thanks.
Re: Custom Dashboards not visible
When logged in as the readaccess user, can you browse to that dashboard?
Remember to change <nagiosserver> and https to http if you do not use ssl.
Code: Select all
https://<nagiosserver>/nagiosxi/dashboards/dashboard.php?id=kcu4ffs0Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Custom Dashboards not visible
Yes, I can browse to the dashboards when logged on as the readaccess user.
Thanks.
Thanks.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Custom Dashboards not visible
Once question, has this readonly user actually logged in and accepted the TOS yet, or have you just masqueraded as them?
Re: Custom Dashboards not visible
Yes, this user has logged into our instance of nagiosxi.
Thanks.
Thanks.
Re: Custom Dashboards not visible
One more thing... The nagiosadmin's ID and the read-only user's ID would be different. Are you logged in as "nagiosadmin" while testing the: "https://<nagiosserver>/nagiosxi/dashboards/dashboard.php?id=kcu4ffs0&username=readaccess&ticket=akefqfk7r37keaoaoivgmeca944cibprt68nkrsdu3vabnh07ffqsq53r8cdh66e" URL? You will have to log out, and then try it.
Be sure to check out our Knowledgebase for helpful articles and solutions!