diff --git a/README.md b/README.md index 7f330cb..6ca2655 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ modules: command_expect: "load average" timeout: 5 password: - id: prometheus + user: prometheus password: secret verify: user: prometheus @@ -53,8 +53,8 @@ modules: Example with curl would query host1 with the password module and host2 with the default module. ``` -curl http://localhost:9310/ssh?target=host1.example.com&module=password -curl http://localhost:9310/ssh?target=host2.example.com +curl "http://localhost:9312/ssh?target=host1.example.com:22&module=password" +curl http://localhost:9312/ssh?target=host2.example.com:22 ``` Configuration options for each module: