Custom Dashboards not visible

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Custom Dashboards not visible

Post by tgfde »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Custom Dashboards not visible

Post by abrist »

tgfde wrote:On a side note, is there a way to open a locked ticket so that I don't open another one?
If you still have an email from the ticket email exchange, reply to that to reopen the ticket.
tgfde wrote:/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10&username=nagiosadmin&ticket=q6jjimi4
This url would log you in as the user "nagiosadmin", who by definition cannot be a "read only" user.
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.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Custom Dashboards not visible

Post by tgfde »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Custom Dashboards not visible

Post by abrist »

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
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.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Custom Dashboards not visible

Post by tgfde »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Custom Dashboards not visible

Post by abrist »

When logged in as the readaccess user, can you browse to that dashboard?

Code: Select all

https://<nagiosserver>/nagiosxi/dashboards/dashboard.php?id=kcu4ffs0
Remember to change <nagiosserver> and https to http if you do not use ssl.
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.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Custom Dashboards not visible

Post by tgfde »

Yes, I can browse to the dashboards when logged on as the readaccess user.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Custom Dashboards not visible

Post by scottwilkerson »

Once question, has this readonly user actually logged in and accepted the TOS yet, or have you just masqueraded as them?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Custom Dashboards not visible

Post by tgfde »

Yes, this user has logged into our instance of nagiosxi.

Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom Dashboards not visible

Post by lmiltchev »

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!
Locked