collect firmware version (#82)

collect packages/firmware versions and export them as labels for gauge under :

mikrotik_system_package

* updated versions of dependent libs
* fetch firmware version as gauge
* fixed the things that needed to be fixed
This commit is contained in:
Steve Brunton
2020-04-07 23:06:38 -04:00
committed by GitHub
parent 3b33400d24
commit 72ec3c2ce0
6 changed files with 123 additions and 30 deletions

6
go.mod
View File

@@ -3,10 +3,12 @@ module mikrotik-exporter
go 1.13
require (
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/miekg/dns v1.1.22
github.com/prometheus/client_golang v1.2.1
github.com/prometheus/common v0.7.0
github.com/prometheus/client_golang v1.4.1
github.com/prometheus/common v0.9.1
github.com/sirupsen/logrus v1.4.2
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 // indirect
gopkg.in/routeros.v2 v2.0.0-20190905230420-1bbf141cdd91
gopkg.in/yaml.v2 v2.2.5
)