nshttpd / mikrotik-exporter

prometheus mikrotik device(s) exporter
BSD 3-Clause "New" or "Revised" License
550 stars 153 forks source link

Collector ERROR when ipv6 is not enabled #91

Open offlinejke opened 4 years ago

offlinejke commented 4 years ago

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

welbymcroberts commented 4 years ago

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

offlinejke commented 4 years ago

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

offlinejke commented 4 years ago

Also i'm commented out: https://github.com/nshttpd/mikrotik-exporter/blob/5cccba9e17b5fd34351a6bba60de5c7029497df3/collector/collector.go#L81-L86

https://github.com/nshttpd/mikrotik-exporter/blob/5cccba9e17b5fd34351a6bba60de5c7029497df3/collector/collector.go#L95-L100

but have the same issue.