nshttpd/mikrotik-exporter

Collector ERROR when ipv6 is not enabled

offlinejke opened this issue · 3 comments

Fixes in topic #25 no longer help.
How to fix the problem?

This is a Duplicate of #26, it's also worth noting that #25 does not contain any fixes

Oh, okay, sorry. But are there any possible variants to fix this error instead of ipv6 enabling?

Also i'm commented out:

// WithDHCPv6 enables DHCPv6 serrver metrics
func WithDHCPv6() Option {
return func(c *collector) {
c.collectors = append(c.collectors, newDHCPv6Collector())
}
}

// WithPools enables IP(v6) pool metrics
func WithPools() Option {
return func(c *collector) {
c.collectors = append(c.collectors, newPoolCollector())
}
}

but have the same issue.