Add health collector (#70)

* Add health collector for voltage & temperature
* Run gofmt
* Add help text to health collector
This commit is contained in:
Ben Reedy
2020-02-10 18:55:10 +00:00
committed by GitHub
parent 8578c271bb
commit 3b33400d24
6 changed files with 116 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
package collector
import (
"strings"
"github.com/prometheus/client_golang/prometheus"
log "github.com/sirupsen/logrus"
"gopkg.in/routeros.v2/proto"
"strings"
)
type dhcpLeaseCollector struct {