From 1e9baef5b207db658d41a69ebc0d0ce3ecc8e6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Grundk=C3=B6tter?= Date: Mon, 11 Mar 2019 09:25:24 +0100 Subject: [PATCH] docs: added docker command #6 (#7) * [DOC] added docker command #6 * [DOC] added metrics endpoint link --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dfbc8c..797d804 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,14 @@ Usage $GOPATH/src/github.com/mxschmitt/fritzbox_exporter/cmd/exporter/exporter: print all available metrics to stdout ``` +### With Docker + +```shell +docker run -d --name fritzbox-exporter -p "9133:9133" mxschmitt/fritzbox_exporter +``` + +Then call the metrics endpoint on http://localhost:9133/metrics + ## Exported metrics These metrics are exported: @@ -181,4 +189,4 @@ These values are determined by parsing all services from http://fritz.box:49000/ WANConnectionDevice - FRITZ!Box 7490: urn:schemas-upnp-org:service:WANIPv6FirewallControl:1 GetFirewallStatus FirewallEnabled: true - InboundPinholeAllowed: false \ No newline at end of file + InboundPinholeAllowed: false