spagno / iscdhcpd_exporter Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello!
The dashboard on https://grafana.com/grafana/dashboards/7678 still has the "_total" metric names in use
Thank you for not abandoning it :-)
I have built dhcpd-pools with the config and lease paths that iscdhcpd_exporter expects
When running dhcpd-pools manually I get:
Ranges:
shared net name first ip last ip max cur percent touch t+c t+c perc
All networks 192.168.1.75 - 192.168.1.254 180 12 6.667 13 25 13.889
All networks 192.168.1.2.75 - 192.168.1.2.254 180 0 0.000 0 0 0.000
However, all of iscdhcpd metrics show 0 except of the process.
iscdhcpd_process_up 1
HELP iscdhcpd_summary_defined Overall IPs Defined
TYPE iscdhcpd_summary_defined gauge
iscdhcpd_summary_defined 0
HELP iscdhcpd_summary_free Overall IPs Free
TYPE iscdhcpd_summary_free gauge
iscdhcpd_summary_free 0
HELP iscdhcpd_summary_touched Overall IPs Touched
TYPE iscdhcpd_summary_touched gauge
iscdhcpd_summary_touched 0
HELP iscdhcpd_summary_used Overall IPs Used
TYPE iscdhcpd_summary_used gauge
When running iscdhcpd_exporter with log.level=debug I get this error:
ERRO[0007] Error: exit status 1 source="iscdhcpd_exporter.go:174"
ERRO[0007] Error: unexpected end of JSON input source="iscdhcpd_exporter.go:181"
Hello,
Tried to build it as readme said, but got
make>> vetting code
go vet ./...
>> checking code style
! gofmt -d $(find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'
GOOS= GOARCH= go get -u honnef.co/go/tools/cmd/staticcheck
>> running staticcheck
/home/henrylf/go-projects/bin/staticcheck -ignore "github.com/prometheus/iscdhcpd_exporter/iscdhcpd_exporter.go:SA1019" ./...
iscdhcpd_exporter.go:283:2: redundant return statement (S1023)
make: *** [Makefile.common:74: staticcheck] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.