From 66c5477d3274ae4e3c0b95f7573a41717bd0fd6a Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Tue, 7 Mar 2017 22:46:40 +0100 Subject: [PATCH 1/2] Clarify commandline arguments --- README.md | 4 ++-- main.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be3cb5c..16402dd 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Usage: $GOPATH/bin/fritzbox_exporter -h Usage of ./fritzbox_exporter: -gateway-address string - The URL of the upnp service (default "fritz.box") + The hostname or IP of the FRITZ!Box (default "fritz.box") -gateway-port int - The URL of the upnp service (default 49000) + The port of the FRITZ!Box UPnP service (default 49000) -listen-address string The address to listen on for HTTP requests. (default ":9133") -test diff --git a/main.go b/main.go index 08d1304..296b66b 100644 --- a/main.go +++ b/main.go @@ -32,8 +32,8 @@ var ( flag_test = flag.Bool("test", false, "print all available metrics to stdout") flag_addr = flag.String("listen-address", ":9133", "The address to listen on for HTTP requests.") - flag_gateway_address = flag.String("gateway-address", "fritz.box", "The URL of the upnp service") - flag_gateway_port = flag.Int("gateway-port", 49000, "The URL of the upnp service") + flag_gateway_address = flag.String("gateway-address", "fritz.box", "The hostname or IP of the FRITZ!Box") + flag_gateway_port = flag.Int("gateway-port", 49000, "The port of the FRITZ!Box UPnP service") ) var ( From b7645520dca8aa88e77e7ccdbfdf7adda4fede09 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Tue, 7 Mar 2017 22:47:22 +0100 Subject: [PATCH 2/2] Add hint that it is also tested on 7390 now --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16402dd..14cb820 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This exporter exports some variables from an [AVM Fritzbox](http://avm.de/produkte/fritzbox/) to prometheus. -This exporter is tested with a Fritzbox 7490 and software version 06.51. +This exporter is tested with a Fritzbox 7490 and 7390 with software version 06.51. ## Building