Merge pull request #4 from bachp/doc-improve

Doc improve
This commit is contained in:
ndecker
2017-03-07 23:54:39 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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
@@ -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
+2 -2
View File
@@ -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 (