Opened 17 months ago
Closed 15 months ago
#1172 closed defect (invalid)
double colon in IPv6 address does not work with ip_ plugin
| Reported by: | kenyon | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | Munin 1.4.7 |
| Component: | plugins | Version: | 1.4.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Copied from http://munin-monitoring.org/ticket/853#comment:2 by andrieslouw:
When you replace all instances of :: in your IP by :0: (or as many as needed) the plugin works well!
Example: ip_2a00:dd0:0:13:b:a::1 -> Doesn't work ip_2a00:dd0:0:13:b:a:0:1 -> Does work
And: ip_2a00:dd0:0:13:b::1 -> Doesn't work ip_2a00:dd0:0:13:b:0:0:1 -> Does work
I don't know if this problem originates from ip6tables, or the plugin in Munin, but replacing instances of :: by :0: solved all problems for me!
(Example: http://monitor.weserv.nl/prodes.nl/libertus.prodes.nl/ip_2a00_dd0_0_13_b_a_0_1.html )
Change History (1)
comment:1 Changed 15 months ago by kenyon
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

This isn't a bug. The example given does not work because the user was incorrectly formatting the IPv6 address. Per the canonical format (RFC 5952), the example address should be 2a00:dd0:0:13:b:a:0:1 because one 16-bit 0 field should not be compressed to colons. https://tools.ietf.org/html/rfc5952#section-4.2.2