Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Fix kickstart syntax #12228

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions claim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Connect a _running Netdata Agent container_, where you don't want to recreate th
`netdata` with the name of your running container:

```bash
docker exec -it netdata netdata-claim.sh -token=TOKEN -rooms=ROOM1,ROOM2 -url=https://app.netdata.cloud
docker exec -it netdata netdata-claim.sh -token TOKEN -rooms ROOM1,ROOM2 -url https://app.netdata.cloud
```
The values for `ROOM1,ROOM2` can be found by by going to Netdata Cloud, clicking the **Nodes** tab, clicking **Connect Nodes**, selecting **Docker**, and copying the `rooms=` value in the command provided.

Expand Down Expand Up @@ -498,7 +498,7 @@ the claiming script parameters (not yet supported on the kickstart script). Make
**Claiming script**

```bash
sudo netdata-claim.sh -token=TOKEN -rooms=ROOM1,ROOM2 -url=https://app.netdata.cloud -id=$(uuidgen)
sudo netdata-claim.sh -token TOKEN -rooms ROOM1,ROOM2 -url https://app.netdata.cloud -id $(uuidgen)
```

The agent _must be restarted_ after this change.
Expand Down Expand Up @@ -549,24 +549,24 @@ A Space's administrator can also connect an Agent by directly calling the `netda
using `sudo`, or as the user running the Agent (typically `netdata`), and passing the following arguments:

```sh
-token=TOKEN
-token TOKEN
where TOKEN is the Space's claiming token.
-rooms=ROOM1,ROOM2,...
-rooms ROOM1,ROOM2,...
where ROOMX is the War Room this node should be added to. This list is optional.
-url=URL_BASE
-url URL_BASE
where URL_BASE is the Netdata Cloud endpoint base URL. By default, this is https://app.netdata.cloud.
-id=AGENT_ID
-id AGENT_ID
where AGENT_ID is the unique identifier of the Agent. This is the Agent's MACHINE_GUID by default.
-hostname=HOSTNAME
-hostname HOSTNAME
where HOSTNAME is the result of the hostname command by default.
-proxy=PROXY_URL
-proxy PROXY_URL
where PROXY_URL is the endpoint of a HTTP or HTTPS proxy.
```

For example, the following command connects an Agent and adds it to rooms `room1` and `room2`:

```sh
netdata-claim.sh -token=MYTOKEN1234567 -rooms=room1,room2
netdata-claim.sh -token MYTOKEN1234567 -rooms room1,room2
```

You should then update the `netdata` service about the result with `netdatacli`:
Expand Down