Multi Tenant Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Multi Tenant Question

Post 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
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Multi Tenant Question

Post 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 -
Be sure to check out the Knowledgebase for helpful articles and solutions!
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Re: Multi Tenant Question

Post 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
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Multi Tenant Question

Post 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
Be sure to check out the Knowledgebase for helpful articles and solutions!
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Re: Multi Tenant Question

Post 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
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Multi Tenant Question

Post 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?
Be sure to check out the Knowledgebase for helpful articles and solutions!
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Re: Multi Tenant Question

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Multi Tenant Question

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out the Knowledgebase for helpful articles and solutions!
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Re: Multi Tenant Question

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Multi Tenant Question

Post 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
Former Nagios Employee
Locked