Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glances central webui redirect #3103

Open
zlokomatic opened this issue Feb 13, 2025 · 3 comments
Open

Glances central webui redirect #3103

zlokomatic opened this issue Feb 13, 2025 · 3 comments

Comments

@zlokomatic
Copy link

Is your feature request related to a problem? Please describe.
I want to use the glances server feature in the browser and have a list of all the monitored servers.
In the serverlist section i add the hosts as server_1_name=host1.example.com.
On the central server host1.example.com resolves to a private ip ( 192.168.1.x ).
So when using the browser and clicking on a server in the serverlist im getting a redirect to http://192.168.1.x:61208 which does not resolve on my pc.

Describe the solution you'd like
I need an option to use the hostname as redirect target instead of the ip

Describe alternatives you've considered
If i input host1.example.com as server_name then this could be used as target instead of the ip

@roozbehk
Copy link

I also have issues with redirection where all my glances servers are on a different subnet and not directly accessible via web . glances console browser works fine, but web is not working

@nicolargo
Copy link
Owner

@zlokomatic Thanks for the issue report.

I understand your need but why does the http://192.168.1.x:61208/ is not solved on your PC ?

@nicolargo nicolargo added this to the Glances 4.3.1 milestone Feb 16, 2025
@zlokomatic
Copy link
Author

Its the internal ip of the servers that is not reachable from my pc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants