Hello,
I have a need to provide a dashboard to my consumers by rewriting the url directly to nagvis. so something like dashboard.domain.com/prod rewrites to the dashboard in question. The issue is whenever the users try to drill down into a host/service/hostgroup/servicegroup etc they get session timed out because the server is is redirecting to https://dashboard.domain.com/nagiosxi/i ... -hostgroup and never passes any authentication to nagiosxi to all users access. is there a way to pass a query string parameter for no auth or a readonly account to nagiosxi to by pass this?
url redirection and authentication
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: url redirection and authentication
Yes, if you create a read-only account
Then go to
Admin -> Manage Components -> Backend API URL -> Edit
select your read only user
You will get a list of URLs, at the end of each you will see someting like the following
Append that to your URL and it will auto login as that user
Then go to
Admin -> Manage Components -> Backend API URL -> Edit
select your read only user
You will get a list of URLs, at the end of each you will see someting like the following
Code: Select all
&username=readonly&ticket=s4k3chun3gdguafhl4f3b79a68l2jcqddcfoscfvrsdn4q6otjo9p0gv630mfq4r