# Add NODE Script

**URL:** https://community.netdata.cloud/t/add-node-script/88
**Category:** Help
**Tags:** cloud
**Created:** [September 25, 2020, 6:42am UTC](https://community.netdata.cloud/t/add-node-script/88 "2020-09-25T06:42:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![KingDataZX](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@KingDataZX](https://community.netdata.cloud/u/KingDataZX)
#### Post date: [September 25, 2020, 6:42am UTC](https://community.netdata.cloud/t/add-node-script/88/1 "2020-09-25T06:42:13Z")

</div>

unRAID. Installed NetData. I have many servers at different locations running netdata. I would like to add to netdata cloud. I figure out how to get script with in netdata.

Where does one put this script?

I see no place to add within the netdata web interface.  
I get “Docker : not found” when trying " Console " on the Docker in unRAID.  
Is there a “config” file somewhere that it needs added to?

So where does one put this script? The instructions seem vague

"Run the script below on any node you want to claim. For Docker containers and other methods. " Where do I “run” this at?

Thanks

---

<div class="post-metadata">

### Author: ![Manos\_Saratsis](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/manos_saratsis/32/158_2.png) [@Manos\_Saratsis](https://community.netdata.cloud/u/Manos_Saratsis)
#### Post date: [September 29, 2020, 8:10am UTC](https://community.netdata.cloud/t/add-node-script/88/2 "2020-09-29T08:10:38Z")

</div>

@KingDataZX thx for using Cloud. You can use docker exec to run the claiming script on containers already running, or append the claiming script to docker run to create a new container and immediately claim it.

> **[Connect Agent to Cloud | Learn Netdata](https://learn.netdata.cloud/docs/agent/claim/#claim-an-agent-running-in-docker)**
>
> Connecting a Netdata Agent, running on a distributed node, to Netdata Cloud securely via the encrypted Agent-Cloud link (ACLK).

Please let us know if these instructions are sufficient to you.

---

<div class="post-metadata">

### Author: ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)
#### Post date: [September 28, 2020, 7:04am UTC](https://community.netdata.cloud/t/add-node-script/88/3 "2020-09-28T07:04:44Z")

</div>

What we need in essence is to get a terminal inside the container and run the claiming command. This can be done, either by SSHing into the container or executing the `sh` program in the container, which in turn provides a terminal to run commands.

If you can’t execute a program inside the container using docker exec, you need to gain shell access inside the container some other way. According to this [forum post](https://forums.unraid.net/topic/38128-connecting-to-a-container-to-make-changes/?tab=comments#comment-368701), the docker command should be available in UNRAID.

---

<div class="post-metadata">

### Author: ![KingDataZX](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@KingDataZX](https://community.netdata.cloud/u/KingDataZX)
#### Post date: [September 25, 2020, 4:24pm UTC](https://community.netdata.cloud/t/add-node-script/88/4 "2020-09-25T16:24:08Z")

</div>

netdata was installed via the APPS, as a Docker container.

---

<div class="post-metadata">

### Author: ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)
#### Post date: [September 25, 2020, 7:24am UTC](https://community.netdata.cloud/t/add-node-script/88/5 "2020-09-25T07:24:15Z")

</div>

Hi,

The script is already installed with the netdata installation, so we need just to run it. How did you install netdata in unraid?

---

<div class="post-metadata">

### Author: ![Tristyn\_Russelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tristyn_russelo/32/1523_2.png) [@Tristyn\_Russelo](https://community.netdata.cloud/u/Tristyn_Russelo)
#### Post date: [February 7, 2022, 5:50pm UTC](https://community.netdata.cloud/t/add-node-script/88/6 "2022-02-07T17:50:19Z")

</div>

so im in the same boat as those above.

I run an Unraid server, it runs docker. Most docker containers including Netdata are installed on Unraid machines through an APP STORE. you click install.

Many unraid users, it is their first foray into the world of linux. myself included.

I just figured it out. partly

Delete Netdata Docker installed from store.  
Open UNRAID terminal  
paste “docker run…” code from netdata cloud page into terminal.  
done.

However now unraid does not recognize this docker as updatable… if i force update, cloud looses connection. back to square one.

---

<div class="post-metadata">

### Author: ![Tristyn\_Russelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tristyn_russelo/32/1523_2.png) [@Tristyn\_Russelo](https://community.netdata.cloud/u/Tristyn_Russelo)
#### Post date: [February 7, 2022, 6:05pm UTC](https://community.netdata.cloud/t/add-node-script/88/7 "2022-02-07T18:05:45Z")

</div>

just figured it out for REAL

install Netdata from Unraid store  
during the install or after install, edit docker config.

Add 3 variables with the values form netdata cloud add node page as shown below

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/1/19f6609128a7f8270bff75dcd061b26ea01c0dd9.png)

---

<div class="post-metadata">

### Author: ![Chris\_Arvanis](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/chris_arvanis/32/2194_2.png) [@Chris\_Arvanis](https://community.netdata.cloud/u/Chris_Arvanis)
#### Post date: [September 20, 2022, 1:21pm UTC](https://community.netdata.cloud/t/add-node-script/88/8 "2022-09-20T13:21:20Z")

</div>

This was the first thing I thought to try and it still isn’t working for me whether I install it with these variables or add them later.

I’ve also tried adding the NETDATA\_CLAIM\_PROXY and using my reverse proxy URL with no luck.

I’m using the glibc containter though, not sure if that has anything to do with it
