rorton Posted April 11, 2020 Share Posted April 11, 2020 I have LIBRENMS monitoring my Unraid using SNMP. I was looking at the discovered ports, and I have a number of interfaces listed as vethxxxxxxx (7 characters) Assume these are for the docker containers, but wondered if there is a way to see which veth is assigned to which docker container, so I can lable these up in the SNMP software I show 7 veth interfaces, but have 11 docker containers - 8 set to bridge and one of these is stopped at the moment, so im assuming its these bridged containers? Just need to know which veth belongs to which docker container. Thanks Quote Link to comment
Squid Posted April 11, 2020 Share Posted April 11, 2020 The names are dynamic and change from start to start of the containers Quote Link to comment
rorton Posted April 11, 2020 Author Share Posted April 11, 2020 Ahh ok thanks. I did wonder if that happened. No point me doing what I’m doing then :) Quote Link to comment
Squid Posted April 11, 2020 Share Posted April 11, 2020 cAdvisor does resolve them to the containers. I guess you would have to investigate the docker command reference to figure that one out. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.