From a2d473bfd3ced4f79f1be75278cf21f108e087c8 Mon Sep 17 00:00:00 2001 From: O Seibert Syseleven <36202147+oseiberts11@users.noreply.github.com> Date: Thu, 30 Sep 2021 15:37:20 +0200 Subject: [PATCH] Fix some examples (#12) * Fix some examples * Fix shell syntax `&` is a character with special meaning in the shell. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: