Page 1 of 2

Multi Tenant Question

Posted: Thu Nov 03, 2016 12:51 pm
by krw
I have been setting up and seeing how multi-tenant functions in XI work.

Is it possible to have a link on a webpage that would take someone directly to
their dashboard?

I have a dashboard setup for two hostgroups. I'd like for someone to click a link and
be taken directly to that dashboard without them having to login etc.

is this possible to pass parameters in the web link to XI that would make this work?

Thanks,
Keith

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 2:09 pm
by bwallace
There is an auto-login feature but this 'someone' must be an XI user....

1) Create the XI user account. Then enable auto-login for that account under Admin > System Config > Automatic Login

They'll be auto logged in any time they access a dashboard you've shared with them.

2) - optional - If you want the dashboard to be the users' homepage then follow this guide:
https://assets.nagios.com/downloads/nag ... -Page.pdf

- Hope this helps -

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 2:51 pm
by krw
bwallace wrote:There is an auto-login feature but this 'someone' must be an XI user....

1) Create the XI user account. Then enable auto-login for that account under Admin > System Config > Automatic Login

They'll be auto logged in any time they access a dashboard you've shared with them.

2) - optional - If you want the dashboard to be the users' homepage then follow this guide:
https://assets.nagios.com/downloads/nag ... -Page.pdf
I was just looking at the land page docs as an option.

How does one share a dashboard? After I posted my question I realized I could not link directly to
a dashboard, unless I'm missing something somewhere, which is very possible.

Is there a way to configure a user not see the top row options, Home, Views, Dashboards, Reports, Tools etc?
I'd like to be able to lock a user to just see one dashboard view. Actually the reports option would be a useful
tool for this particular user too.

Thanks,
Keith

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 3:33 pm
by bwallace
You can share a dashboard by using the Dashboard Deployment Tool...
Dashboards > Dashboard Tools > Deploy Dashboards
...and follow the prompts from there

The other part to your question - I don't know of way to lock it down so a user has access only to the Reports page or specific tabs within the UI, but you can get close by making the user in question a read only user.
This docs goes into greater detail but it sounds like you're already familiar with it:
https://assets.nagios.com/downloads/nag ... Rights.pdf

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 3:49 pm
by krw
bwallace wrote:You can share a dashboard by using the Dashboard Deployment Tool...
Dashboards > Dashboard Tools > Deploy Dashboards
...and follow the prompts from there

The other part to your question - I don't know of way to lock it down so a user has access only to the Reports page or specific tabs within the UI, but you can get close by making the user in question a read only user.
This docs goes into greater detail but it sounds like you're already familiar with it:
https://assets.nagios.com/downloads/nag ... Rights.pdf
I do not appear to have the Deploy Dashboards option?

Under Dashboards > Dashboard Tools I have Add new Dashboard and Manage My Dashboards. Am I looking
in the wrong place?

Thanks,
Keith

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 4:05 pm
by bwallace
That's the right place so I'm betting you don't have Admin privileges making the Deploy Dashboards option invisible.
Can you login as 'nagiosadmin' or someone with admin privileges and check for this option then?

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 4:10 pm
by krw
bwallace wrote:That's the right place so I'm betting you don't have Admin privileges making the Deploy Dashboards option invisible.
Can you login as 'nagiosadmin' or someone with admin privileges and check for this option then?
I am logged in as nagiosadmin.

Security settings are all checked....NagiosXI version 5.2.9. A version behind. Is it in the latest?

Thanks.

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 4:36 pm
by bwallace
Weird. You are definitely looking in the right place and it should be there for both Enterprise and Standard editions of XI - according to this:
https://www.nagios.com/products/nagios- ... omparison/

Here is what I have:
deploy dashboards.jpg
Can you post the version of the dashboard deployment tool that is running on your system?
Admin > System Extensions > Manage Components > scroll down the page to the 'Core Components' section and the Dshbrd deploy tool should be about the 5th one down.

The version I have on my 5.3.2 XI install is 1.2.6. - Go ahead an update yours if applicable.

Re: Multi Tenant Question

Posted: Thu Nov 03, 2016 5:22 pm
by krw
bwallace wrote:Weird. You are definitely looking in the right place and it should be there for both Enterprise and Standard editions of XI - according to this:
https://www.nagios.com/products/nagios- ... omparison/

Can you post the version of the dashboard deployment tool that is running on your system?
Admin > System Extensions > Manage Components > scroll down the page to the 'Core Components' section and the Dshbrd deploy tool should be about the 5th one down.

The version I have on my 5.3.2 XI install is 1.2.6. - Go ahead an update yours if applicable.
Hi.

I do not have that component listed at all.

I see I can add it via the More Components link at the top of Manage Components.

But even logged into the library, I cannot download it. Ahh, I see our support agreement ran out in Aug.
Have to re-up it.

Thanks,
Keith

Re: Multi Tenant Question

Posted: Fri Nov 04, 2016 9:25 am
by rkennedy
The deploy dashboards component should still be in 5.2.9, I just looked on one of my systems.
I have a dashboard setup for two hostgroups. I'd like for someone to click a link and
be taken directly to that dashboard without them having to login etc.

is this possible to pass parameters in the web link to XI that would make this work?
I didn't see this option offered - you can append &username=&ticket= to the dashboard URL, and 'auto-login' using the API key. The ticket= parameter will be equal to your API key when you click the username you are logged in as.

For example -

Code: Select all

https://192.168.1.1/nagiosxi/dashboards/dashboard.php?id=d7mccig7&username=nagiosadmin&ticket=43gs35f