-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Enhancements for "glances --browser" #951
Comments
Happy to learn that users use this feature ! :) Some questions/remarks regarding your enhancement request:
Note: also reproduce: configure two statics server in the glances.conf file. Start Glances with the --browser mode. The stats are not refreshed until i click on 'enter'. Note: There is a technical reason (see https://github.com/nicolargo/glances/blob/develop/glances/client_browser.py#L103-L105)
So for those firsts two points, you describe exactly how Glances is supposed to work... What version of Glances do you use ? For the last point, it's a very good idea. I will implement it in a future release. |
I'm using Glances 2.7.1, currently my servers keep in this state all the time until I try to access each of them: 5 Glances servers available
I masked the IPs for security. All theses servers are configured in glances.conf, because zeroconf is not an option for me. |
Note: There is a technical reason. Do not retreive stats for statics server |
So the problem is that as the Glances browser is mono-threaded, if I have for example 10 off-line servers, it will wait all the 10 servers to timeout (the sum of them) before refresh, is it? This is not a case to open a new thread for each server instead and them populate a list that will be read by the browser (main process) in each refresh process? |
Sorry for the delay. I tested the browser from develop branch for a week (while i'm keeping it opened during about 10 hours) and with 10 remote servers without any problems. The refresh stays fast and working fine. |
Description:
I was testing "glances --browser" and I found it a great feature to help to fast monitor a couple of servers. But theres some things that could be enhanced, I will list my suggestions bellow:
The text was updated successfully, but these errors were encountered: