sberk42
5 years ago
committed by
GitHub
4 changed files with 877 additions and 846 deletions
@ -0,0 +1,22 @@ |
|||||
|
FROM golang:1.14.5 AS build-env |
||||
|
|
||||
|
LABEL maintainer="Max Schmitt <max@schmitt.mx>" |
||||
|
LABEL maintainer="Andreas Schmid <service@aaschid.de>" |
||||
|
LABEL description="FRITZ!Box Prometheus exporter" |
||||
|
|
||||
|
RUN go get -v github.com/aaschmid/fritzbox_exporter && \ |
||||
|
cd /go/src/github.com/aaschmid/fritzbox_exporter && \ |
||||
|
CGO_ENABLED=0 go build -v -o /exporter |
||||
|
|
||||
|
|
||||
|
FROM alpine |
||||
|
|
||||
|
RUN apk update && apk add ca-certificates |
||||
|
|
||||
|
COPY --from=build-env /go/src/github.com/aaschmid/fritzbox_exporter/metrics.json /metrics.json |
||||
|
COPY --from=build-env /exporter / |
||||
|
|
||||
|
EXPOSE 9133 |
||||
|
|
||||
|
ENTRYPOINT ["/exporter"] |
||||
|
CMD ["-listen-address", ":9133", "-metrics-file", "/metrics.json"] |
File diff suppressed because it is too large
@ -1,8 +1,6 @@ |
|||||
# Grafana dashboard working with this exporter |
# Grafana dashboard working with this exporter |
||||
|
|
||||
This dashboard is based on the following dashboard: |
This dashboard is based on the following dashboard: |
||||
https://grafana.com/grafana/dashboards/713 |
https://grafana.com/grafana/dashboards/12579 |
||||
|
|
||||
Instead of influx it uses prometheus and has been modified and enhanced. |
Adjusted to my personal max down- and upstream and upgraded to the newest grafana version. |
||||
|
|
||||
The dashboard is now also published to [Grafana](https://grafana.com/grafana/dashboards/12579) |
|
||||
|
Loading…
Reference in new issue