-
Notifications
You must be signed in to change notification settings - Fork 65
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
how to use ipv6 address in mtr and tcp exporters #60
Comments
how can I add tcp targets with ipv6 addresses in network exporter yaml file? @syepes |
By default it supports IPv6 unless it was disabled with the flag, if you specify a DNS record what has an IPv6 it should work by(https://pkg.go.dev/net#Resolver.LookupIPAddr) network_exporter/pkg/common/func.go Line 51 in 676ac07
|
Or you can also change the separater from : to space or something and then
it works even for ipv6 tcp probes...I tried that
From: "Sebastian ***@***.***>
Date: Mon, Nov 11, 2024, 2:47 AM
Subject: [External] Re: [syepes/network_exporter] how to use ipv6 address
in mtr and tcp exporters (Issue #60)
To: ***@***.***>
Cc: ***@***.***>, "Author"<
***@***.***>
By default it supports IPv6 unless it was disabled with the flag, if you
specify a DNS record what has an IPv6 it should work by(
https://pkg.go.dev/net#Resolver.LookupIPAddr)
https://github.com/syepes/network_exporter/blob/676ac07a57764047f38eb904b7ba00e81483f4eb/pkg/common/func.go#L51
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLG7T7IKICUK4MFKRGNJWI32ACDJXAVCNFSM6AAAAABOBQFZEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXHA2TKOJUHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
We have been using the network exporter and it works great...but we are moving to ipv6 addresses now and I tried the ipv6 addresses but those arent working in network_exporter.yml file. am I missing something? could you please give me an example of how can I use ipv6 addresses?
The text was updated successfully, but these errors were encountered: