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

Function to list network namespaces #55

Open
zeffron opened this issue Aug 29, 2022 · 1 comment
Open

Function to list network namespaces #55

zeffron opened this issue Aug 29, 2022 · 1 comment

Comments

@zeffron
Copy link

zeffron commented Aug 29, 2022

It would be very helpful to have a function that's an equivalent to ip netns list. The use case is for things like Telegraf which gather metrics and monitor system status. System administrators may want to gather metrics from all namespaces, but may not know what the namespaces are going to be ahead of time.

@zeffron
Copy link
Author

zeffron commented Aug 29, 2022

Ideally, the function would list all of the network namespaces on the system, though, and not just those created with ip (or otherwise listed in /var/run/netns

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

No branches or pull requests

1 participant