Nagvis LogonEnv and LogonSession

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Nagvis LogonEnv and LogonSession

Post by paulol »

Can i have access to this topic? or can you post the solution here? Maybe here has a solution that i need.
https://support.nagios.com/forum/viewto ... 16&t=49393

I set the logonmodule="LogonEnv" in nagvis configuration.
And after that i had to set the SetEnv REMOTE_USER MyUSER in nagvis.conf apache configuration to grant access to my TV don't ask password.

But everybody now are accessing with this REMOTE_USER MyUSER... There is any alternative to Keep the logonmodule="LogonSession" and the SetEnv REMOTE_USER MyUSER just for TV?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagvis LogonEnv and LogonSession

Post by scottwilkerson »

That topic was just about the user getting an error because they had a depricated showgeomap setting in their config..
paulol wrote:I set the logonmodule="LogonEnv" in nagvis configuration.
And after that i had to set the SetEnv REMOTE_USER MyUSER in nagvis.conf apache configuration to grant access to my TV don't ask password.
If you set this as you said, every user is going to be loggedin as you.
paulol wrote:here is any alternative to Keep the logonmodule="LogonSession" and the SetEnv REMOTE_USER MyUSER just for TV?
You could just add your user:password to the URL the TV is trying to access, that's one way to accomplish what you are looking for.

Code: Select all

http://USERNAME:PASSWORD@HOSTNAME/....
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked