-
-
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
Issue with ports plugin (for URL request) #3008
Comments
Hi @G4Zz0L1 Thanks for the issue report. I will have a look on it asap. |
I can confirm I'm seeing the same behavior in 4.2.1:
Relevant config: [ports]
disable=False
refresh=30
timeout=3
port_default_gateway=True
#
port_1_host=172.20.10.5
port_1_port=53
port_1_description=PiHole
port_1_timeout=1
port_2_host=google.com
port_2_description=Google
#
web_1_url=https://network-notes.com
web_1_description=Network Notes
web_1_rtt_warning=3000 If I comment out the |
Patch done on the develop branch. @G4Zz0L1 can you test it ? If ok, will be release in next Glances version. |
@nicolargo just pulled |
Hello, I've been experiencing issues with the
ports
plugin for some time now.Specifically, I have had a web ping set up for ages to check if one of my hosts is up or not, but in recent versions, I noticed it no longer appears in the list. It used to work with the following configuration:
In the docs, I see that the key should be
web_1_url
, but in that case, I get the following error:The default gateway does not seem to have any issues; it appears in the list and works correctly. Other
port_x_host
entries, if added, also appear and work as expected. However, for theweb
part, I can't find an accepted configuration, and even when checking the debug logs, they don't seem to appear during the scan phase:There seems to be a regression in this file: https://github.com/nicolargo/glances/blob/develop/glances/plugins/ports/__init__.py, possibly related to the commit f8fe7e2, but I haven't been able to debug it properly.
What can I do to help with debugging?
Thanks in advance.
The text was updated successfully, but these errors were encountered: