Skip to content

Commit

Permalink
Fix some examples (#12)
Browse files Browse the repository at this point in the history
* Fix some examples

* Fix shell syntax

`&` is a character with special meaning in the shell.
  • Loading branch information
oseiberts11 authored Sep 30, 2021
1 parent b5e57db commit a2d473b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ modules:
command_expect: "load average"
timeout: 5
password:
id: prometheus
user: prometheus
password: secret
verify:
user: prometheus
Expand All @@ -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:
Expand Down

0 comments on commit a2d473b

Please sign in to comment.