* Added support to auto discovery witih SRV The yaml configuration has been modified to suport srv parameters. Now the name is taken form the router identity to allow dynamic discovery of devices based on SRV registry. * Corrected format * feat(collector): Added support to use custom DNS * feat(collector): get default dns server from resolv.conf * Remove getIdentity on the static config devices
13 lines
275 B
Modula-2
13 lines
275 B
Modula-2
module mikrotik-exporter
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/miekg/dns v1.1.22
|
|
github.com/prometheus/client_golang v1.2.1
|
|
github.com/prometheus/common v0.7.0
|
|
github.com/sirupsen/logrus v1.4.2
|
|
gopkg.in/routeros.v2 v2.0.0-20190905230420-1bbf141cdd91
|
|
gopkg.in/yaml.v2 v2.2.5
|
|
)
|