Azure / WALinuxAgent

Microsoft Azure Linux Guest Agent
http://azure.microsoft.com/
Apache License 2.0
542 stars 372 forks source link

WARNING Daemon Daemon No route exists to 168.63.129.16 #2834

Open cacheguard opened 1 year ago

cacheguard commented 1 year ago

Hi,

Why this warning while the default route created by the DHCP client could be enough? I think that there is a possibility to improve your checks.

Suggestion: why not using the Linux command ip route get 168.63.129.16 ? And parse it's output? (with the help of the shellutil.run_command() method?). Routing tables on a Linux machine could be complex (even more complex if the machine supports BGP, OSPF or other routing protocols).

All the Best, A CacheGuard Developer

PS: we developed a subclass of the DefaultOSUtil for our OS. How can we submit our works?

narrieta commented 1 year ago

@cacheguard can you provide a snippet of the warning and the lines surrounding it (before and after)?

feel free to open a PR against the develop branch for the osutils stuff